我正在通过this文章在zend框架中开发hello world应用程序
我遇到这个问题了
Warning: require_once(Zend/Loader/Autoloader.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\helloworld\index.php on line 11
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader/Autoloader.php' (include_path='C:\wamp\www\helloworld/library;.;C:\php5\pear') in C:\wamp\www\helloworld\index.php on line 11这个autoloader.php在哪里?我已经包含了库文件夹。
如果我注释了autoloader类的代码行,然后运行,我就会得到这个错误。
.;C:\php5\pear // this is my set_include_path();
Fatal error: Class 'Zend_Controller_Front' not found in C:\wamp\www\helloworld\index.php on line 17请告诉我有什么问题。
谢谢
发布于 2011-01-06 14:03:40
由this完成
发布于 2011-01-02 20:39:48
您似乎没有正确地将set_include_path()设置为指向Zend库所在的基目录。仅仅从.zip文件(从Zend Framework站点下载)中解压framweork是不够的,您需要的库目录位于该文件的子目录中。
https://stackoverflow.com/questions/4578370
复制相似问题