:(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '@cnlisheng.com ) LIMIT 1' at line 1

错误位置

FILE: D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\Library\Think\Db\Driver.class.php  LINE: 169

TRACE

#0 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\Library\Think\Db\Driver.class.php(935): Think\Db\Driver->query('SELECT `catid` ...', false)
#2 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\Library\Think\Model.class.php(962): Think\Db\Driver->select(Array)
#3 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_bin\Home\Controller\IndexController.class.php(312): Think\Model->getField('catid')
#4 [internal function]: Home\Controller\IndexController->product_detail()
#5 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#6 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\Library\Think\App.class.php(202): Think\App::exec()
#7 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\Library\Think\Think.class.php(120): Think\App::run()
#8 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\_lib\ThinkPHP.php(97): Think\Think::start()
#9 D:\website\testSite\woncent.com\lisheng.woncent.com\wwwroot\index.php(26): require('D:\website\test...')
#10 {main}