View Single Post
  #4  
Old 10-30-2008, 09:11 AM
nany37 nany37 is offline
 
Join Date: Aug 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

trying to solve a problem with our hosting we have encountered the following error on the data base and we can only access the main page on the forum how can we fix this?. We would be grateful if you could help us solve it.



Database error in vBulletin 3.6.8:

Invalid SQL:

SELECT MIN(postid) AS postid
FROM post
WHERE threadid = 2549
AND visible = 1
AND dateline > 1225335006

LIMIT 1;

MySQL Error : Table './atormen1_vbtest/post' is marked as crashed and last (automatic?) repair failed
Error Number : 144
Date : Wednesday, October 29th 2008 @ 10:02:53 PM
Script : http://atormentadas.net/showthread.p...newpost&t=2549
Referrer : http://atormentadas.net/index.php?styleid=1
IP Address : 190.189.159.47
Username : nany
Classname : vB_Database
Edit/Delete Message

lynne tell us to do this to solve the problem

You need to repair/optimize your post table. You can do this through your admin cp > maintenance > repair/optimize tables or through something like phpMyAdmin or even through shell access.



We are trying to do that through our admin cp since 5 hours ago and now appears this error. Could you help us? What are we doing wrong?

Database error in vBulletin 3.6.8:

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
, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason

, threadredirect.expires

FROM thread AS thread
LEFT JOIN deletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')
LEFT JOIN subscribethread AS subscribethread ON(subscribethread.threadid = thread.threadid AND subscribethread.userid = 1 AND canview = 1)

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

LEFT JOIN threadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)

WHERE thread.threadid IN (0,2549,2563,2556,2559,2561,2557,2555,2560,2558,25 47,2552,2550,2546,2553,2544,25 34,2548,247,2526,2545,207,1207,2536)
ORDER BY sticky DESC, lastpost DESC;

MySQL Error : Table './atormen1_vbtest/post' is marked as crashed and last (automatic?) repair failed
Error Number : 144
Date : Thursday, October 30th 2008 @ 04:47:33 AM
Script : http://atormentadas.net/forumdisplay.php?f=19
Referrer : http://atormentadas.net/index.php?styleid=1
IP Address : 190.189.159.47
Username : admin
Classname : vB_Database
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01117 seconds
  • Memory Usage 1,771KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete