问答详情
源自:4-1 [MVC实例]入口程序介绍与系统目录的规范化

还是昨天的问题


Notice: Undefined index: controller in J:\WWW\index.php on line 6

Notice: Undefined index: method in J:\WWW\index.php on line 7

Warning: require_once(/www/libs/controller/Controller.class.php) [function.require-once]: failed to open stream: No such file or directory in J:\WWW\function.php on line 3

Fatal error: require_once() [function.require]: Failed opening required '/www/libs/controller/Controller.class.php' (include_path='.;C:\php\pear') in J:\WWW\function.php on line 3放到根目录下还是出这问题无论是把改成/libs/controller/Controller.class.php都是不行的。。

提问者:Joye 2014-12-03 18:11

个回答

  • PengCheng
    2014-12-04 13:48:19

    /libs/controller/ 你的这个文件夹里 是不是有  Controller.class.php 这个文件,检查一下

  • PengCheng
    2014-12-04 13:47:16

    还是路径问题。  好好检查路径。 /www/libs/controller/Controller.class.php 你按你的路径 检查一遍 文件是否存在。还有文件名大小写