Help I get an error when editing

Permalink
I log into my church's site that I am building and this is the error I get:

Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [1016: Can't open file: 'CollectionVersionBlocks.MYI' (errno: 145)] in EXECUTE("select bID, arHandle from CollectionVersionBlocks where cID = '1' and cvID = '60'") ' in /all_else/messiah/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php:78 Stack trace: #0 /all_else/messiah/concrete/libraries/3rdparty/adodb/adodb.inc.php(1037): adodb_throw('mysql', 'EXECUTE', 1016, 'Can't open file...', 'select bID, arH...', false, Object(ADODB_mysql)) #1 /all_else/messiah/concrete/libraries/3rdparty/adodb/adodb.inc.php(993): ADOConnection->_Execute('select bID, arH...') #2 [internal function]: ADOConnection->Execute('select bID, arH...', Array) #3 /all_else/messiah/concrete/libraries/database.php(73): call_user_func_array(Array, Array) #4 [internal function]: Database->__call('Execute', Array) #5 /all_else/messiah/concrete/libraries/database_indexed_search.php(151): Database->Execute('select bID, arH...', Array) #6 /all_else/messiah/concrete/libraries/da in /all_else/messiah/concrete/libraries/3rdparty/adodb/adodb-exceptions.inc.php on line 78



What's going on and how do I fix it?

pakigreenl
 
jbx replied on at Permalink Reply
jbx
This is usually a corruption of a MySQL database table. The CollectionVersionBlocks table is damaged.

To fix it, log into MySQL from the commandline, or via phpMyAdmin and try repairing the table.
REPAIR TABLE CollectionVersionBlocks;


More info:
Repair table syntax:
http://dev.mysql.com/doc/refman/5.0/en/repair-table.html...

MySQL Manual on Corrupted MyISAM Tables:
http://dev.mysql.com/doc/refman/5.0/en/corrupted-myisam-tables.html...

Hope that helps...

Jon
jbx replied on at Permalink Reply
jbx
Worth noting that one common cause of corrupt MySQL tables is the disk being full. Check you haven't run out of space...

Jon
pakigreenl replied on at Permalink Reply
pakigreenl
Thanks, I will look into that.
pakigreenl replied on at Permalink Reply
pakigreenl
I have looked around myphpadmin. I don't see anywhere that indicates disk usage/allowance. how do I find that? I have taken a crack at repairing the tables, and they do. But, I get the same errors happening and am thinking it is a space issue. Thanks for your help.
pakigreenl replied on at Permalink Reply
pakigreenl
Ran database repair through my Host. That worked. Thanks
jbx replied on at Permalink Reply
jbx
Cool - glad it worked out :)

For reference, the space issues I was referring to, you would need to either check from a terminal session, or ask your hosting provider if you don't have access.

Some hosting control panels will also tell you how much space you have left on disks, but it's not really a phpMyAdmin thing...

Jon