编译后出现错误。我正在使用Magento 1.9.0.1。
我的网站运行太慢,所以我遵守了,但在编译后,我的网站(前端和后端)已经关闭并显示相同的错误。请帮助我纠正同样的问题。
错误:Fatal error: require_once(): Failed opening required '/home/ecomventures/public_html/demo/includes/src/../lib/vendor/autoload.php' (include_path='/home/ecomventures/public_html/demo/includes/src:.:/usr/lib/php:/usr/local/lib/php') in /home/ecomventures/public_html/demo/includes/src/Fontis_Australia_Model_Observer.php on line 23
导航到 Magento 文件所在的根目录中的includes/config.php
。
打开它并更改:
define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
自
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
这将允许您再次看到您的网站,而不会出现致命错误。