The Joomla! Forum ™



Forum rules


Please use the official Bug Tracker to report a bug: http://joomlacode.org/gf/project/joomla ... er_id=8103



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Admin Login Loop
PostPosted: Thu Jan 12, 2012 1:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 11, 2012 11:58 pm
Posts: 5
I am having the same issue. I have my own server - I have multiple instances of Joomla! running on the server (different versions of Joomla! installed over different sites). I have other 1.7.3 instances running with NO PROBLEM - but all of a sudden I got this issue on one particular site today.

This is a CLEAN in install. I have worked on the site all day - then closed out to go to lunch. Came back - and I got the Log-in Loop. I have tried different browsers, flushing Cache, Database password resets, and have gone to different computers at different offices on completely different networks - same issue.

I have noticed that if I try to log in to any of my other Joomla! admin sites, with the WRONG PASSWORD on purpose - I get the normal "Username and password do not match or you do not have an account yet." However, if I try to log in with incorrect credentials on this site, I get no such error (which I should).

I have tried disabling the .htaccess file, read through CPanel for errors (none), changing the password through PHPMyadmin and a few other things... I keep getting the Administrator Loop.

Any Thoughts?



Server Info:

PHP Built On Linux server.shockwaveit.com 2.6.32-220.2.1.el6.x86_64 #1 SMP Fri Dec 23 02:21:33 CST 2011 x86_64
Database Version 5.1.56-log
Database Collation utf8_general_ci
PHP Version 5.3.8
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 1.7.3 Stable [ Ember ] 14-Nov-2011 14:00 GMT
Joomla! Platform Version Joomla Platform 11.2.0 Stable+Modified [ Omar ] 27-Jul-2011 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Thu Jan 12, 2012 6:16 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16641
Location: **Translation Matters**
Could it be that a file got corrupted somehow?
I suggest overwriting the site with a clean package.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Thu Jan 12, 2012 6:22 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 11, 2012 11:58 pm
Posts: 5
In the interest of time, I have had to re-build the site. The perplexing delima is, what if I was not able to do that? I had only just started today - so was not that far along.

Before the fresh install, I tried using an upgrade image (1.7.2 to 1.7.3) to no avail.

there seem to be a few people with this issue. Hopefully, it can be corrected before the next release.


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Thu Jan 12, 2012 7:18 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16641
Location: **Translation Matters**
Overwriting the site with a clean package does not require re-building the site.
What can be corrected if we do not know what is the cause and can't reproduce the issue?
"A few people" is not the large majority of users.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Thu Jan 12, 2012 7:25 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 11, 2012 11:58 pm
Posts: 5
In case I run into this issue again (or a fix for others) - what is the proper procedure for overwriting the site with a clean package? I believe I have tried this before, but I accidentally destroyed a config file (for Database connectivity).

Thank you.


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Thu Jan 12, 2012 7:40 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16641
Location: **Translation Matters**
Just FTP a decompressed full pack over the existing site.
It will have no impact on your added extensions, but it will zero any changes you may have done to core files (for examples core default templates).
As you configuration.php is not overwritten, this lets test immediately for a file corruption.

The issue may also have come from your database. Testing loading (and logging in) the front-end helps to figure that out.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Thu Jan 12, 2012 7:44 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Jan 11, 2012 11:58 pm
Posts: 5
Thank you for the information and suggestions :) I will continue to log any issues.


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Wed Feb 29, 2012 10:40 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Feb 29, 2012 10:29 pm
Posts: 4
After a few days struggling with this admin-login-loop problem, I found out what is causing it.
I had set up the Cookie Domain parameter, in the top menu Site > Global Configuration > Site > Cookie Settings, to sometinhg like '.domainXX.com.br'. As I wasn't enabled to access the admin page, I just edited the configuration.php and removed the string associated to the
Code:
$cookie_domain
variable. When I tried to login in the Admin area again, it works!

I expect this helps other developers too. And would be great if some Joomla Expert could write about this feature and its proper usage.

Best whishes.


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Fri Mar 16, 2012 3:47 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Mar 15, 2012 4:24 pm
Posts: 3
Thx for the find there was some other people stuck with the same issue.

viewtopic.php?f=624&t=702009&p=2766076#p2766076

