cancel
Showing results for 
Search instead for 
Did you mean: 

Error in admin login page but only the first time. Magento 1.7

SOLVED

Error in admin login page but only the first time. Magento 1.7

Hi all,

From yesterday I'm getting one error when I try to login in admin site.

 

I'm lost because the log of report Is not given me any error message. Only the header "There has been an error processing your request" and all the Trace of login.

 

But only show me this error when I try to login the First time. If I push F5 or enter key it works!. Explaining... 

1º I enter in website. All correct.
2º I go to admin page and magento show me the login page. All correct.

3º When I put my user and my pass, and I press Enter, magento is crashing showing me the mentioned error.

4º If I refresh (F5) the website with error, magento redirect me into admin page.

 

When I'm in session all the admin page works, but when I logout and if I try to login again, it crash again.

 

The Report contain: 

a:5:{i:0;s:0:"";i:1;s:3095:"#0 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/pest/Pest.php(157): Pest->checkLastResponseForError()
#1 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/pest/Pest.php(43): Pest->doRequest(Resource id #731)
#2 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/etc/Client.php(112): Pest->get('/account')
#3 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/classes/Account.php(40): SweetToothClient->get('/account')
#4 /var/www/vhosts/SERVER/httpdocs/app/code/community/TBT/Rewards/Model/Observer/Adminhtml/Controller.php(37): SweetToothAccount->get()
#5 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1338): TBT_Rewards_Model_Observer_Adminhtml_Controller->createAccountUsageNotification(Object(Varien_Event_Observer))
#6 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(TBT_Rewards_Model_Observer_Adminhtml_Controller), 'createAccountUs...', Object(Varien_Event_Observer))
#7 /var/www/vhosts/SERVER/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('admin_session_u...', Array)
#8 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Admin/Model/Session.php(104): Mage::dispatchEvent('admin_session_u...', Array)
#9 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Admin/Model/Observer.php(73): Mage_Admin_Model_Session->login('USER', 'PASS', Object(Mage_Core_Controller_Request_Http))
#10 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1338): Mage_Admin_Model_Observer->actionPreDispatchAdmin(Object(Varien_Event_Observer))
#11 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Admin_Model_Observer), 'actionPreDispat...', Object(Varien_Event_Observer))
#12 /var/www/vhosts/SERVER/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#13 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(528): Mage::dispatchEvent('controller_acti...', Array)
#14 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#15 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(408): Mage_Adminhtml_Controller_Action->preDispatch()
#16 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#17 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#18 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#19 /var/www/vhosts/SERVER/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#20 /var/www/vhosts/SERVER/httpdocs/index.php(88): Mage::run('', 'store')
#21 {main}";s:3:"url";s:66:"/index.php/admin/index/index/key/24c6f294d25b277ce9fb24106857ee40/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}

 
1 ACCEPTED SOLUTION

Accepted Solutions

Re: Error in admin login page but only the first time. Magento 1.7

Finally updating module to latest version works fine. I don't know how happen to crash... but with the new version works.

View solution in original post

6 REPLIES 6

Re: Error in admin login page but only the first time. Magento 1.7

@codetec

 

You are having an issue with Sweet Tooth Reward Points extension. Fix that and your Admin login page error will be fixed.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Error in admin login page but only the first time. Magento 1.7

Thanks for the answer!!

 

Yes, I think that the Sweet Tooth module is crashing admin login website. If I try to configurate the module in admin panel option, I get another error...

 

I'm trying to solve this problem with module support but I think they have not any idea. If I disable the module I get blank page on all website pages... I don't know what I can do.

 

There has been an error processing your request


Trace:
#0 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/pest/Pest.php(157): Pest->checkLastResponseForError()
#1 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/pest/Pest.php(43): Pest->doRequest(Resource id #714)
#2 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/etc/Client.php(112): Pest->get('/account')
#3 /var/www/vhosts/SERVER/httpdocs/lib/SweetTooth/classes/Account.php(40): SweetToothClient->get('/account')
#4 /var/www/vhosts/SERVER/httpdocs/app/code/community/TBT/Rewards/Model/Observer/Adminhtml/Controller.php(37): SweetToothAccount->get()
#5 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1338): TBT_Rewards_Model_Observer_Adminhtml_Controller->createAccountUsageNotification(Object(Varien_Event_Observer))
#6 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(TBT_Rewards_Model_Observer_Adminhtml_Controller), 'createAccountUs...', Object(Varien_Event_Observer))
#7 /var/www/vhosts/SERVER/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('admin_session_u...', Array)
#8 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Admin/Model/Session.php(104): Mage::dispatchEvent('admin_session_u...', Array)
#9 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Admin/Model/Observer.php(73): Mage_Admin_Model_Session->login('USER', 'PASS', Object(Mage_Core_Controller_Request_Http))
#10 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1338): Mage_Admin_Model_Observer->actionPreDispatchAdmin(Object(Varien_Event_Observer))
#11 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(1317): Mage_Core_Model_App->_callObserverMethod(Object(Mage_Admin_Model_Observer), 'actionPreDispat...', Object(Varien_Event_Observer))
#12 /var/www/vhosts/SERVER/httpdocs/app/Mage.php(447): Mage_Core_Model_App->dispatchEvent('controller_acti...', Array)
#13 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(528): Mage::dispatchEvent('controller_acti...', Array)
#14 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Adminhtml/Controller/Action.php(160): Mage_Core_Controller_Varien_Action->preDispatch()
#15 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Adminhtml/controllers/System/ConfigController.php(51): Mage_Adminhtml_Controller_Action->preDispatch()
#16 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Action.php(408): Mage_Adminhtml_System_ConfigController->preDispatch()
#17 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /var/www/vhosts/SERVER/httpdocs/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#20 /var/www/vhosts/SERVER/httpdocs/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#21 /var/www/vhosts/SERVER/httpdocs/index.php(88): Mage::run('', 'store')
#22 {main}

 

Re: Error in admin login page but only the first time. Magento 1.7

@codetec

 

You need to disable the whole extension to fix the issue. 

Disable it from:  app > etc > module

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Error in admin login page but only the first time. Magento 1.7

Yep I try it...
But if I disable, the website show blank page in backend and frontend.

Re: Error in admin login page but only the first time. Magento 1.7

@codetec

 

Ok, in that case I need to look into your store. 

You can PM me your details to check, we would be happy to help you out.

Was my answer helpful? You can accept it as a solution.
175+ Professional Extensions for M1 & M2
Need a developer?Just visit Contact Us Now

Re: Error in admin login page but only the first time. Magento 1.7

Finally updating module to latest version works fine. I don't know how happen to crash... but with the new version works.