CI(codeigniter)框架,routes.php设置正确,但是显示服务器异常,是_construct少写了一个下划线

WBOY
Release: 2016-06-13 11:33:11
Original
980 people have browsed it

CI(codeigniter)框架,routes.php设置正确,但是显示服务器错误,是__construct少写了一个下划线
今天弄了一下CI框架,大概看了一下文档,感觉CI框架非常精简,但是在做的时候遇到了问题,CI文档中提供了一个新闻系统的例子,所有工作都做完了,在浏览器中打开相对应的url是,却显示“服务器错误”,一点提示信息都没有,打开firebug显示 错误连接500的错误代码,这时打开了CI框架下面的application下面的log但是也没有提供一些有用的信息,最后代开了appache的errr_log,这里显示_construct的问题,我打开对应的php文件,是parent::__construct少写了一个下划线

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!