Have a nice day!


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Tue Jul 17, 2012 11:54 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Apr 01, 2011 5:01 pm
Posts: 3
I have the same problem and nothing of the previously mentioned advices helped.
My Joomla version 2.5.2 works fine. I installed a backup on a different site and this version was OK as well until I installed Joomla version 2.5.6. After logout no administrator login was possible: Without any error message the same login screen reappeared. Normal user access to the pages works fine.
I checked the session cookies with firebug on both versions and the content of the database table LBA_session. In 2.5.6 there was no user information in the session table. I add a sql dump of both cases below.
I need urgent help since I can't upgrade any of my Joomla sites! :'(

v252 sql dump:
Code:
INSERT INTO `LBA_session` (`session_id`, `client_id`, `guest`, `time`, `data`, `userid`, `username`, `usertype`) VALUES
('d72b24325c344a0286fcb1dfc412b48b', 1, 0, '1342566080', '__default|a:8:{s:15:"session.counter";i:5;s:19:"session.timer.start";i:1342566072;s:18:"session.timer.last";i:1342566078;s:17:"session.timer.now";i:1342566080;s:22:"session.client.browser";s:74:"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1";s:8:"registry";O:9:"JRegistry":1:{s:7:"\0*\0data";O:8:"stdClass":2:{s:11:"application";O:8:"stdClass":1:{s:4:"lang";s:0:"";}s:13:"com_installer";O:8:"stdClass":2:{s:7:"message";s:0:"";s:17:"extension_message";s:0:"";}}}s:4:"user";O:5:"JUser":25:{s:9:"\0*\0isRoot";b:1;s:2:"id";s:2:"32";s:4:"name";s:16:"Wolfgang Gothier";s:8:"username";s:7:"bixxxxx";s:5:"email";s:20:"wolfgang@gothier.net";s:8:"password";s:65:"xxxxyyyyzzzzc2f7385b6885314d0a89:NXIGAcFNDQvnxxxxI9EPKAzfLIwMdSPc";s:14:"password_clear";s:0:"";s:8:"usertype";s:10:"deprecated";s:5:"block";s:1:"0";s:9:"sendEmail";s:1:"1";s:12:"registerDate";s:19:"2011-01-27 23:01:07";s:13:"lastvisitDate";s:19:"2012-07-17 22:58:54";s:10:"activation";s:0:"";s:6:"params";s:92:"{"admin_style":"","admin_language":"","language":"","editor":"","helpsite":"","timezone":""}";s:6:"groups";a:1:{i:8;s:1:"8";}s:5:"guest";i:0;s:10:"\0*\0_params";O:9:"JRegistry":1:{s:7:"\0*\0data";O:8:"stdClass":6:{s:11:"admin_style";s:0:"";s:14:"admin_language";s:0:"";s:8:"language";s:0:"";s:6:"editor";s:0:"";s:8:"helpsite";s:0:"";s:8:"timezone";s:0:"";}}s:14:"\0*\0_authGroups";a:2:{i:0;i:1;i:1;i:8;}s:14:"\0*\0_authLevels";a:4:{i:0;i:1;i:1;i:1;i:2;i:2;i:3;i:3;}s:15:"\0*\0_authActions";N;s:12:"\0*\0_errorMsg";N;s:10:"\0*\0_errors";a:0:{}s:3:"aid";i:0;s:13:"lastResetTime";s:19:"0000-00-00 00:00:00";s:10:"resetCount";s:1:"0";}s:13:"session.token";s:32:"acbeb985432eee568bbe6f92a82275d5";}', 32, 'bixxxxx', '');



v2.5.6 sql dump
Code:
INSERT INTO `LBA_session` (`session_id`, `client_id`, `guest`, `time`, `data`, `userid`, `username`, `usertype`) VALUES
('a7ad84c30d4cdd341b30c5e3ff48c4cb', 1, 1, '1342566033', '__default|a:8:{s:15:"session.counter";i:1;s:19:"session.timer.start";i:1342566033;s:18:"session.timer.last";i:1342566033;s:17:"session.timer.now";i:1342566033;s:22:"session.client.browser";s:74:"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1";s:8:"registry";O:9:"JRegistry":1:{s:7:"\0*\0data";O:8:"stdClass":0:{}}s:4:"user";O:5:"JUser":25:{s:9:"\0*\0isRoot";N;s:2:"id";i:0;s:4:"name";N;s:8:"username";N;s:5:"email";N;s:8:"password";N;s:14:"password_clear";s:0:"";s:8:"usertype";N;s:5:"block";N;s:9:"sendEmail";i:0;s:12:"registerDate";N;s:13:"lastvisitDate";N;s:10:"activation";N;s:6:"params";N;s:6:"groups";a:0:{}s:5:"guest";i:1;s:13:"lastResetTime";N;s:10:"resetCount";N;s:10:"\0*\0_params";O:9:"JRegistry":1:{s:7:"\0*\0data";O:8:"stdClass":0:{}}s:14:"\0*\0_authGroups";N;s:14:"\0*\0_authLevels";a:2:{i:0;i:1;i:1;i:1;}s:15:"\0*\0_authActions";N;s:12:"\0*\0_errorMsg";N;s:10:"\0*\0_errors";a:0:{}s:3:"aid";i:0;}s:13:"session.token";s:32:"0cbaa26a43aed79006c4c0311f843cca";}', 0, '', ''),


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Wed May 08, 2013 10:02 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Mar 19, 2011 7:31 pm
Posts: 12
I had a similar problem. It turned out that using PHP 5.4 was the trouble. Downgraded to PHP 5.3 and it worked. Joomla 3.1.


Top
 Profile  
 
 Post subject: Re: Admin Login Loop
PostPosted: Thu May 09, 2013 5:49 am 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 16641
Location: **Translation Matters**
This topic is related to 2.5.
If you have an error with 3.1.1 and PHP 5.4.x, please open a tracker with details here:
http://joomlacode.org/gf/project/joomla ... er_id=8103

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group