
常见问题
{cmspro.list}{action='news'}{from='news'}{where='cid=1'}{rows='4'{order='RAND()'}{list}{/list}{list.end}
非特殊说明,本站作品均使用免费、开源程序作为内核,在界面上借鉴行业优秀网站的风格,如侵犯了您的权益,请联系在线客服,我们会及时处理!
错误出现的位置:/www/wwwroot/yidajian.net/cmspro/models/mysql.system.php299
错误原因:SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY id desc LIMIT 0,20' at line 1出现异常:
SELECT * FROM `cp_shop_config` WHERE id in() ORDER BY id desc LIMIT 0,20array(8) {
[0]=>
array(6) {
["file"]=>
string(56) "/www/wwwroot/yidajian.net/cmspro/models/mysql.system.php"
["line"]=>
int(299)
["function"]=>
string(7) "execute"
["class"]=>
string(12) "PDOStatement"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[1]=>
array(6) {
["file"]=>
string(59) "/www/wwwroot/yidajian.net/cmspro/models/template.system.php"
["line"]=>
int(1457)
["function"]=>
string(6) "select"
["class"]=>
string(5) "Mysql"
["type"]=>
string(2) "->"
["args"]=>
array(0) {
}
}
[2]=>
array(6) {
["file"]=>
string(59) "/www/wwwroot/yidajian.net/cmspro/models/template.system.php"
["line"]=>
int(748)
["function"]=>
string(7) "data_db"
["class"]=>
string(1) "T"
["type"]=>
string(2) "->"
["args"]=>
array(2) {
[0]=>
array(12) {
["action"]=>
NULL
["panel"]=>
NULL
["class"]=>
NULL
["get"]=>
NULL
["post"]=>
NULL
["url"]=>
NULL
["from"]=>
string(11) "shop_config"
["where"]=>
string(7) "id in()"
["field"]=>
NULL
["rows"]=>
NULL
["query"]=>
NULL
["order"]=>
NULL
}
[1]=>
string(250) "{cmspro.list}{from='shop_config'}{where='id in()'}{list}
{{rows.name}}
{/list}{list.end}"
}
}
[3]=>
array(6) {
["file"]=>
string(59) "/www/wwwroot/yidajian.net/cmspro/models/template.system.php"
["line"]=>
int(367)
["function"]=>
string(10) "match_list"
["class"]=>
string(1) "T"
["type"]=>
string(2) "->"
["args"]=>
array(1) {
[0]=>
string(50022) "
常见问题
{cmspro.list}{action='news'}{from='news'}{where='cid=1'}{rows='4'{order='RAND()'}{list}{/list}{list.end}
非特殊说明,本站作品均使用免费、开源程序作为内核,在界面上借鉴行业优秀网站的风格,如侵犯了您的权益,请联系在线客服,我们会及时处理!
登录即表示您同意并遵守 用户协议
常见问题
{cmspro.list}{action='news'}{from='news'}{where='cid=1'}{rows='4'{order='RAND()'}{list}{/list}{list.end}
非特殊说明,本站作品均使用免费、开源程序作为内核,在界面上借鉴行业优秀网站的风格,如侵犯了您的权益,请联系在线客服,我们会及时处理!
登录即表示您同意并遵守 用户协议