Skip to content
ADMAX
Troubleshooting

My site is showing a SQL error

Since 1996Swedish supportServers in Sweden
Back to the knowledge base

If you use Joomla as your CMS, the session table can sometimes crash and cause your website to display an error similar to:

jtablesession::Store Failed
DB function failed with error number 145
Table './"customer_number_database"/jos153_session' is marked as crashed and should be repaired

This is easy to fix by following these steps:

  1. Log in to phpMyAdmin.
  2. Once logged in, select the relevant database in the left-hand panel.
  3. After clicking the database, you will see a list of all tables. At the bottom of the list, click "Select all".
  4. Then, in the "With selected" dropdown menu, choose "Repair table".
  5. Wait until phpMyAdmin confirms the operation completed successfully.
  6. That's it — your site should now be working again. Remember to log out of phpMyAdmin when you're done.

If you have any further questions, don't hesitate to get in touch with us via a support ticket.