Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Admin Login Error after Upgrade
 
CQ Website Design
Sr. Member
 
Total Posts:  195
Joined:  2009-01-02
 

Hello,

I have upgraded to the latest version of Magento using Magento Connect and I am not getting this error when trying to login to the admin:

Invalid method Mage_Adminhtml_Model_Url::useSecretKey(Array
(
)
)
Trace:
#0 [internal function]: Varien_Object->__call('useSecretKey', Array)
#1 /home/savannah/public_html/app/code/core/Mage/Admin/Model/Session.php(73): Mage_Adminhtml_Model_Url->useSecretKey()
#2 /home/savannah/public_html/app/code/core/Mage/Admin/Model/Observer.php(55): Mage_Admin_Model_Session->login('Chudz', 'chudz1985', Object(Mage_Core_Controller_Request_Http))
#3 /home/savannah/public_html/app/code/core/Mage/Core/Model/App.php(1166): Mage_Admin_Model_Observer->actionPreDispatchAdmin(Object(Varien_Event_Observer))
#4 /home/savannah/public_html/app/Mage.php(301): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#5 /home/savannah/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(410): Mage::dispatchEvent('controller_acti...', Array)
#6 /home/savannah/public_html/app/code/core/Mage/Adminhtml/Controller/Action.php(131): Mage_Core_Controller_Varien_Action->preDispatch()
#7 /home/savannah/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(356): Mage_Adminhtml_Controller_Action->preDispatch()
#8 /home/savannah/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(247): Mage_Core_Controller_Varien_Action->dispatch('index')
#9 /home/savannah/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#10 /home/savannah/public_html/app/Mage.php(457): Mage_Core_Controller_Varien_Front->dispatch()
#11 /home/savannah/public_html/index.php(52): Mage::run()
#12 {main}
 
Magento Community Magento Community
Magento Community
Magento Community
 
Sindre|ProperHost
Mentor
 
Avatar
Total Posts:  1158
Joined:  2008-04-24
 

If you have SSH access, try this:

Go to your Magento root directory and enter the following command:

./pear install -f magento-core/Mage_All_Latest
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top