Advertisement

Admin session expired - can't log in (Jfish language bot)

General questions regarding the use of languages and encoding issues in Joomla! 1.0.x. Multi-lingual site solutions can be discussed in the child board. Translation discussions are now separate and can be found in the Working Groups Area.

Moderator: General Support Moderators

Locked
User avatar
zuze
Joomla! Explorer
Joomla! Explorer
Posts: 290
Joined: Sat Feb 11, 2006 9:43 pm
Location: Birmingham, USA
Contact:

Admin session expired - can't log in (Jfish language bot)

Post by zuze » Thu Sep 13, 2007 3:54 pm

HI!
After installing J!Fish and having issue with site visitor not being able to view the site in default language, I followed suggestion to change some setting in Multi lingual abstraction layer bot.

I selected option for site default language. After this I can not log in, I get Admin Session Expired message.

Is there any solution? I can access Joomla files via FTP but I have no access to db, unless I am going through Joomla. I am in a major picke here...
The key to your life is how well you deal with plan "B".
Latvian Project http://joomlacode.org/gf/project/joomla_latvian/ | http://www.joomlalv.org

Advertisement
User avatar
ot2sen
Joomla! Master
Joomla! Master
Posts: 10381
Joined: Thu Aug 18, 2005 9:58 am
Location: Hillerød - Denmark
Contact:

Re: Admin session expired - can't log in (Jfish language bot)

Post by ot2sen » Thu Sep 13, 2007 4:05 pm

Hi zuze,

Not sure if its related, but theres a known fix for 'Admin session problem' here:
http://forum.joomla.org/index.php/topic,200725.0.html
Ole Bang Ottosen
Dansk frivillig Joomla! support websted - joomla.dk
OpenTranslators Core Team opentranslators.org

User avatar
zuze
Joomla! Explorer
Joomla! Explorer
Posts: 290
Joined: Sat Feb 11, 2006 9:43 pm
Location: Birmingham, USA
Contact:

Re: Admin session expired - can't log in (Jfish language bot)

Post by zuze » Thu Sep 13, 2007 4:22 pm

I did install patch beforehand, and it solved problem of being logged out all the time by the site.

This is different , I can't even log in, I immediately get message that session is expired.

I am using Joomla 1.0.13 and J!Fish 1.7


I tried to duplicate this problem on local server, but everything still works good. I do not have the Admin patch suggested above installed on local server. The patch and mambots particular setting might not be compatible. I got to do some file replacing .... I'll post results.
Last edited by zuze on Thu Sep 13, 2007 4:27 pm, edited 1 time in total.
The key to your life is how well you deal with plan "B".
Latvian Project http://joomlacode.org/gf/project/joomla_latvian/ | http://www.joomlalv.org

Elamintal
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Tue Jul 15, 2008 3:13 pm

Re: Admin session expired - can't log in (Jfish language bot)

Post by Elamintal » Tue Jul 15, 2008 3:24 pm

Thank you for the link to the patch! However, I uploaded the patch and it is not working for some reason. I currently have this problem of receiving "Admin Session Expired" when I attempt to login on two different sites... one using 1.0.13 and the other using 1.0.15. I'm pretty much stuck for now. Any other help would be great!

Elamintal

User avatar
hadin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 109
Joined: Mon Sep 12, 2005 1:08 pm
Contact:

Re: Admin session expired - can't log in (Jfish language bot)

Post by hadin » Sun Aug 03, 2008 5:48 pm

me too have a same error message.
my version is 1.0.12a, but not using jfish component.
i guess the problem come from these conditionals :
if ( $link && strpos( $link, 'index2.php?option=com_' ) === 0 && $_VERSION->SITE == 1 && @$mosConfig_admin_expired === '1' )

==> at line 825 of joomla.php at my joomla version

either the $link is not redirect to 'index2.php?option=com_' or other conditionals is not occupied. [malicious redirected at administrator/index.php .. ?] .

benassis
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Tue Aug 19, 2008 9:45 pm

Re: Admin session expired - can't log in (Jfish language bot)

Post by benassis » Wed Aug 20, 2008 3:18 pm

ot2sen wrote:Hi zuze,

Not sure if its related, but theres a known fix for 'Admin session problem' here:
http://forum.joomla.org/index.php/topic,200725.0.html
Hi,

