错无信息: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 'LIMIT 1' at line 1 [ SQL语句 ] : SELECT `list_template` FROM ys_category WHERE id= LIMIT 1
文件:/home/sdsslhc2s7dos4svlhh3c/wwwroot/kernel/functions/common.php 第813行
错误代码:0
异常代码:
文件行数方法类型参数
/home/sdsslhc2s7dos4svlhh3c/wwwroot/kernel/lib/db/driver/mysqli.php341Earray ( 0 => '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 \'LIMIT 1\' at line 1 [ SQL语句 ] : SELECT `list_template` FROM ys_category WHERE id= LIMIT 1 ', )
/home/sdsslhc2s7dos4svlhh3c/wwwroot/kernel/lib/db/driver/mysqli.php89errorKernel\Lib\Db\Driver\Mysqli->array ( )
/home/sdsslhc2s7dos4svlhh3c/wwwroot/kernel/lib/db/driver.php679queryKernel\Lib\Db\Driver\Mysqli->array ( 0 => 'SELECT `list_template` FROM ys_category WHERE id= LIMIT 1 ', )
/home/sdsslhc2s7dos4svlhh3c/wwwroot/kernel/core/model.php235selectKernel\Lib\Db\Driver->array ( 0 => array ( 'table' => 'ys_category', 'field' => '`list_template`', 'where' => 'id=', 'limit' => 1, ), )
/home/sdsslhc2s7dos4svlhh3c/wwwroot/app/content/common/common.php103findKernel\Core\Model->array ( )
/home/sdsslhc2s7dos4svlhh3c/wwwroot/app/home/controller/article.php12categoryarray ( 0 => NULL, 1 => 'list_template', )
/home/sdsslhc2s7dos4svlhh3c/wwwroot/kernel/kernel.php158indexHome\Controller\Article->array ( )
/home/sdsslhc2s7dos4svlhh3c/wwwroot/index.php12runKernel\Kernel->array ( )