Problem with session
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
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.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Problem with session
Hi,
i cannot realy explain situation, but i have joomla and 5 users and all these users with session always someting wrong.... cannot login in administrator and no erros, or login but show:
"An error has occurred.1062 Error initialising the session. "
or sometimes show you session time is expire, or i just come to administartor and show that i login with a other user, but i dont login on any user... and this happen and on new browser....sometimes press F5 and show you are login other user information.... this is come when update joomla to 3.6.0 try update 3.6.1 same.... now update to 3.6.2 same....
in DB session table sometimes do not show some user, but this user is log in
i cannot realy explain situation, but i have joomla and 5 users and all these users with session always someting wrong.... cannot login in administrator and no erros, or login but show:
"An error has occurred.1062 Error initialising the session. "
or sometimes show you session time is expire, or i just come to administartor and show that i login with a other user, but i dont login on any user... and this happen and on new browser....sometimes press F5 and show you are login other user information.... this is come when update joomla to 3.6.0 try update 3.6.1 same.... now update to 3.6.2 same....
in DB session table sometimes do not show some user, but this user is log in
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Problem with session
This problem typically happens when Joomla can't successfully save the session information in the database.
Try truncating the session table in the database, and then try repairing it, by issuing:
Please post back here to let us know how it went.
Try truncating the session table in the database, and then try repairing it, by issuing:
Code: Select all
REPAIR TABLE `#__session`
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: Problem with session
#__session repair note The storage engine for the table doesn't support r...
and do not show more msg text just ...
and do not show more msg text just ...
- Webdongle
- Joomla! Master
- Posts: 44072
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Problem with session
Disable cache and unpublish the cache plugin. Clear you Browser cache.
If you are unable to login to admin then clear the Joomla cache from the /cache folder and clear your Browser cache. Once logged into Admin make sure the cache plugin is disabled. Go to Extensions >>> Manage >>> Update and check for updates
Did you update the Joomla update Component in Extensions >>> Manage >>> Update ? The Joomla update Component is and extension and needs a separate update before using it to update from 3.6.1.
If you are unable to login to admin then clear the Joomla cache from the /cache folder and clear your Browser cache. Once logged into Admin make sure the cache plugin is disabled. Go to Extensions >>> Manage >>> Update and check for updates
Did you update the Joomla update Component in Extensions >>> Manage >>> Update ? The Joomla update Component is and extension and needs a separate update before using it to update from 3.6.1.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- Webdongle
- Joomla! Master
- Posts: 44072
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Problem with session
Incorrect ... the problem occurs usually because the cache for the website is not being recognised by the updated Joomla. Clearing Joomla cache and disabling the cache plugin is the best option not editing the database.itoctopus wrote:This problem typically happens when Joomla can't successfully save the session information in the database...
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Problem with session
Can you read PHP code? The below is the only place where this error is triggered, and it is triggered when saving to the session information to the database, which means there was an error in saving the session information in the database.
From the libraries/cms/application/cms.php .
Also, he is not editing the database, he's truncating the #__session table which has zero effects on the website except that people will have to re-login (clearly that's not a problem since they're not able to login in the first place).
Code: Select all
try
{
$db->execute();
}
catch (RuntimeException $e)
{
throw new RuntimeException(JText::_('JERROR_SESSION_STARTUP'), $e->getCode(), $e);
}
Also, he is not editing the database, he's truncating the #__session table which has zero effects on the website except that people will have to re-login (clearly that's not a problem since they're not able to login in the first place).
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
-
- Joomla! Virtuoso
- Posts: 4025
- Joined: Mon Nov 25, 2013 4:35 pm
- Location: Montreal, Canada
- Contact:
Re: Problem with session
@Repepioras - the table name isn't #__session, you will need to replace #__ with your database prefix. Sorry for not mentioning that in my previous post.
http://www.itoctopus.com - Joomla consulting at its finest
https://twitter.com/itoctopus - Follow us on Twitter
https://twitter.com/itoctopus - Follow us on Twitter
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: Problem with session
@itoctopus yes I know about prefix I change it but get same error
- Webdongle
- Joomla! Master
- Posts: 44072
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Problem with session
https://docs.joomla.org/J3.x:Update_fai ... or_messageNote: If your website is running with PHP 5.3, this error message may be displayed when trying to log in:
0 Failed to start the session: already started by PHP ($_SESSION is set).
Joomla! 3.6.2 will fix this issue. See https://github.com/joomla/joomla-cms/pull/11430
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: Problem with session
i use 5.6 and 3.6.2 joomla
- Webdongle
- Joomla! Master
- Posts: 44072
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Problem with session
Did you read the rest of the page linked to ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 15
- Joined: Mon Sep 28, 2009 3:30 pm
Re: Problem with session
sometime user login, but in session table show guest - 1, userid - 0, username -0, data - joomla|s:29296:"TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2..., and when guest enter in site show you are login with some user data....