未找到致命错误 Varien_Autoload [英] fatal error Varien_Autoload not found
问题描述
大家好,
我用示例数据安装了 magento,我刷新了页面,一切似乎都正常了.我的整个商店都充满了样本数据.我再次刷新几分钟后,从那以后我不断收到此错误:
I installed magento with the sample data I refreshed the page and everything seemed to work. My complete shop was filled with sample data. A couple of minutes after I refreshed again and since then I keep getting this error:
PHP 致命错误:在第 53 行的/var/www/vhosts/shop.cyberned.com/httpdocs/app/Mage.php 中找不到Varien_Autoload"类
PHP Fatal error: Class 'Varien_Autoload' not found in /var/www/vhosts/shop.cyberned.com/httpdocs/app/Mage.php on line 53
我仔细检查了 Varien_Autoload 是否存在并且它在 lib/Varien/Autoload.php 中
I double checked if Varien_Autoload exists and it is there in lib/Varien/Autoload.php
由于某种原因,该文件似乎未包含在内,但我不知道如何解决该问题.所以我的问题是:我该如何解决这个问题?
It looks like that file is not included for some reason but I would have no idea how to get that fixed. So my question is: how do I get this fixed?
推荐答案
出现此错误是因为 lib
文件夹不在 include_path
中.仅当定义了 COMPILER_INCLUDE_PATH
常量时,才会发生这种情况.这个常量很可能是在 includes/config.php
文件中定义的.
This error occurs because of the lib
folder is not in the include_path
. This may happen only if the COMPILER_INCLUDE_PATH
constant is defined. Most likely this constant is defined in the includes/config.php
file.
这篇关于未找到致命错误 Varien_Autoload的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!