customer login don't works with Safari, only if i activate incognito mode in Safari.
After click on login, page reload itself without error massage.
I have take:
- Clear Cookies in Safari
- Clear var/cache & var/sessions
- Insert formkey in login template
- Remove Cookie params in Varien.php
Using Magento 1.9
The Magento shop works fine in months, this problem appeared last week without any changes at shop.
If i clear var/sessions and clear Cookies in safari i can login, but only one time. If i log out and try a new log in, do not work.
Update: I have found a solution
All possible ways are not fix the login problem at my shop, this one works:
Go to:
app/code/core/Mage/Customer/Model/Session.php
Around line: 224
Comment out:
$this->renewSession();
public function setCustomerAsLoggedIn($customer)
{
$this->setCustomer($customer);
// $this->renewSession();
Mage::dispatchEvent('customer_login', array('customer'=>$customer));
return $this;
}
Better Solution without works on core files::
- Backup your databases (you should always do this before making any modifications).
- Build the following directory hierarchy: app/code/local/Mage/Customer/Model/.
- Put a copy of session.php into this new directory.
- Comment out the appropriate line, shown above, and save your file.
Found here: http://www.novusweb.com/fix-for-passing-magento-session-ids/