next Posted August 2, 2008 Share Posted August 2, 2008 Ok, so i added path to ZF in php ini, but it's not working for some reason. Here's my error message that i get Warning: require_once(Zend/Loader.php) [function.require-once]: failed to open stream: No such file or directory in G:\PortableApps\WOS\Zend\Controller\Front.php on line 23 Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_path='.;G:\PortableApps\WOS\php5\pear;G:\PortableApps\WOS\php5;G:\PortableApps\WOS\php5\curl;G:\PortableApps\WOS\Zend') in G:\PortableApps\WOS\Zend\Controller\Front.php on line 23 I checked and Loader.php and Front.php do exist in those directories. Why is this happening? Quote Link to comment https://forums.phpfreaks.com/topic/117868-problem-with-zend-framework/ Share on other sites More sharing options...
wildteen88 Posted August 2, 2008 Share Posted August 2, 2008 Because you added the Zend folder to the include path, PHP is trying to include G:\PortableApps\WOS\Zend\Zend\Loader.php Zend comes in a Library folder (which contains the Zend folder). You should add the library folder to the include_path instead, that way PHP requests the file: G:\PortableApps\WOS\Libray\Zend\Loader.php Quote Link to comment https://forums.phpfreaks.com/topic/117868-problem-with-zend-framework/#findComment-606283 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.