jtablesession store failed DB function failed with error number 1062

Has your Joomla site suddenly stoped working and is now returning the error:
"jtablesession::store failed
DB function failed with error number 1062"
The bad news is I've seen it a lot Joomla sites and I've yet to find out why it happens. The good news is fixing a Joomla site after a jtablesession error is easy.
I recommend you backup your Joomla site before you make any alterations to the database settings.
Repairing the jos_session database table will fix this error. Easy if you know Joomla databases. If not, here's how to repair the jos_session database table for Joomla:
The best way is through a browser based application called phpMyAdmin. Find phpMyAdmin by logging on to your account with your webhost provider and look amongst the database tools.

Once you open phpMyAdmin you will see all your Joomla databases listed on the left. FYI In this example the Joomla databases I have install with Simplescripts are seen as _jml(xx) and the Joomla sites I installed using Fantastico are those with _joom(x).

Click on the database which corresponds with your Joomla site. Your only one step away from fixing the DB function failed error.

Find the "jos_session" entry and put a tick in it as shown here (it won't be highlighted until you tick it). You may need to scroll down through the Joomla Database entries to find it.

Click the arrow on the drop-down box which says "With selected:" and then click on "repair table". This will repair the jos_session table and more importantly repair your Joomla site. You will no longer see: "jtablesession::store failed DB function failed with error number 1062"

written by Neo, December 24, 2009
REPLY: Make sure you follow the instructions exactly if you don't have cpanel find a way (with whatever you have) to repair the jos_session table.
written by Gerardo, January 15, 2010
I SELECTED jos_sessions in the left panel... just click...
then click OPERATIONS...
AND I HAVE A OPTION... REPAIR TABLE.. BUT DIFFERENT!! I HAVE A PANEL OF NAME: Table Maintenance
written by Youtukan, January 15, 2010
The important thing is to know repairing this table is how you fix the 'jtablesession::store failed DB function failed with error number 1062' error.After that, how you repair the jos_session table is up to you.
written by Reerr, January 18, 2010
Great work !
written by Christopher Prins, January 28, 2010
Thankyou very much for the easy step-by-step.
Kind Regards,
Christopher Prins
written by Nico, March 05, 2010
written by emi, March 17, 2010
written by Ken Rainsforth, May 18, 2010
It just works like it says on the box.
Got the site back in minutes. Phew!!
Ken
written by pdFOK, July 30, 2010
written by Sean, August 02, 2010
written by sernan, August 18, 2010
written by alain, September 02, 2010
i was about to panic ...
written by Chris, December 01, 2010
My church had a volunteer set up a website for them a year ago and he went with Joomla. After a few months he decided he was too busy to keep it up any more. Today it threw this error and my church asked if anyone thought they could fix it. This worked perfectly! Many, many thanks!
written by Heather, December 09, 2010
written by Ellen, March 06, 2011
written by Alistair, April 01, 2011
written by Robert W, May 12, 2011
written by Ravinder, May 26, 2011
written by Per, July 25, 2011
http://blogomunity.com/joomla-blog/59-speed-up-joomla-store-sessions-in-memory.html
written by Henric Jr, September 02, 2011
it showed me that the table was corrupt, i then droped the table and recreated it but now it shows me an error "404 component not found". Can someone help me please.
written by Mak, January 06, 2012
I will appreciate any help from you guys.
Regards
written by ahmed mahadi, January 18, 2012
thanks you alot ..
I saved a lot of time I appreciate it
| < Prev | Next > |
|---|
| More help and how to articles: |
|---|
|

very thanx.
