Framework教程里出现路径有关问题
时间:2021-07-01 10:21:17
帮助过:6人阅读
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 这个教程的
------解决方案--------------------
照着教程,一步一步来,还会出现问题?
出现这样的问题,多半是路径问题。