vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database Errors, what caused? (https://vborg.vbsupport.ru/showthread.php?t=242756)

SVTCobraLTD 05-18-2010 02:23 AM

Database Errors, what caused?
 
Quote:

post Check Warning: Table is marked as crashed
Quote:

Database error in vBulletin 3.6.10:

Invalid SQL:
SELECT COUNT(*) AS count FROM post AS post WHERE dateline >= 1274127767;

MySQL Error : Table './XXXXXXXXXXXXXXXX/post' is marked as crashed and should be repaired
Error Number : 145
Date : Monday, May 17th 2010 @ 10:18:38 PM
Script : http://XXXXXXXXXXX.com/
Referrer :
IP Address :
Username :
Classname : vB_Database

Any idea's on this? Error happened for an hour.

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

Here is another received during the same time...

Quote:

Database error in vBulletin 3.6.10:

Invalid SQL:

SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,
thread.threadid, thread.title AS threadtitle, thread.forumid, pollid, open, replycount, postusername, postuserid, thread.iconid AS threadiconid,
thread.lastpost, thread.lastposter, thread.lastpostid, thread.dateline, IF(views<=replycount, replycount+1, views) AS views, notes, thread.visible, sticky, votetotal, thread.attach,
hiddencount, deletedcount
, NOT ISNULL(subscribethread.subscribethreadid) AS issubscribed



, vbookie_item_id
FROM thread AS thread

LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1049 AND canview = 1)

LEFT JOIN post AS post ON(post.postid = thread.firstpostid)



WHERE thread.threadid IN (0,12615,12430,12339,3101,10306,11184,9365,10942,5 226,7537,9280,10122,2674,8228,6631,7042,5161,6114, 5376,5140,4772,5027,4396,4386,3929,2752,2707,5,269 9)
ORDER BY sticky DESC, lastpost DESC;

MySQL Error : Table './xxxxxxxxxx/post' is marked as crashed and should be repaired
Error Number : 145
Date : Monday, May 17th 2010 @ 10:17:15 PM
Script : http://www..com/forums/forumdisplay.php?f=59
Referrer : http://www..com/forums/index.php
IP Address :
Username :
Classname : vB_Database

Lynne 05-18-2010 02:18 PM

Your post table is crashed. Go to Maintenance > Repair/Optimize Tables > select the post table > continue. You may have to do this a couple of times until it says OK.

Speysider 05-18-2010 03:11 PM

Or, you could do it the safer way through phpMyAdmin. :)


All times are GMT. The time now is 05:50 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.02245 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete