Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-18-2011, 09:07 PM
VIPTV VIPTV is offline
 
Join Date: Feb 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database error in vBulletin 3.7.2 - Error Number 1030 When Trying To Access Forum

HELP! Database error in vBulletin 3.7.2 - Error Number 1030 When Trying To Access Forum

For the past few days, the following database error (listed below) has been given every single time anyone tries to access two forums on my vbulletin website. The two specific forums which give the error happen to be the largest forums on my site. One of the forums has almost 5 Million posts, the other one has about 100,000 posts.

You can still access threads within the forum without a problem, and you can even reply to the threads without a problem, but you can not access the threads listing in the forum.

If anyone is willing to help please let me know, or if you can just point me in the right direction in fixing it, would be greatly appreciated.

Here is the database error given each time:

Quote:
Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT COUNT(*) AS threads, SUM(IF(thread.lastpost > 1316379418 AND open <> 10, 1, 0)) AS newthread

FROM vb_thread AS thread


WHERE forumid = 54
AND sticky = 0

AND visible IN (0,1,2)


AND lastpost >= 1284847243;

MySQL Error : Got error 127 from storage engine
Error Number : 1030
Request Date : Monday, September 19th 2011 @ 12:00:43 AM
Error Date : Monday, September 19th 2011 @ 12:00:50 AM
Script : http://**********.com/forums/forumdisplay.php?f=54
Referrer : http://**********.com/forums/forumdisplay.php?f=36
IP Address : ***.**.**.***
Username : ********
Classname : vB_Database
MySQL Version : 4.1.22-standard-log
I've removed the unnecessary information because I'm not sure of the rules on here about posting the specific sites / advertising etc.

Thanks in advance to anyone who can help AT ALL!
Reply With Quote
Благодарность от:
  #2  
Old 09-18-2011, 10:52 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This error means:

MySQL error: 127 = Record-file is crashed

To fix this run Repair/Optimize in the Admin CP. You may need to run it more than once to fix all errors:

Admin CP -> Maintenance -> Repair/Optimize Tables -> Check All -> Continue
Reply With Quote
  #3  
Old 09-18-2011, 11:23 PM
VIPTV VIPTV is offline
 
Join Date: Feb 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright thanks, I was thinking about doing this, but I've done it before and it didn't repair everything correctly and actually caused more issues on the site.

I had to get someone to repair them manually because after trying to repair them through the admin CP it caused the tables to crash.

I'll give it a shot though.

Thanks again.

--------------- Added [DATE]1316400343[/DATE] at [TIME]1316400343[/TIME] ---------------

I'm still hesitant to do this, can anyone second this suggestion before I risk this...
Reply With Quote
  #4  
Old 09-19-2011, 01:54 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you're hesitant on doing the above suggestion, make a backup of your database before any changes are made.

NOTE: You SHOULD be making a db backup anyway at LEAST once a day
Reply With Quote
  #5  
Old 09-19-2011, 02:38 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

See this thread for other methods to repair your database - 3 ways to repair a database
Reply With Quote
  #6  
Old 09-27-2011, 07:07 AM
VIPTV VIPTV is offline
 
Join Date: Feb 2010
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot, definitely appreciate the help...
Reply With Quote
Reply


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 09:02 PM.


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.03847 seconds
  • Memory Usage 2,211KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete