"Admin Session Expired"

General questions relating to Joomla! There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Tell
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Mon Apr 09, 2007 1:55 am

"Admin Session Expired"

Post by Tell » Fri May 04, 2007 8:35 pm

Hi, ever since I've made the admin session timeout longer, I havent been able to log into Joomla anymore. Session is expired as soon as I click login. So I cant even log in to change the timeout back to its previous value.

What can I do?
Joomla version; 1.0.12

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24955
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: "Admin Session Expired"

Post by pe7er » Fri May 04, 2007 9:05 pm

Download the configuration.php to your local PC.
What's the value for:
$mosConfig_session_life_admin ?
Could you change it to $mosConfig_session_life_admin = '1800'; , upload the file to your site, and try again?
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

User avatar
allanchan
Joomla! Intern
Joomla! Intern
Posts: 79
Joined: Wed May 09, 2007 6:04 am
Location: Perth - Australia
Contact:

Re: "Admin Session Expired"

Post by allanchan » Thu May 17, 2007 2:30 am

My configuration.php shows my mosconfig was
$mosConfig_session_life_admin = '1800';
but my administration session still timeout in less than 2 minutes.

Could u please tell me why?? and how can i solve this problem...

Thank You
Allan Chan
Webmaster and IT Manager.
http://www.ckwbgroup.com @ CKWBGroup - Sabah Developer, Contractor and Renovation Specialist
http://www.Trade-asy.com @ TradEasy - Cheapest Online Shopping Store in Perth, WA

User avatar
compustretch
Joomla! Explorer
Joomla! Explorer
Posts: 417
Joined: Wed Mar 07, 2007 4:20 pm

Re: "Admin Session Expired" [solved?]

Post by compustretch » Tue Jun 26, 2007 11:49 pm

I had this exact problem.

Sick of getting timed out on the admin page, I maxed out the session lifetime field. Immediately all sessions were expired. Clearing cache did not help. Changed this value directly in config.php and reupped it. Still no go. Cleared cache again. Nope.

Solution: logged in as another (non super-admin) user. Voila, superadmin could now log in again.

HTH.

User avatar
compustretch
Joomla! Explorer
Joomla! Explorer
Posts: 417
Joined: Wed Mar 07, 2007 4:20 pm

Re: "Admin Session Expired"

Post by compustretch » Tue Jun 26, 2007 11:51 pm

ok so the real question remains, how do you increase your session lifetime?

I have set my mos-session-lifetime to various high values (several hours) and still keep getting kicked in way less time.

grrr...

llbbl
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Tue Jun 26, 2007 10:00 pm

Re: "Admin Session Expired"

Post by llbbl » Tue Jun 26, 2007 11:56 pm

admin session thing pisses me off to. firefox will remember passwords so that helps, but it is still annoying. best solution: don't use joomla  ... lol

User avatar
k4lch
Joomla! Hero
Joomla! Hero
Posts: 2799
Joined: Sat Dec 31, 2005 1:58 am
Contact:

Re: "Admin Session Expired"

Post by k4lch » Wed Jun 27, 2007 12:31 am

server time affects the sessions time if the server time is incorrect this  will cause the time to be off verify the server time setting and your's.
the difference might be the problem.
you could clear the sessions table  in you database then try logging in
Loyd Headrick
http://wx4lh.info

User avatar
compustretch
Joomla! Explorer
Joomla! Explorer
Posts: 417
Joined: Wed Mar 07, 2007 4:20 pm

Re: "Admin Session Expired"

Post by compustretch » Wed Jun 27, 2007 2:42 am

@llbbl- so what do you use instead?

User avatar
compustretch
Joomla! Explorer
Joomla! Explorer
Posts: 417
Joined: Wed Mar 07, 2007 4:20 pm

Re: "Admin Session Expired"

Post by compustretch » Wed Jun 27, 2007 2:43 am

@k4lch- you really think clearing the sessions table in the db will solve a chronic short session issue?

I was thinking it might have more to do with security level and proxy IPs, as per another thread...

??

