Zend Autoloader.php文件丢失了吗?

时间:2013-05-05 07:32:57

标签: wordpress wordpress-plugin zend-framework2

我正在使用Wordpress插件Zend Framework for wordpress,我正在下载实际的Zend库,将其插入插件(它不是自己提供)来自http://framework.zend.com/downloads/archives

错误:

Warning: require_once(Zend/Loader/Autoloader.php): failed to open stream: No such file or directory in C:\localhost\~\wp-content\plugins\zend-framework-wp\zend-framework.php on line 28
Fatal error: require_once(): Failed opening required 'Zend/Loader/Autoloader.php' (include_path='.;C:\php\pear;C:\localhost\~\wp-content\plugins\zend-framework-wp') in C:\localhost\~\wp-content\plugins\zend-framework-wp\zend-framework.php on line 28

zend-framework.php,第28行

function zend_framework_register_autoload()
{
    require_once 'Zend/Loader/Autoloader.php';
    $autoloader = Zend_Loader_Autoloader::getInstance();
}

没有Zend/Loader/Autoloader.php

Path: C:\localhost\~\wp-content\plugins\zend-framework-wp\Zend\Loader

有一个AutoloaderFactory.phpStandardAutoloader.php ...我尝试将它们重命名为Autoloader.php,但遇到了更多错误,

Fatal error: Class 'Zend_Loader_Autoloader' not found in C:\localhost\~\wp-content\plugins\zend-framework-wp\zend-framework.php on line 29

我想这不是可行的方法。

出了什么问题?

编辑:我cross-posted to wordpress.stack

0 个答案:

没有答案