shopnc b2b2c初次运行提示Class Error: mysqli.isn't exists!的解决方法
来源:互联网 发布:淘宝买家数据采集 编辑:程序博客网 时间:2024/06/05 12:46
今天在自己电脑上配置好shopnc b2b2c后运行,提示错误信息:Class Error: mysqli.isn't exists!
后来经过一番辛苦找到报错的源头:\core\framework\db\mysqli.php中
private static function connect($host = 'slave'){
.....
self::$link[$host] = @new mysqli($conf['dbhost'], $conf['dbuser'], $conf['dbpwd'], $conf['dbname'], $conf['dbport']); //从这一行代码报错
.....
}
原因是:PHP配置不正确。
解决方法:修改PHP配置文件php.ini,将;extension=php_mysqli.dll前面的分号去掉,重启Apache。
再次运行,OK了!
0 0
- shopnc b2b2c初次运行提示Class Error: mysqli.isn't exists!的解决方法
- Class Error: mysqli.isn't exists!
- warning: function declaration isn’t a prototype的解决方法
- 缺少 mysqli 扩展和Fatal Error: Class 'mysqli' not found in... 解决方法
- 缺少 mysqli 扩展和Fatal Error: Class 'mysqli' not found in... 解决方法
- shopnc-b2b2c问题解决方案集锦
- shopnc b2b2c wap支付宝付款,提示,系统繁忙,请稍候再试(ali14)
- C/C++ error: storage size of ‘tv’ isn’t known错误解决方法
- qtopia 单独运行videos提示error initialising audio的解决方法
- error: function declaration isn’t a prototype
- shopnc b2b2c如何开启伪静态??
- 升级iOS7遇到问题This device isn't eligible for the requested build的解决方法
- mysql 提示表不存在的解决方法error: 1146: Table doesn't exist
- MySQL之——提示表不存在的解决方法error: 1146: Table doesn't exist
- mysql 提示表不存在的解决方法error: 1146: Table doesn't exist
- Fatal error: Class 'LearningPHP1\mysqli' not found
- xCode模拟器运行后,出现:couldn’t be completed. (LaunchServicesError error 0.)错误的解决方法
- 启动wireshark提示:The NPF driver isn’t running
- int 最大最小范围
- Linux基本命令1
- IOS--C 语言 Lesson Eight Struct
- Stanford机器学习---第十一讲.异常检测
- iOS UILabel
- shopnc b2b2c初次运行提示Class Error: mysqli.isn't exists!的解决方法
- zoj2412
- 黑马程序员---2015.6.26java基础笔记--File类--Properties--PrintStream--SequenceInputStream--RandomAccessFile
- WebView控件应用——模仿URL有道词典
- 为什么使用portlet?
- 金士顿KTD-INSP6000C/2G内存
- iOS-学习笔记-UI-第十九天
- 在Android APK中调用底层linux命令或者脚本
- JS Library Set