Try the Demo

Magento Forum

   
Page 2 of 2
Customer login problem
 
bkscott
Sr. Member
 
Avatar
Total Posts:  135
Joined:  2009-07-16
Sacramento
 

thank you forhomeshop11, this appears to be the cause of this problem in my case. I havent had the error since i changed this option, and i was getting the error on a daily basis.

forhomeshop11 - 23 December 2011 03:10 PM

Had this issue before and I’ll document what worked for me.

Go to you admin panel and navigate to; System=> Configuration=> Web (under General)=> Session Validation Settings and make sure all of them are set to “No”. In my case I was using SID on frontend, seems it was giving bad SIDs or something which made the session unvalid (which it wasn’t actually).

Hope this solves at least some people’s problems:)

 
Magento Community Magento Community
Magento Community
Magento Community
 
yashpalaegis
Jr. Member
 
Total Posts:  3
Joined:  2013-01-02
 

Sometime when the user are login in the page at that time give the error so can\’t excess the user in the login page. There are many different time of problem possible. Like, database error, site problem etc. Another thing an administrator give not the permission so that\’s a problem.

 
Magento Community Magento Community
Magento Community
Magento Community
 
track-23
Jr. Member
 
Total Posts:  29
Joined:  2011-02-09
 

I was having problems where after certain customers (not all) tried logging in with their correct credentials they would get returned to the login page without being logged in and with no error message being displayed. I tried the cookie domain “fix” and the session validation settings “fix” both mentioned in this thread, but none of that helped. Finally I was able to find this: http://www.novusweb.com/1340/e-commerce-technology/fix-for-passing-magento-session-ids/ and everything has seemed to work smashingly since. (It’s been almost a week.)

In case the link disappears here’s a summary of the code changes:

Duplicate the file app/code/core/Mage/Customer/Model/session.php to app/code/local/Mage/Customer/Model/session.php so your changes don’t get overwritten when upgrading. Then (on line 216 in Magento CE 1.7.0.2) change the following:

public function login($username$password)
    
{
        
/** @var $customer Mage_Customer_Model_Customer */
        
$customer Mage::getModel('customer/customer')
            ->
setWebsiteId(Mage::app()->getStore()->getWebsiteId());

        if (
$customer->authenticate($username$password)) {
            $this
->setCustomerAsLoggedIn($customer);
            
$this->renewSession();
            return 
true;
        
}
        
return false;
    
}

to

public function login($username$password)
    
{
        
/** @var $customer Mage_Customer_Model_Customer */
        
$customer Mage::getModel('customer/customer')
            ->
setWebsiteId(Mage::app()->getStore()->getWebsiteId());

        if (
$customer->authenticate($username$password)) {
            $this
->setCustomerAsLoggedIn($customer);
            
// $this->renewSession(); // Commented out to fix customer login loop
            
return true;
        
}
        
return false;
    
}

All you’re doing is commenting out

$this->renewSession();
so that the customer’s session is not renewed upon logging in.

I haven’t received any reports so far that it has resulted in any unforeseen related issues. For a full rundown go here: http://www.novusweb.com/1340/e-commerce-technology/fix-for-passing-magento-session-ids/

I hope that helps someone else. And thank you, Bret Williams of Novusweb!

 
Magento Community Magento Community
Magento Community
Magento Community
 
davidmst
Sr. Member
 
Avatar
Total Posts:  259
Joined:  2012-02-08
 

i have same issue, i fixed it
my solution: remove some extesion related customer function

 Signature 

Free & Paid Magento extensions by MageBay
Mega Dropdown Menu, Left Mega Menu, Accordion and Responsive Menu for Magento. MCP MenuCreatorPro is a great Menu Extension
http://menucreatorpro.com/
http://menucreatorpro.com/livedemo/
http://menucreatorpro.com/livedemo/index.php/admin/

 
Magento Community Magento Community
Magento Community
Magento Community
 
Apptha_Team
Sr. Member
 
Avatar
Total Posts:  138
Joined:  2012-09-12
 

Creating rules or attributes is not related to login in the front end. I guess that there may be some other issues. If you could reveal your exact scenario, I can help you out in a better way for your issues.

 Signature 

Magento Extensions

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
Page 2 of 2