How to Solve a Problem with jos_session ?

Sometimes, you might experience your Joomla session tables going out of wack. This may result in your website displaying nothing but an error message.

jtablesession::Store Failed
DB function failed with error number 1016

Can't open file: 'jos_session.MYI' (errno: 145) SQL=INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` ) VALUES ( '4bc998b10d92bf4107976d0edacdbb26','1246725653','','0','1','0' )

Relax, I’ll show you how to fix it!

->> If you have access to phpmyadmin, go to the Joomla database, select the table jos_session (tick the checkbox) and choose “Repair table” from the drop-down you find at the bottom of the list of tables. This has worked for me.