Database error - Please help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • HelloClerice
    New Member
    • Apr 2005
    • 5
    • 3.6.x

    Database error - Please help!

    Ok so I've done NOTHING with my forum. I went to bed last night and everything was fine. I get up this morning and I get a white page with "Database Error" on it. I looked at the page source for that page and this is what it shows...



    Database error in vBulletin :

    Invalid SQL:

    SELECT *
    FROM datastore
    WHERE title IN ('','options','bitfields','attachmentcache','forumcache','usergroupcache','style cache','languagecache','products','pluginlist','cron','profilefield','adv_module s','adv_portal_opts','adv_portal_page','adv_portal_tpst','attachmentcache','bbco decache','birthdaycache','eventcache','iconcache','maxloggedin','rankphp','smili ecache','userstats');

    MySQL Error : Can't find file: './******/datastore.frm' (errno: 13)
    Error Number : 1017
    Date : Monday, November 3rd 2008 @ 05:56:04 AM
    Script : ******
    Referrer :
    IP Address : ********
    Username :
    Classname : vB_Database



    What can I do to fix this besides a backup? I have a fairly large forum and i need it back up asap! Please help.

    v3.6.4
  • Jose Amaral Rego
    Senior Member
    • Feb 2005
    • 11058
    • 1.1.x

    #2
    Common MySQL Error Messages

    OS Error Code 13: Permission denied
    You do not have permission to write to a directory. Most commonly the temporary files directory. Create a directory in your User Home directory on the server and chmod it 777. If this does not resolve the issue then you must contact your host and have them fix your permissions.
    Blank or 'White' Pages

    I would try to disable any modifcations.
    Disable plugins from file includes/config.php and add this right under <?php on the next empty line

    PHP Code:
    <?php
    /*======================================================================*\
    || #################################################################### ||
    || # vBulletin 3.6.x - Licence Number xxxxxxx
    || # ---------------------------------------------------------------- # ||
    || # All PHP code in this file is ©2000-2007 Jelsoft Enterprises Ltd. # ||
    || # This file may not be redistributed in whole or significant part. # ||
    || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
    || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
    || #################################################################### ||
    \*======================================================================*/
    Code:
    <?php
    [B][COLOR="Red"]define('DISABLE_HOOKS', true);[/COLOR][/B]
    /*======================================================================*\
    || #################################################################### ||
    || # vBulletin 3.6.x - Licence Number xxxxxxx
    || # ---------------------------------------------------------------- # ||
    || # All PHP code in this file is ©2000-2007 Jelsoft Enterprises Ltd. # ||
    || # This file may not be redistributed in whole or significant part. # ||
    || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
    || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
    || #################################################################### ||
     
    
    /*======================================================================*\

    Comment

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