vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Need help with a db error (https://vborg.vbsupport.ru/showthread.php?t=194979)

nany37 10-30-2008 02:40 AM

Need help with a db error
 
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

Lynne 10-30-2008 02:44 AM

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.

nany37 10-30-2008 02:59 AM

thank you very much lynne

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

Quote:

Originally Posted by Lynne (Post 1655748)
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,2534,2548,247,2526,254 5,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

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

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

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

nany37 10-30-2008 09:11 AM

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

Marco van Herwaarden 10-30-2008 09:22 AM

Merged threads, please do not open mutliple threads regarding the same issue.

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

If you can not access your AdminCP, then you can upload the tools.php file from the vbulletin .zip file do_not_upload/ folder into your forumdir/admincp/ directory and run it through the browser, there's a switch there to run optimize and repair. Run it a few times for best result.

If you cannot access either the Admin CP or tools.php you can also use a tool like phpMyAdmin to repair tables.

snakes1100 10-30-2008 10:34 AM

Quote:

Originally Posted by nany37 (Post 1655873)
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.


If you can't access the admincp as you've stated, please access your web hosting panel, ie cpanel, directadmin etc, you can use phpmyadmin to repair/optimize the tables in the DB and correct your DB issues.


All times are GMT. The time now is 12:15 AM.

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.01174 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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