无法打开所需的'Zend/Loader.php [英] Failed opening required 'Zend/Loader.php
本文介绍了无法打开所需的'Zend/Loader.php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是的,
我从Google上传了一个php示例代码.我已包含所有库,但是在将所有内容加载到服务器后,它都会给出错误.
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.
致命错误:require_once()[function.require]:无法打开所需的"Zend/Loader.php"(include_path =.:/usr/lib/php:/usr/local/lib/php' ')第25行....
Fatal error: require_once() [function.require]: Failed opening required ''Zend/Loader.php'' (include_path=''.:/usr/lib/php:/usr/local/lib/php'') line 25....
我不知道此错误来自何处,这是第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.
推荐答案
错误是因为编译器/链接器/无法找到"Zend/Loader.php".它告诉您它已经在''.:/usr/lib/php和:/usr/local/lib/php''中查找了,而那个文件不在那儿了.
因此,您需要修改include_path
以包含保存"Zend/Loader.php"的文件夹.
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 yourinclude_path
to include the folder that holds ''Zend/Loader.php''.
文件"Zend/Loader.php"是 Zend Framework [ ^ ].框架是否包含在您安装的所有库"中?
The file "Zend/Loader.php" is part of the Zend Framework[^]. Was the framework included in "all the libraries" you installed?
这篇关于无法打开所需的'Zend/Loader.php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文