第93行的Magento Autoload.php错误

时间:2013-11-23 17:57:41

标签: php magento

我在magento system.log中得到以下错误,文件越来越大。

2013-11-23T17:30:33+00:00 ERR (3): Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'Enterprise/Cms/Helper/Data.php' for inclusion (include_path='/home/jebra/public_html/lib/google/google-api-php-client:/home/jebra/public_html/app/code/local:/home/jebra/public_html/app/code/community:/home/jebra/public_html/app/code/core:/home/jebra/public_html/lib:.:/usr/lib/php:/usr/local/lib/php')  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:33+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93
2013-11-23T17:30:33+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:33+00:00 ERR (3): Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'Enterprise/Cms/Helper/Data.php' for inclusion (include_path='/home/jebra/public_html/lib/google/google-api-php-client:/home/jebra/public_html/app/code/local:/home/jebra/public_html/app/code/community:/home/jebra/public_html/app/code/core:/home/jebra/public_html/lib:.:/usr/lib/php:/usr/local/lib/php')  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93
2013-11-23T17:30:34+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:34+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:34+00:00 ERR (3): Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'Enterprise/Cms/Helper/Data.php' for inclusion (include_path='/home/jebra/public_html/lib/google/google-api-php-client:/home/jebra/public_html/app/code/local:/home/jebra/public_html/app/code/community:/home/jebra/public_html/app/code/core:/home/jebra/public_html/lib:.:/usr/lib/php:/usr/local/lib/php')  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:34+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93
2013-11-23T17:30:34+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:34+00:00 ERR (3): Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'Enterprise/Cms/Helper/Data.php' for inclusion (include_path='/home/jebra/public_html/lib/google/google-api-php-client:/home/jebra/public_html/app/code/local:/home/jebra/public_html/app/code/community:/home/jebra/public_html/app/code/core:/home/jebra/public_html/lib:.:/usr/lib/php:/usr/local/lib/php')  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:35+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93
2013-11-23T17:30:35+00:00 ERR (3): Warning: include(Enterprise/Cms/Helper/Data.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

2013-11-23T17:30:35+00:00 ERR (3): Warning: include() [<a href='function.include'>function.include</a>]: Failed opening 'Enterprise/Cms/Helper/Data.php' for inclusion (include_path='/home/jebra/public_html/lib/google/google-api-php-client:/home/jebra/public_html/app/code/local:/home/jebra/public_html/app/code/community:/home/jebra/public_html/app/code/core:/home/jebra/public_html/lib:.:/usr/lib/php:/usr/local/lib/php')  in /home/jebra/public_html/lib/Varien/Autoload.php on line 93

1 个答案:

答案 0 :(得分:0)

有些东西试图使用Magento Enterprise的助手,你可能只安装了Magento社区。

这可能是由于检查class_exists()的扩展,因为Magento自动加载器总是尝试包含一个文件,即使它不存在,然后失败并显示警告,导致class_exists()无用。 / p>

在您的代码库中搜索类名Enterprise_Cms_Helper_Data并删除对它的任何引用。