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 02-20-2006, 02:28 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default major vb Errors with New Post: Invalid SQL

hello, I'm reeeeealllly hoping someone can help me...

for what seems like no reason, all of a sudden I'm getting massive DB error on anything that has to do with making a post, editing a post, save changes....

as far as I know, no new hacks were added recently and there haven't been any changes to anything. So I have no idea where to start looking for a fix. The last hack I can remember adding was the OPT-OUT forums from New Posts by Andreas. But I never had a problem with that one int he past.

Any ideas where this is coming frrom? this is VERY bad as all new posts give me errors of one form or another.

Any help would be GREATLY appreciated!! this is bad bad bad!!


here's just a few examples of the errors.....
---------------------------------------------------------------------

Database error in vBulletin 3.5.3:

Invalid SQL:

SELECT postid, wordid,
CASE intitle
WHEN 0 THEN score
WHEN 1 THEN score + 5
WHEN 2 THEN score + 5 + 5
ELSE score
END AS score
FROM postindex
WHERE wordid IN (0,247,655);

MySQL Error : Can't open file: 'postindex.MYI' (errno: 145)
Error Number : 1016
Date : Sunday, February 19th 2006 @ 11:17:13 PM
Script : http://www.naestar.net/forums/newthread.php
Referrer : http://www.naestar.net/forums/newthr...ewthread&f=135
IP Address : ************
Username : *************
Classname : vb_database

================

Database error in vBulletin 3.5.3:

Invalid SQL:

REPLACE INTO postindex
(wordid, postid, score, intitle)
VALUES
(40, 22361, 1, 0), (1354, 22361, 1, 0);

MySQL Error : Can't open file: 'postindex.MYI' (errno: 145)
Error Number : 1016
Date : Sunday, February 19th 2006 @ 11:18:48 PM
Script : http://www.naestar.net/forums/newreply.php
Referrer : http://www.naestar.net/forums/showth...2351#post22351
IP Address : **************
Username : ****************
Classname : vb_database


=========
Database error in vBulletin 3.5.3:

Invalid SQL:
DELETE FROM postindex WHERE wordid IN (0,7527) AND postid = 22361;

MySQL Error : Can't open file: 'postindex.MYI' (errno: 145)
Error Number : 1016
Date : Sunday, February 19th 2006 @ 11:20:37 PM
Script : http://www.naestar.net/forums/editpost.php
Referrer : http://www.naestar.net/forums/editpost.php
IP Address : ****************
Username : ******************
Classname : vb_database
Reply With Quote
  #2  
Old 02-20-2006, 04:37 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The index for your postindex table seems to be damaged.
Try to repair it several times.
Reply With Quote
  #3  
Old 02-20-2006, 04:38 PM
Guest210212002
Guest
 
Posts: n/a
Default

I had a similar error to this once, and repairing the table did nothing.

I ended up dumping the entire DB, creating a new one, importing everything into it and that solved it.

My .2c - good luck.
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 05:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07710 seconds
  • Memory Usage 2,175KB
  • Queries Executed 11 (?)
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)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (2)postbit_onlinestatus
  • (3)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete