出现页面报错:Exception printing is disabled by default for security reasons. Error log record number: 1678058618
查找错误方法:1,
Go to magento/var/report
and open the file with the Error log record number name (986836145855 in your case). //report 文件目录不显示,用命令vi来显示查看
In that file you can find the complete description of the error.
For log files like system.log
and exception.log
, go to magento/var/log/
.
2, system.log文件显示
Warning: include(): Failed opening '/var/www/html/alunar/includes/src/AW_Blog_Model_Observer.php' for inclusion (include_path='/var/www/html/alunar/includes/src:.:/usr/share/pear:/usr/share/php') in /var/www/html/alunar/includes/src/Varien_Autoload.php on line 94
error number 文件显示
a:5:{i:0;s:59:"Mage registry key "_singleton/blog/observer" already exists";i:1;s:1240:"#0 /var/www/html/alunar/app/Mage.php(223): Mage::throwException('Mage registry k...')
#1 /var/www/html/alunar/app/Mage.php(477): Mage::register('_singleton/blog...', false)
#2 /var/www/html/alunar/includes/src/__default.php(22101): Mage::getSingleton('blog/observer')
#3 /var/www/html/alunar/app/Mage.php(448): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#4 /var/www/html/alunar/includes/src/__default.php(14381): Mage::dispatchEvent('controller_acti...', Array)
#5 /var/www/html/alunar/includes/src/Mage_Adminhtml_Controller_Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#6 /var/www/html/alunar/includes/src/__default.php(14261): Mage_Adminhtml_Controller_Action->preDispatch()
#7 /var/www/html/alunar/includes/src/__default.php(18750): Mage_Core_Controller_Varien_Action->dispatch('login')
#8 /var/www/html/alunar/includes/src/__default.php(18280): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#9 /var/www/html/alunar/includes/src/__default.php(21131): Mage_Core_Controller_Varien_Front->dispatch()
#10 /var/www/html/alunar/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#11 /var/www/html/alunar/index.php(83): Mage::run('', 'store')
#12 {main}";s:3:"url";s:16:"/index.php/admin";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}
解决方法:It seems that you were installing the module when compilation was enabled.
Now you need to switch off the module in app/etc/modules by renaming the .xml file, then clear the cache by renaming the var/cache folder. The admin panel will become active and you’ll have to disable compilation and then install the module once again. Hope it will help.
重命名了app/etc/modules下的AW_Blog.xml___
清空了缓存,问题解决,原恩是安装blog插件没有禁用编译
暂无评论