vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   What is this database error saying? (https://vborg.vbsupport.ru/showthread.php?t=261650)

YankForum 04-08-2011 08:49 AM

What is this database error saying?
 
hello
for last few days i'm having hundreds of this error reporting to my email but i have not changed anything , i dont know what caused this , please have a look and let me know if u have any clue :


Code:

Database error in vBulletin 4.0.6:

Invalid SQL:

                              SELECT thread.threadid, thread.title, thread.prefixid, post.attach,
                                      thread.postusername, thread.dateline, thread.lastpostid, thread.lastpost, thread.lastposterid, thread.lastposter, thread.replycount,
                                      forum.forumid, forum.title_clean as forumtitle,
                                      post.pagetext AS message, post.allowsmilie, post.postid,
                                      user.*
                                      ,avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
                              FROM thread AS thread
                              INNER JOIN forum AS forum ON(forum.forumid = thread.forumid)
                              LEFT JOIN post AS post ON (post.postid = thread.firstpostid)
                              LEFT JOIN user AS user ON (thread.postuserid = user.userid)
                              LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
                      WHERE 1=1
                              AND thread.forumid IN(46,47,48,74,72,71,76,77,94,75,90,89,91,92,97,99,88,93,87,96,95,64,59,40,43,73,81,80,82,83,63,57,58,56,70,42,69,50,49,51,53,54,52,55,44,78,79,41,45,84,85,86,3,6,4,5,98,7)
                              AND thread.visible = 1
                              AND post.visible = 1
                              AND open <> 10
                                AND thread.lastpost > 1299662410


                      ORDER BY thread.lastpost DESC
                      LIMIT 0,5;

MySQL Error  : Incorrect key file for table '/tmp/#sql_502d_1.MYI'; try to repair it
Error Number  : 126
Request Date  : Friday, April 8th 2011 @ 02:20:10 AM
Error Date    : Friday, April 8th 2011 @ 02:20:10 AM
Script        : http://www.******.com/
Referrer      :
IP Address    : ******
Username      : Unregistered
Classname    : vB_Database
MySQL Version :


Boofo 04-08-2011 10:39 AM

<a href="http://www.vbulletin.com/forum/showthread.php/38834-Database-error-message-(incorrect-key-file-for-table" target="_blank">http://www.vbulletin.com/forum/showt...file-for-table</a>)

YankForum 04-08-2011 04:45 PM

yes that fixes it but i wonder what causes this?

borbole 04-08-2011 06:49 PM

Quote:

Originally Posted by YankForum (Post 2182368)
yes that fixes it but i wonder what causes this?


Mostly this error occurrs when there is not enough space for the drive your temporary directory is located at.

Boofo 04-08-2011 08:11 PM

How does that equate to a corrupted table?

YankForum 04-10-2011 08:34 AM

anyway what boofo suggested works fine , repairing tables through admincp


All times are GMT. The time now is 04:59 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.01082 seconds
  • Memory Usage 1,725KB
  • 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
  • (1)bbcode_code_printable
  • (1)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