User avatar
k4lch
Joomla! Hero
Joomla! Hero
Posts: 2799
Joined: Sat Dec 31, 2005 1:58 am
Contact:

Re: "Admin Session Expired"

Post by k4lch » Wed Jun 27, 2007 3:07 am

it might help just suggestion to help solve problem
Loyd Headrick
http://wx4lh.info

User avatar
otakkiri
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Oct 01, 2006 12:21 pm
Location: Somewhere On Indonesia

Re: "Admin Session Expired"

Post by otakkiri » Wed Jul 04, 2007 1:12 pm

i have the same problem.. i've changed $mosConfig_session_life_admin to '1800' too, but it doesnt work. until now, i still can log in to my site administrator backend.. can anyone have another suggestion?

and one notes, this problem came up after my site hosting upgrading it space.  and with this admin expired problem, my site only came up in frontend with this error message :

mossession::store failed
DB function failed with error number 1142
INSERT command denied to user 'myweb_joom1'@'localhost' for table 'jos_session' SQL=INSERT INTO jos_session ( `session_id`,`time`,`username`,`gid`,`guest` ) VALUES ( '2594a7b89d4e76ad89385e7e86b7c46e','1183554716','','0','1' )

anyone know how to solved this problems ? thanks
Last edited by otakkiri on Wed Jul 04, 2007 1:19 pm, edited 1 time in total.
Signature rules: Literal URLs only - http://forum.joomla.org/viewtopic.php?f=8&t=65

User avatar
otakkiri
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Oct 01, 2006 12:21 pm
Location: Somewhere On Indonesia

Re: "Admin Session Expired"

Post by otakkiri » Wed Jul 04, 2007 1:21 pm

@k4lch

can you tell me how to clear session table in my database ? thanks
Signature rules: Literal URLs only - http://forum.joomla.org/viewtopic.php?f=8&t=65

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24955
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: "Admin Session Expired"

Post by pe7er » Wed Jul 04, 2007 1:42 pm

Do you have phpMyAdmin access to your database?
Open the database, backup (export) all tables before doing the following:
select the jos_sessions table and choose "empty".
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

User avatar
otakkiri
Joomla! Intern
Joomla! Intern
Posts: 83
Joined: Sun Oct 01, 2006 12:21 pm
Location: Somewhere On Indonesia

Re: "Admin Session Expired"

Post by otakkiri » Wed Jul 04, 2007 1:59 pm

i've done that ... but it still doesnt works .... with the problems above ...  ???
Signature rules: Literal URLs only - http://forum.joomla.org/viewtopic.php?f=8&t=65

User avatar
andrespq77
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Fri Mar 16, 2007 11:25 pm

Re: "Admin Session Expired"

Post by andrespq77 » Tue Aug 21, 2007 6:28 pm

I have the same problem with Joomla, $mosConfig_session_life_admin = '1800' its ok, everything looks ok, but there is now ansewrs to this problem, In my case I can log in but new users can't register (I have installed Community Builder)
Only exact URLs allowed in signature. Please read Forum Rules: http://forum.joomla.org/viewtopic.php?f=8&t=65

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24955
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: "Admin Session Expired"

Post by pe7er » Tue Aug 21, 2007 7:51 pm

andrespq77 wrote:In my case I can log in but new users can't register (I have installed Community Builder)
What Joomla version do you use?
And what CB version?
For Joomla 1.0.13 you'll need to upgrade CB to get it working properly.
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

User avatar
andrespq77
Joomla! Apprentice
Joomla! Apprentice
Posts: 21
Joined: Fri Mar 16, 2007 11:25 pm

Re: "Admin Session Expired"

Post by andrespq77 » Wed Aug 22, 2007 2:08 pm

Yes,

Thanks,

My host http://www.buyhttp.com helped me solve the problem, the checked my backend, everything and concluded as you said that the  problem was CB, I upgraded to 1.1.

My site has 1620 registed user so I didn't want to test and try solutions. http://www.profesionales.ec
Only exact URLs allowed in signature. Please read Forum Rules: http://forum.joomla.org/viewtopic.php?f=8&t=65


Locked

Return to “General Questions - 1.0.x”