Jump to content

Recommended Posts

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?

Link to comment
https://forums.phpfreaks.com/topic/117868-problem-with-zend-framework/
Share on other sites

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.