Sunday, July 09, 2006

phpBB Problem and Solution

The PrestoSoft forum was down today, and displayed this error message:

phpBB : Critical Error

Error creating new session

DEBUG MODE

SQL Error : 1016 Can't open file: 'phpbb_sessions.MYI'. (errno: 145)


After doing a bit of googling, I found this page, which gives a simple solution: run the SQL script REPAIR TABLE phpbb_sessions. You can also try this for any other SQL table that doesn't work properly - chances are, it has a small error that can be fixed by REPAIRing it.

1 comment:

chris2 said...

actly the solution I was looking for...thanks for the great post