Magento 管理员给出 500 错误 - 日志中没有任何内容
Magento admin giving 500 error - nothing in logs
我的 Magento 管理员在我尝试安装扩展后停止工作。现在,当我尝试访问 /admin 时出现 500 错误。奇怪的是 error_log 中什么也没有显示。开发者模式日志:
Notice: Undefined index: httponly in
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php on
line 7349
#0
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7349):
mageCoreErrorHandler(8, 'Undefined index...', '/var/www/vhosts...',
7349, Array) #1
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7421):
Mage_Core_Model_Session_Abstract_Varien->start('adminhtml') #2
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7777):
Mage_Core_Model_Session_Abstract_Varien->init('core', 'adminhtml') #3
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(33479):
Mage_Core_Model_Session_Abstract->init('core', 'adminhtml') #4
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(23438):
Mage_Core_Model_Session->__construct(Array) #5
/var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(462):
Mage_Core_Model_Config->getModelInstance('core/session', Array) #6
/var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(476):
Mage::getModel('core/session', Array) #7
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(13658):
Mage::getSingleton('core/session', Array) #8
/var/www/vhosts/mydomain.com/httpdocs/includes/src/Mage_Adminhtml_Controller_Action.php(160):
Mage_Core_Controller_Varien_Action->preDispatch() #9
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(13572):
Mage_Adminhtml_Controller_Action->preDispatch() #10
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(17928):
Mage_Core_Controller_Varien_Action->dispatch('index') #11
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(17485):
Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12
/var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(20062):
Mage_Core_Controller_Varien_Front->dispatch() #13
/var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(683):
Mage_Core_Model_App->run(Array) #14
/var/www/vhosts/mydomain.com/httpdocs/index.php(94): Mage::run('',
'store') #15 {main}
已经尝试卸载扩展程序,但没有成功。我应该怎么做才能找到错误的原因?
请先关闭编译,使用这个:
php -f your_project_folder/shell/compiler.php clear
php -f your_project_folder/shell/compiler.php disable
然后清除缓存var/cache。您可以删除此文件夹。
我的 Magento 管理员在我尝试安装扩展后停止工作。现在,当我尝试访问 /admin 时出现 500 错误。奇怪的是 error_log 中什么也没有显示。开发者模式日志:
Notice: Undefined index: httponly in /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php on line 7349
#0 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7349): mageCoreErrorHandler(8, 'Undefined index...', '/var/www/vhosts...', 7349, Array) #1 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7421): Mage_Core_Model_Session_Abstract_Varien->start('adminhtml') #2 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(7777): Mage_Core_Model_Session_Abstract_Varien->init('core', 'adminhtml') #3 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(33479): Mage_Core_Model_Session_Abstract->init('core', 'adminhtml') #4 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(23438): Mage_Core_Model_Session->__construct(Array) #5 /var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(462): Mage_Core_Model_Config->getModelInstance('core/session', Array) #6 /var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(476): Mage::getModel('core/session', Array) #7 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(13658): Mage::getSingleton('core/session', Array) #8 /var/www/vhosts/mydomain.com/httpdocs/includes/src/Mage_Adminhtml_Controller_Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch() #9 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(13572): Mage_Adminhtml_Controller_Action->preDispatch() #10 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(17928): Mage_Core_Controller_Varien_Action->dispatch('index') #11 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(17485): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #12 /var/www/vhosts/mydomain.com/httpdocs/includes/src/__default.php(20062): Mage_Core_Controller_Varien_Front->dispatch() #13 /var/www/vhosts/mydomain.com/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array) #14 /var/www/vhosts/mydomain.com/httpdocs/index.php(94): Mage::run('', 'store') #15 {main}
已经尝试卸载扩展程序,但没有成功。我应该怎么做才能找到错误的原因?
请先关闭编译,使用这个:
php -f your_project_folder/shell/compiler.php clear
php -f your_project_folder/shell/compiler.php disable
然后清除缓存var/cache。您可以删除此文件夹。