您的位置:首页 > 编程语言 > PHP开发

解决ThinkPHP中开启调试模式无法加载模块的问题。

2014-10-13 21:09 531 查看

刚开始学习ThinkPHP就遇到这种问题,还是自己粗心。

错误如下:



原因:开启调试模式,区分大小写的,要把模块名首字母大写就OK了。也就是:

http://localhost/php/fanhuar/index/index.php/index/  

<a target=_blank href="http://localhost/php/fanhuar/index/index.php/index/">http://localhost/php/fanhuar/index/index.php/index/</a>
改成:

http://localhost/php/fanhuar/index/index.php/Index/  

http://localhost/php/fanhuar/index/index.php/Index/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: