0

我正在为 wordpress 使用 Wordpress 插件 Zend Framework ,我正在从http://framework.zend.com/downloads/archives下载实际的 Zend 库以将其插入插件(它本身不提供)

错误:

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

路径: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

我想这不是要走的路。

怎么了?

编辑:我已经交叉发布到 wordpress.stack

4

0 回答 0