No announcement yet.

Viewing Attachments - Database Error

  • Filter
  • Time
  • Show
Clear All
new posts

  • Viewing Attachments - Database Error


    Running 3.5.2 now and am having problems with being unable to view attachments. The following error is returned:

    Database error in vBulletin 3.5.2:
    Invalid SQL:
    INSERT INTO vb3_attachmentviews (attachmentid)
    VALUES (503);
    MySQL Error : Can't open file: 'vb3_attachmentviews.MYI'. (errno: 145)
    Error Number : 1016
    Date : Sunday, December 11th 2005 @ 10:38:25 AM
    Script :
    Referrer :
    IP Address : XXXXX
    Username : XXXXX
    Classname : vb_database

    I've seen other errors on this subject but not this particular error. Any suggestions what may be causing this?

    Thumbnails work ok just when clicking to view the larger picture this happens
    Thanks in advance!

  • #2
    Hi there,

    Can't open file: '<table>.MYI'. (errno: 145)

    Error 145 = Table was marked as crashed and should be repaired

    You should run optimize & repair on your database tables. You can upload the tools.php file from the vbulletin .zip file do_not_upload/ folder into your forumdir/admincp/ directory and run it through the browser, there's a switch there to run optimize and repair. Run it a few times for best result.


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.