I just applied the patch to solde the same problem "Admin Session Expired" with no positive result. In fact, the patch changed nothing at all. :(

Anybody else found a fix untill now ?

User avatar
hadin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 109
Joined: Mon Sep 12, 2005 1:08 pm
Contact:

Re: Admin session expired - can't log in (Jfish language bot)

Post by hadin » Wed Aug 20, 2008 3:29 pm

my problem has been solved ... it's because of my session table corrupted. I dropped the table then created with a new one.

poodawgg
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Fri Nov 21, 2008 9:07 am

Re: Admin session expired - can't log in (Jfish language bot)

Post by poodawgg » Mon Jan 12, 2009 6:26 am

my problem has been solved ... it's because of my session table corrupted. I dropped the table then created with a new one.
my problem has been solved ... it's because of my session table corrupted. I dropped the table then created with a new one.
How did you create a new one?

User avatar
hadin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 109
Joined: Mon Sep 12, 2005 1:08 pm
Contact:

Re: Admin session expired - can't log in (Jfish language bot)

Post by hadin » Mon Jan 12, 2009 9:45 am

or simply you repair it with phpmyadmin function.
checked any tables corrupted, and then select on "When selected" option ==> "Repair Table".

poodawgg
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Fri Nov 21, 2008 9:07 am

Re: Admin session expired - can't log in (Jfish language bot)

Post by poodawgg » Mon Jan 12, 2009 4:28 pm

hadin wrote:or simply you repair it with phpmyadmin function.
checked any tables corrupted, and then select on "When selected" option ==> "Repair Table".
I repaired jos_session at nothing change i still cant log in to my admin...
how do i tell if a table is currupted?

User avatar
hadin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 109
Joined: Mon Sep 12, 2005 1:08 pm
Contact:

Re: Admin session expired - can't log in (Jfish language bot)

Post by hadin » Mon Jan 12, 2009 5:41 pm

first. have you checked if any of your tables being "in use" a.k.a corrupted?
then you must fix those tables with "repair table".
in generics way, in phpmyadmin select your database, select all tables and then select repair table at the bottom options.
second. if the first way doesnt work out, and indeed the jos_session is damaged, just drop the jos_session table (or delete jos_session.MYI and jos_session.MYD), and create another one with this sql script. run this sql query with phpmyadmin :
CREATE TABLE `jos_session` (
`username` varchar(50) default '',
`time` varchar(14) default '',
`session_id` varchar(200) NOT NULL default '0',
`guest` tinyint(4) default '1',
`userid` int(11) default '0',
`usertype` varchar(50) default '',
`gid` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`session_id`),
KEY `whosonline` (`guest`,`usertype`)
) ENGINE=MyISAM;

i was quite experience these same situations recently, and i merely did the above step to fix it out. and yes, i can re-login to backend admin after the jos_session was fixed.

poodawgg
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Fri Nov 21, 2008 9:07 am

Re: Admin session expired - can't log in (Jfish language bot)

Post by poodawgg » Mon Jan 12, 2009 7:05 pm

hadin wrote:first. have you checked if any of your tables being "in use" a.k.a corrupted?
then you must fix those tables with "repair table".
in generics way, in phpmyadmin select your database, select all tables and then select repair table at the bottom options.
second. if the first way doesnt work out, and indeed the jos_session is damaged, just drop the jos_session table (or delete jos_session.MYI and jos_session.MYD), and create another one with this sql script. run this sql query with phpmyadmin :
CREATE TABLE `jos_session` (
`username` varchar(50) default '',
`time` varchar(14) default '',
`session_id` varchar(200) NOT NULL default '0',
`guest` tinyint(4) default '1',
`userid` int(11) default '0',
`usertype` varchar(50) default '',
`gid` tinyint(3) unsigned NOT NULL default '0',
PRIMARY KEY (`session_id`),
KEY `whosonline` (`guest`,`usertype`)
) ENGINE=MyISAM;

i was quite experience these same situations recently, and i merely did the above step to fix it out. and yes, i can re-login to backend admin after the jos_session was fixed.
thanks for the help

i tried both steps and still get the error

"Admin Session Expired"

alig8r
Joomla! Apprentice
Joomla! Apprentice
Posts: 43
Joined: Fri Oct 20, 2006 2:23 am

Re: Admin session expired - can't log in (Jfish language bot)

Post by alig8r » Fri Feb 06, 2009 10:22 pm

I have this same issue. Joomla 1.0.15 I tried the dropped the session table and recreated but no resolution. It happened right after I changed the session time out in the backend config. Now I can't even ftp a corrected config file. Is there any way to override?

purro
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Apr 10, 2009 10:40 pm

Re: Admin session expired - can't log in (Jfish language bot)

Post by purro » Fri Apr 10, 2009 11:24 pm

I have deleted and recrated the jos_session as you say and still the same error, what else can I do?
Thanks
Error:
DB function failed with error number 145
Table './kinesiol_joom1/jos_session' is marked as crashed and should be repaired SQL=SELECT session_id FROM jos_session WHERE session_id = '0dace59a2010762c345608d1df979bea'
SQL =

SELECT session_id
FROM jos_session
WHERE session_id = '0dace59a2010762c345608d1df979bea'

purro
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Fri Apr 10, 2009 10:40 pm

Re: Admin session expired - can't log in (Jfish language bot)

Post by purro » Sat Apr 11, 2009 11:44 am

When I try to log in my admninistrator (the only page I can see) the next message appear for 2 seconds, before refreshing the administrator logging page.

DB function failed with error number 145
Table './kinesiol_joom1/jos_session' is marked as crashed and should be repaired SQL=INSERT INTO jos_session SET time = '1239450006', session_id = 'a9343a0840c2c581671ae53b952bebc7', userid = 146, usertype = 'Super Administrator', username = 'html'DB function failed with error number 145
Table './kinesiol_joom1/jos_session' is marked as crashed and should be repaired SQL=DELETE FROM jos_session WHERE userid = 146 AND username = 'html' AND usertype = 'Super Administrator' AND session_id != 'a9343a0840c2c581671ae53b952bebc7' AND guest = 1 AND gid = 0

I try everything, could be something (any component) that may be corrupting my jos_session table anytime. Could I delete unnesessary component withaut being logged in joomla?
Thanks

sharo
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Thu Sep 24, 2009 1:07 pm

Re: Admin session expired - can't log in (Jfish language bot)

Post by sharo » Thu Sep 24, 2009 1:10 pm

Hey, THANKS to you hadin.

I don't know why, I never had (since 2 years) a problem with admin auth, but the jos_session table had a problem. I used your simple SQL request, and it works now. It's great... So thank you for the idea ;)

Advertisement

Locked

Return to “Language - 1.0.x”