Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-01-2009, 12:34 AM
Mancunian_Red Mancunian_Red is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Anyone know how i fix this error

Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT COUNT(*) AS count
FROM post AS post
LEFT JOIN threadread AS threadread ON (threadread.threadid = post.threadid AND threadread.userid = 1)
WHERE dateline >= 1235857518 AND dateline > IF(threadread.readtime IS NULL, 1235010424, threadread.readtime)
AND visible = 1;

MySQL Error : Table './mancred_techwars/post' is marked as crashed and should be repaired
Error Number : 145
Request Date : Saturday, February 28th 2009 @ 08:27:04 PM
Error Date : Saturday, February 28th 2009 @ 08:27:04 PM
Script : http://www.techwars.co.uk/index.php
Referrer : http://www.techwars.co.uk/admincp/index.php?do=head
IP Address : 217.171.129.72
Username : Mancunian_Red
Classname : vB_Database
MySQL Version : 5.1.30

Any help would be appreciated i am stuck i honestly don't know what i have done wrong.
Reply With Quote
  #2  
Old 03-01-2009, 02:16 AM
gsmph's Avatar
gsmph gsmph is offline
 
Join Date: Feb 2009
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

go to your includes/config.php

and add this line right under <?php

define('DISABLE_HOOKS', true);



br

gsmph
Reply With Quote
  #3  
Old 03-01-2009, 02:22 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Actually, you haven't done anything wrong, one (or more) or your tables got corrupted / crashed. You should go into your phpMyAdmin and check all your tables, repair any that need it and see if that fixes the problem. With luck, it will only be this table that crashed but you should check them all.
Reply With Quote
  #4  
Old 03-01-2009, 03:24 AM
Mancunian_Red Mancunian_Red is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbplusme View Post
Actually, you haven't done anything wrong, one (or more) or your tables got corrupted / crashed. You should go into your phpMyAdmin and check all your tables, repair any that need it and see if that fixes the problem. With luck, it will only be this table that crashed but you should check them all.
Excellent advise worked a treat thank you for your help.:up:
Reply With Quote
  #5  
Old 03-01-2009, 03:46 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hooray for you! Glad it worked out.
Reply With Quote
  #6  
Old 03-02-2009, 07:38 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gsmph View Post
go to your includes/config.php

and add this line right under <?php

define('DISABLE_HOOKS', true);



br

gsmph
Please only give advise if you know what is the cause and solution to a problem. The solution you are suggesting has nothing to do with the problem posted.
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 02:15 AM.


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.04150 seconds
  • Memory Usage 2,209KB
  • 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
  • (2)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
  • (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
  • 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