...
This is normally an issue with crashed database or database tables. Your host can repair the database or you can see this guide. In most cases, it would be the phpfox_log_session or phpfox_user table that crashed. Note that crashing tables is are a bad thing as it can cause damage if it is a common occurrence. You would want to check with your host and either upgrade the server or perhaps change the database to its own server.