已解决
nginx+php安装至步骤3时空白
11:07:29 Undefined property: config::$debug in module/common/view/header.lite.html.php on line 25 when visiting /install.php?m=install&f=step2
11:07:29 Undefined property: config::$debug in module/common/view/colorbox.html.php on line 3 when visiting /install.php?m=install&f=step2
11:07:29 Undefined property: config::$debug in module/common/view/footer.lite.html.php on line 3 when visiting /install.php?m=install&f=step2
11:07:37 Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2030 This command is not supported in the prepared statement protocol yet' in module/install/model.php:375 Stack trace: #0 module/install/model.php(375): PDO->query('-- DROP TABLE I...') #1 module/install/model.php(247): installModel->createTable('5.5') #2 module/install/control.php(92): installModel->checkConfig() #3 [internal function]: install->step3() #4 framework/router.class.php(1149): call_user_func_array(Array, Array) #5 www/install.php(37): router->loadModule() #6 {main} thrown in module/install/model.php on line 375 when visiting /install.php?m=install&f=step3
11:07:29 Undefined property: config::$debug in module/common/view/colorbox.html.php on line 3 when visiting /install.php?m=install&f=step2
11:07:29 Undefined property: config::$debug in module/common/view/footer.lite.html.php on line 3 when visiting /install.php?m=install&f=step2
11:07:37 Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2030 This command is not supported in the prepared statement protocol yet' in module/install/model.php:375 Stack trace: #0 module/install/model.php(375): PDO->query('-- DROP TABLE I...') #1 module/install/model.php(247): installModel->createTable('5.5') #2 module/install/control.php(92): installModel->checkConfig() #3 [internal function]: install->step3() #4 framework/router.class.php(1149): call_user_func_array(Array, Array) #5 www/install.php(37): router->loadModule() #6 {main} thrown in module/install/model.php on line 375 when visiting /install.php?m=install&f=step3
提问者: 大声叫我丶CaLviN 悬赏:10 日期: 2014-02-11 11:10:42 答案:1 点击:2810
获取技术支持
QQ:
3645260865电话:
17667930330
备注
已解决,在module/install/model.php:375前加上,$this->dbh->setAttribute(PDO::ATTR_EMULATE_PREPARES, true);...顺利安装
答案列表
石洋洋
2014/02/11
回复
|