当前位置: 代码迷 >> PHP >> Framework 教程里出现路径有关问题
  详细解决方案

Framework 教程里出现路径有关问题

热度:362   发布时间:2012-02-24 16:30:39.0
Framework 教程里出现路径问题
Warning: include(D:\Tools\Apache\htdocs\knight\application/forms//Album.php) [function.include]: failed to open stream: No such file or directory in D:\Tools\Apache\htdocs\knight\library\Zend\Loader\Autoloader\Resource.php on line 173

Warning: include() [function.include]: Failed opening 'D:\Tools\Apache\htdocs\knight\application/forms//Album.php' for inclusion (include_path='D:\Tools\Apache\htdocs\knight\application/../library;D:\Tools\Apache\htdocs\knight\library;.;D:\tools\php\pear') in D:\Tools\Apache\htdocs\knight\library\Zend\Loader\Autoloader\Resource.php on line 173

Fatal error: Class 'Form_Album' not found in D:\Tools\Apache\htdocs\knight\application\controllers\IndexController.php on line 22


出现绝对路径里后半部分是相对路径。。。。哪里的毛病。。。。

getting-started-with-zend-framework-163.pdf 这个教程的

------解决方案--------------------
照着教程,一步一步来,还会出现问题?

出现这样的问题,多半是路径问题。
  相关解决方案