Open your
/app/code/core/Mage/Customer/controllers/AccountController.php
find the method public function loginPostAction()
and put following code:
Mage::log('step 1', false, 'customer.log', true)
After each row, increasing step number every time. you will have following:
public function loginPostAction()
{
Mage::log('step 2', false, 'customer.log', true)
if (!$this->_validateFormKey()) {
Mage::log('step 3', false, 'customer.log', true)
$this->_redirect('*/*/');
return;
}
Mage::log('step 4', false, 'customer.log', true)
if ($this->_getSession()->isLoggedIn()) {
Mage::log('step 5', false, 'customer.log', true)
$this->_redirect('*/*/');
return;
}
$session = $this->_getSession();
Mage::log('step 6', false, 'customer.log', true)
if ($this->getRequest()->isPost()) {
Mage::log('step 7', false, 'customer.log', true)
$login = $this->getRequest()->getPost('login');
if (!empty($login['username']) && !empty($login['password'])) {
try {
Mage::log('step 8', false, 'customer.log', true)
$session->login($login['username'], $login['password']);
if ($session->getCustomer()->getIsJustConfirmed()) {
Mage::log('step 9', false, 'customer.log', true)
$this->_welcomeCustomer($session->getCustomer(), true);
}
} catch (Mage_Core_Exception $e) {
...
Then show us the result. Don't forget to revert all changes!!!