Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-01-2010, 07:33 PM
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Location: VA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Huge MYSQL error on the site.

http://i45.tinypic.com/2z9k03o.png
:erm:
Reply With Quote
  #2  
Old 03-01-2010, 08:13 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Post the entire sql error.
Reply With Quote
  #3  
Old 03-01-2010, 09:33 PM
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Location: VA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
Database error in vBulletin 3.8.3:
    
    Invalid SQL:
    
        SELECT SQL_CALC_FOUND_ROWS
         visitormessage.*, user.*, visitormessage.ipaddress AS messageipaddress
         ,IF(userlist.userid IS NOT NULL, 1, 0) AS bbuser_iscontact_of_user
         ,deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
         ,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight, customavatar.width_thumb AS avwidth_thumb, customavatar.height_thumb AS avheight_thumb, filedata_thumb, NOT ISNULL(customavatar.userid) AS hascustom
         
        FROM visitormessage AS visitormessage
        LEFT JOIN user AS user ON (visitormessage.postuserid = user.userid)
        LEFT JOIN userlist AS userlist ON (userlist.userid = user.userid AND userlist.type = 'buddy' AND userlist.relationid = 3)
        LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
        LEFT JOIN deletionlog AS deletionlog ON (visitormessage.vmid = deletionlog.primaryid AND deletionlog.type = 'visitormessage')
        
        WHERE visitormessage.userid = 3
         AND (visitormessage.state IN ('visible','moderation','deleted'))
        
         
        ORDER BY visitormessage.dateline DESC
        LIMIT 0, 10;
    
    MySQL Error   : Table 'deletionlog' is marked as crashed and should be repaired
    Error Number  : 1194
    Request Date  : Monday, March 1st 2010 @ 05:32:51 PM
    Error Date    : Monday, March 1st 2010 @ 05:32:51 PM
    Script        : http://www.virtualsportsnet.com/forum/member.php?u=3
    Referrer      : http://www.virtualsportsnet.com/forum/index.php
    IP Address    : 1**.**.19.103
    Username      : Rush
    Classname     : vB_Database
    MySQL Version : 5.0.89-community
Reply With Quote
  #4  
Old 03-02-2010, 07:52 AM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

AdminCP > Maintenance > Repair/Optimize Tables

Repair/Optimize until all say okay.
Reply With Quote
  #5  
Old 03-02-2010, 10:39 PM
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Location: VA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.virtualsportsnet.com/forum" target="_blank">www.virtualsportsnet.com/forum</a>

we did this and now it's showing up as a 505 Internal error. What is the best way to solve this? The host isn't familiar with vB, so it's a little tough. Any help?
Reply With Quote
  #6  
Old 03-02-2010, 11:04 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove any .htaccess from your directories.
Reply With Quote
  #7  
Old 03-03-2010, 12:03 PM
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Location: VA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So we finally got the site "back". Our home page is back up but our forum is getting a MySQL error.

Code:
Warning: mysql_query() [function.mysql-query]: Unable to save result set in [path]/includes/class_core.php on line 408
	Database error
The VSN - Sports & Sports Gaming News - Forums - Leagues - Rumors - Discussion database has encountered a problem.
Please try the following:
Load the page again by clicking the Refresh button in your web browser.
Open the www.virtualsportsnet.com home page, then try to open another page.
Click the Back button to try another link.
The www.virtualsportsnet.com forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.
Thank you very much for the help!

That is the problem.

www.virtualsportsnet.com/forum
Reply With Quote
  #8  
Old 03-03-2010, 12:32 PM
ChopSuey ChopSuey is offline
 
Join Date: Jun 2009
Location: Alaska
Posts: 2,140
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
MySQL Error   : Table 'datastore' is marked as crashed and should be repaired
Go to your sites cPanel and then MySQL Databases -> Repair databse - (Choose your forum's db)
Reply With Quote
  #9  
Old 03-03-2010, 12:33 PM
leftwich86 leftwich86 is offline
 
Join Date: Jun 2008
Location: VA
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for the help!!!!!!!!!! Will go do that now.

--------------- Added 03 Mar 2010 at 19:16 ---------------

it went up and then went right back to how it was.
Reply With Quote
  #10  
Old 03-04-2010, 09:21 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You migth have to run the repair a few times. If tables still get marked as crashed after that, contact your host.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04376 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete