用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1071|回复: 2
收起左侧

[数据库] 设置数据库全局加载后出错是什么原因呢?

[复制链接]
发表于 2017-4-23 14:57:12 | 显示全部楼层 |阅读模式

修改autoload.php里面的$autoload['libraries'] = array('database');后就报错了
所有页面都报错
如下:
Warning: include(H:\WWW\WWW\ci\application\views\errors\html\error_php.php): failed to open stream: No such file or directory in H:\WWW\WWW\ci\system\core\Exceptions.php on line 268

Warning: include(): Failed opening 'H:\WWW\WWW\ci\application\views\errors\html\error_php.php' for inclusion (include_path='.;C:\php\pear') in H:\WWW\WWW\ci\system\core\Exceptions.php on line268

Warning: include(H:\WWW\WWW\ci\application\views\errors\html\error_php.php): failed to open stream: No such file or directory in H:\WWW\WWW\ci\system\core\Exceptions.php on line 268

Warning: include(): Failed opening 'H:\WWW\WWW\ci\application\views\errors\html\error_php.php' for inclusion (include_path='.;C:\php\pear') in H:\WWW\WWW\ci\system\core\Exceptions.php on line268

求解!
发表于 2017-4-23 15:54:57 | 显示全部楼层
$this->load->database();

本版积分规则