Magento Forum

Unable to login to admin after timeout
 
surilox
Jr. Member
 
Total Posts:  1
Joined:  2009-03-25
 

Magento 1.3.2.1

Unable to login to admin after timeout. Get plain login screen when using the “admin” user & “Access Denied” when using another user which exists in admin_user table.
This has happened on local machine running WIN2KSP4, Apache2.2.28, MySQL5.1.35, php5.2.5 or
WIN2KSP4, Xammplite1.6.6a , Apache2.2, MySQL5.1.35, php5.2.5

Also happened on webhost
Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 mod_perl/2.0.4 Perl/v5.8.8
PHP Version 5.2.8
Tried both Firefox 3.00.11 & IE 6.00.2800 on WIN2k & Safari on MAC OSX - same result

I have tried clearing the magento session & cache folders, clearing browser cookies, restarting local server, restarting browser, re-entering passwords in admin_user table with phpmyadmin - no change!
It appears that many folks are having similar issues, but I have not found a definitive fix yet.

A clean install works for a while then the issue resurfaces.

I cannot use magento in a production environment under these circumstances.

Can anyone help?
Tx
Peter

 
Magento Community Magento Community
Magento Community
Magento Community
 
orthodoxkohen
Jr. Member
 
Total Posts:  9
Joined:  2008-07-25
 

Same problem here.  I cannot seem to be able to login as admin takes me on a login loop

 
Magento Community Magento Community
Magento Community
Magento Community
 
Herbalist
Jr. Member
 
Total Posts:  3
Joined:  2009-05-21
 

Have either of you seen this thread?  This fix seemed to work for everyone.

http://www.magentocommerce.com/boards/viewthread/8788/P15/

 
Magento Community Magento Community
Magento Community
Magento Community
 
IngGross_de
Sr. Member
 
Avatar
Total Posts:  93
Joined:  2009-03-18
Switzerland
 
Herbalist - 24 June 2009 10:30 AM

Have either of you seen this thread?  This fix seemed to work for everyone.

http://www.magentocommerce.com/boards/viewthread/8788/P15/

Yes! After I tried all other suggestions, which did not work for me, I did this and it worked!

Crucial - 30 July 2008 08:14 PM

How is Magento setup to handle sessions, via filesystem or database?

We just had a client run into the same issue, and Magento was setup to let the database handle sessions (default is the filesystem). I was unable to login. It would just keep sending me to the login page, but I could see the URL was trying to parse at least. Occassionaly I would get in to the backend after trying to login 2-3 times in a row, but would still get “logged out” of the system.

To see what you have, or to change it, open up the following:

app/etc/local.xml

Look for this:

<session_save><![CDATA[db]]></session_save>

And change it to this:

<session_save><![CDATA[files]]></session_save>

If it’s already set to files, then there’s possibly another bug. After you’ve done this, make sure you delete the following directories:

var/session
var/cache

And also delete all of the items in the core_session table.

You should be able to login and stay logged in now.

yours
Res

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top