Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
yeah,

I upload a php sample code from Google. I have included all the libraries but its gives the error after I loaded every thing onto my server.

Fatal error: require_once() [function.require]: Failed opening required 'Zend/Loader.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') line 25....


I have no clue of what this error comes from, this is line 25:

require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata_HttpClient');
Zend_Loader::loadClass('Zend_Gdata_Docs');
Zend_Loader::loadClass('Zend_Gdata_Spreadsheets');



I need help.

I am confused.

Please help.
Posted
Updated 2-Apr-11 6:54am
v3
Comments
Wendelius 2-Apr-11 12:00pm    
Pre tags added

The error is because the compiler/linker/whatever cannot find 'Zend/Loader.php'. It tells you it has looked in both '.:/usr/lib/php and :/usr/local/lib/php' and that file wasn't there.

Therefore you need to amend your include_path to include the folder that holds 'Zend/Loader.php'.
 
Share this answer
 
The file "Zend/Loader.php" is part of the Zend Framework[^]. Was the framework included in "all the libraries" you installed?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900