Failed opening required 'Zend/Config/Exception.php' - zend-framework

I've been working on this project for about two weeks now. I don't understand why now I receive this error:
Warning: require_once(Zend/Config/Exception.php) [function.require-once]: failed to open stream: No such file or directory in /usr/local/zendsvr/share/ZendFramework/library/Zend/Config/Ini.php on line 180
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Config/Exception.php' (include_path='/www/zendsvr/htdocs/TassiWeb/application/../library:/www/zendsvr/htdocs/TassiWeb/library:.:/usr/local/zendsvr/share/ZendFramework/library:/usr/local/zendsvr/share/pear') in /usr/local/zendsvr/share/ZendFramework/library/Zend/Config/Ini.php on line 180
I'm using ZendServer CE into IBMi but others web-application works correctly!
How can solve it?

Does the requested file exist in your Zend Framework folder? The include path etc seem to be correct, so it may just be an accidentally deleted file...

Related

Build Android AOSP fail

I have successfully sync the source code of android-6.0.1_r79 from AOSP. Now, I got the following error while I was trying to build the source code. Anyone can tell me how I can fix it, and finish a successful build? Thanks much in advance.
The following line appears many times:
cts/tests/tests/keystore/src/android/keystore/cts/KeyChainTest.java:1: error: illegal character: \0
^
cts/tests/tests/keystore/src/android/keystore/cts/KeyChainTest.java:1: error: illegal character: \0
^
cts/tests/tests/keystore/src/android/keystore/cts/KeyChainTest.java:1: error: reached end of file while parsing
And then, I see this failure:
build/core/java.mk:394: recipe for target 'out/target/common/obj/APPS/CtsKeystoreTestCases_intermediates/classes-full-debug.jar' failed
make: * [out/target/common/obj/APPS/CtsKeystoreTestCases_intermediates/classes-full-debug.jar] Error 41
make: * Waiting for unfinished jobs....
Problem solved.
The file cts/tests/tests/keystore/src/android/keystore/cts/KeyChainTest.java is somehow broken. I opened it, and it shows many /00 illegal characters. So, I replaced it with another KeyChainTest.java file from another android branch. Rebuilt android, then I got build successfully.

Typo3 is Not working on Web server

Warning: require_once(D:/wamp/www/sevenstar_caters/typo3/sysext/core/Classes/Package/PackageManager.php) [function.require-once]: failed to open stream: No such file or directory in /home4/code9/public_html/sevenstarcaterers.com/typo3/sysext/core/Classes/Core/ClassLoader.php on line 184
Fatal error: require_once() [function.require]: Failed opening required 'D:/wamp/www/sevenstar_caters/typo3/sysext/core/Classes/Package/PackageManager.php' (include_path='/home4/code9/public_html/sevenstarcaterers.com/typo3/contrib/pear/:.:/opt/php53/lib/php') in /home4/code9/public_html/sevenstarcaterers.com/typo3/sysext/core/Classes/Core/ClassLoader.php on line 184
Web page Link http://www.sevenstarcaterers.com/
It seems that you have moved from a unix mashine to a windows mashine without clearing the cache. Remove all files from typo3temp and visit the install tool at http://www.sevenstarcaterers.com/typo3/install. Check out the Important actions to clear the cache and Folder structure to fix the folder permission/creation in typo3temp.

Cannot deploy new Liferay theme "The filename or extension is too long"

I'm new to Liferay and Eclipse, and I'm trying to do some simple theme development. However, once I right click my theme (which I just created) and go to Liferay->SDK->deploy I get the following error:
BUILD FAILED
C:\sdk6.2\build-common-plugin.xml:482: The following error occurred while executing this line:
C:\sdk6.2\build-common.xml:993: The following error occurred while executing this line:
C:\sdk6.2\build-common.xml:299: The following error occurred while executing this line:
C:\sdk6.2\build-common.xml:1783: The following error occurred while executing this line:
C:\sdk6.2\build-common.xml:175: java.io.IOException: Cannot run program "C:\jre7\bin\java.exe": CreateProcess error=206, The filename or extension is too long
I was using a longer path for my SDK and JRE7 but reduced it to what you see in the above error message (to no avail). Does anyone know how to fix this problem?
Reconfigure your SDK folder, try to use a label for it without any "." or special char.
For example:
C:\liferay\sdk621\
And tell us your results...it could be a windows/ant path problem...

Including Zend library issue

I'm new to Zend. I've download the latest version and followed the instructions to install it but I'm having trouble including the library.
So far I've saved the entire Zend folder to my local host file. Which is the 'sites' folder located in the user folder.
As advised I have altered the php.ini file to include the path of the library as so:
;include_path = ".:/php/includes"
;include_path = ".:/Users/myusername/Sites/ZendFramework20/library"
However when I attempt to run one of the zend demo scripts I get an error:
Warning: require_once(Zend/Registry.php) [function.require-once]: failed to open stream: No such file or directory in /Users/Sumbop/Sites/ZendFramework20/demos/Zend/Wildfire/public/index.php on line 27
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Registry.php' (include_path='.:') in /Users/Sumbop/Sites/ZendFramework20/demos/Zend/Wildfire/public/index.php on line 27
I've searched and tried many things to no avail. How do I get this working? Or find a guide?
Thanks
Your include path is wrong.
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Registry.php' (include_path='.:') in /Users/Sumbop/Sites/ZendFramework20/demos/Zend/Wildfire/public/index.php on line 27
You may use next code (somewhere in index.php - best would be first line) to set it.
set_include_path($pathWhereZendFolderIsLocated . PATH_SEPARATOR . get_include_path());

Zend GData YouTube API errors

Greetings,
Having quite a bit of difficulty with the YouTube API. I added the Zend Gdata folder to my include_path and all of the API tests run fine, but when I try to load the YouTube API Demo App, I get the following error:
Warning: include_once(Zend/Gdata/YouTube.php) [function.include-once]: failed to open stream: No such file or directory in /home/tappess1/public_html/includes/ZendGdata/library/Zend/Loader.php on line 146
Warning: include_once() [function.include]: Failed opening 'Zend/Gdata/YouTube.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tappess1/public_html/includes/ZendGdata/library/Zend/Loader.php on line 146
Warning: require_once(Zend/Exception.php) [function.require-once]: failed to open stream: No such file or directory in /home/tappess1/public_html/includes/ZendGdata/library/Zend/Loader.php on line 98
Fatal error: require_once() [function.require]: Failed opening required 'Zend/Exception.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tappess1/public_html/includes/ZendGdata/library/Zend/Loader.php on line 98
The PHP include_path seems to be set correctly, the tests run.. the issue seems to be either in operations.php in the YouTube API's demo or in Loader.php. The default directory for Loader.php was simply Zend/Loader.php, I generally use $_SERVER['DOCUMENT_ROOT'] . '/path/to/dir'; due to listing restrictions on my host.
Any idea why this will not work? It occurs when I click on the Authenticate link within the demo.
Thanks
Urgh, I had exactly the same errors. My solution was to totally scrap using the Zend GData API and use the REST interface. This way you're writing more code, but it's all under your control.