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  [ 1 post ] 
Author Message
PostPosted: Mon Jul 23, 2012 10:30 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Sep 15, 2011 2:11 pm
Posts: 8
I'm having a problem with a new site of mine. That is, once every now and then, the following error message pops up, breaking the site:

Code:
500 - JDatabaseMySQLi::query: 1062 - Duplicate entry '05b03e19542d4bc8bbc45e044fe24fc5' for key 1 SQL=INSERT INTO `jmla_session` (`session_id`, `data`, `time`) VALUES ('05b03e19542d4bc8bbc45e044fe24fc5', '__default|a:8:{s:15:\"session.counter\";i:85;s:19:\"session.timer.start\";i:1343036180;s:18:\"session.timer.last\";i:1343038775;s:17:\"session.timer.now\";i:1343038776;s:22:\"session.client.browser\";s:83:\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:14.0) Gecko/20100101 Firefox/14.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:\"13ded9ad5217facbd3626a72728763a9\";}', '1343038776')


There are a few custom modules on the site, but I haven't touched any user- or session-related libraries, I'm never even calling any of the session or user functionality in any of those modules. So does anyone know what causes this bug and how I can fix it? I already emptied jmla_sessions table several times, repaired it, replaced it, etc, but none of it seems to help. The session library just somehow fails to see there's already a session stored with that particular ID. And the weird thing is, the page shows normally when I refresh once or twice.


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



Who is online

Users browsing this forum: No registered users and 7 guests


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