SQLSTATE[HY000]: General error: 1 near ")": syntax error
错误位置
FILE: D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\Db\Driver.class.php LINE: 209
TRACE
#0 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\Db\Driver.class.php(209): PDO->prepare('INSERT INTO t_f...')
#1 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\Db\Driver.class.php(824): Think\Db\Driver->execute('INSERT INTO t_f...', false)
#2 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\Model.class.php(320): Think\Db\Driver->insert(Array, Array, false)
#3 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\App\Index\Action\ApAction.class.php(261): Think\Model->add()
#4 [internal function]: Index\Action\ApAction->test()
#5 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\App.class.php(173): ReflectionMethod->invoke(ob
#6 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\App.class.php(110): Think\App::invokeAction(ob
#7 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\App.class.php(204): Think\App::exec()
#8 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\Library\Think\Think.class.php(120): Think\App::run()
#9 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\Core\ThinkPHP.php(97): Think\Think::start()
#10 D:\appserv\www\dglg\openwrt\porting\files\usr\dydtech\www\index.php(37): require('D:\\appserv\\www\\...')
#11 {main}
ThinkPHP3.2.3 { Fast & Simple OOP PHP fr
后来就直接用thinkphp3.2.2版本了,数据库配置type改为pdo.
最佳答案