Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-25-2005, 06:27 AM
Grant Sherwood Grant Sherwood is offline
 
Join Date: Jul 2004
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Wierd Error

Well my server went down and then when it came back up the board says this.



Code:
 Database error in vBulletin 3.0.3:

Invalid SQL: 
   SELECT thread.pollid, open, threadid, replycount, forumid, question, poll.dateline, options, votes, active, numberoptions, timeout, multiple, voters, public , pollvoteid
   FROM vb_thread AS thread
   INNER JOIN vb_poll AS poll USING (pollid) 
   LEFT JOIN vb_pollvote AS pollvote ON (pollvote.pollid = poll.pollid AND pollvote.userid = 3)
   LEFT JOIN vb_deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
   WHERE open <> 10 AND thread.pollid != 0 AND visible = 1 AND deletionlog.primaryid IS NULL  AND forumid IN(68) ORDER BY poll.pollid DESC
   LIMIT 1
 
mysql error: Got error 28 from table handler

mysql error number: 1030

Date: Wednesday 25th of May 2005 02:19:44 AM
Script: http://ntsr.org/forums/portal.php?
Referer: 
Username: *****
IP Address: **.**.***.*










Any ideas on whats causing this??
Reply With Quote
  #2  
Old 05-25-2005, 08:41 AM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Corruption of some form, try repairing the table, if that doesn't work, tell your host

- Zero Tolerance
Reply With Quote
  #3  
Old 05-25-2005, 04:26 PM
Grant Sherwood Grant Sherwood is offline
 
Join Date: Jul 2004
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well now that i look my forum is working just my portal home page is the only place showing this error. I had my hoster look at the file limit size to see if anything was full but he said everything is mostly around 50% or less so its not that..any ideas??

BTW- the portal im using is vBa CMPS

in the admin CP when i try and look at the defualt settings it gives me this error:

Code:
Database error in vBulletin 3.0.3:

Invalid SQL: 
			SELECT adv_setting.*
			FROM vb_adv_setting AS adv_setting
			LEFT JOIN vb_adv_settinggroup AS adv_settinggroup USING (grouptitle)
			WHERE adv_settinggroup.grouptitle LIKE 'adv_portal%'
			ORDER BY adv_settinggroup.displayorder, adv_setting.displayorder
	
mysql error: Got error 28 from table handler

mysql error number: 1030

Date: Wednesday 25th of May 2005 12:24:05 PM
Script: http://www.ntsr.org/forums/admincp/vba_cmps_admin.php?do=modifysettings
Referer: http://www.ntsr.org/forums/admincp/
Username: Fatal
IP Address: 69.69.192.2
i can go to edit modules and ++++ like that. everything seems to be working fine just the portal is giving me these errors.

This also comes up when i try and check my PM's:

Code:
Database error in vBulletin 3.0.3:

Invalid SQL: 
			SELECT 
			thread.threadid, thread.title, replycount, postusername, postuserid, thread.dateline AS postdateline, thread.lastposter, thread.lastpost, IF(views<=replycount, replycount+1, views) AS views, forumid, post.postid, pagetext, allowsmilie
			
  		,thread.iconid AS threadiconid, iconpath AS threadiconpath 
  		, avatarpath, NOT ISNULL(avatardata) AS hascustom, customavatar.dateline AS avatardateline, avatarrevision 
  		 
  		
			FROM vb_thread AS thread
			LEFT JOIN vb_post AS post ON (post.postid = thread.firstpostid) 
  		LEFT JOIN vb_icon USING (iconid) 
  		 
			LEFT JOIN vb_user AS user ON (user.userid = post.userid)
			
			
  		
				LEFT JOIN vb_avatar as avatar ON (avatar.avatarid = user.avatarid)
				LEFT JOIN vb_customavatar as customavatar ON (customavatar.userid = user.userid)
			 
  		 
			LEFT JOIN vb_deletionlog AS deletionlog ON (thread.threadid = deletionlog.primaryid AND type = 'thread')
			WHERE forumid IN(69) AND thread.visible = 1 AND thread.open != 10 AND deletionlog.primaryid IS NULL
			GROUP BY post.postid
			ORDER BY  postdateline DESC 
			LIMIT 4
mysql error: Got error 28 from table handler

mysql error number: 1030

Date: Wednesday 25th of May 2005 12:21:21 PM
Script: http://ntsr.org/forums/portal.php?
Referer: 
Username: Fatal
IP Address: 69.69.192.2

i ran the Repair/Optimize tables thing and everything came back either STATUS: OK or STATUS: Table is already up to date.

if i had 3 wishes onw would definatly be to know everything about computers and this stuff.
Reply With Quote
  #4  
Old 05-25-2005, 05:00 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well then something is wrong, try to optimize/check/analyze the tables. More information: http://dev.mysql.com/doc/mysql/en/ta...intenance.html

- Zero Tolerance
Reply With Quote
  #5  
Old 05-25-2005, 05:42 PM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Submit a trouble ticket to vbadvanced at vbadvanced.com ..... He is really prompt and knows his software well.
Reply With Quote
  #6  
Old 05-25-2005, 06:56 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by corriewf
Submit a trouble ticket to vbadvanced at vbadvanced.com ..... He is really prompt and knows his software well.
Error: 28 means that a directory is full or wrong permissions.

You should immediate stop your database and contact your host about the diskspace problems.
Reply With Quote
  #7  
Old 05-25-2005, 07:20 PM
Corriewf's Avatar
Corriewf Corriewf is offline
 
Join Date: Dec 2004
Location: parse error
Posts: 799
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
Error: 28 means that a directory is full or wrong permissions.

You should immediate stop your database and contact your host about the diskspace problems.
Yeah, but would that explain why its just the cmps. I ran out of disk space once and kept getting sql errors on the whole site when cron jobs tried to run.
Reply With Quote
  #8  
Old 05-26-2005, 04:54 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it could be limited to 1 specific query. If a query is run for which MySQL decides it is better to use a temporary table to use for sorting for example and your tmp-directory don't have enough space to hold all the data for that specific query, then this could happen.

Make sure you have also enough free space in your tmp-directory and run a repair on all tables.
Reply With Quote
  #9  
Old 05-26-2005, 06:43 AM
Grant Sherwood Grant Sherwood is offline
 
Join Date: Jul 2004
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well magically it all started work w/o ptoblems................yet.
Reply With Quote
  #10  
Old 05-26-2005, 03:05 PM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got that first error when there was a backup being made of the entire database (when switching servers). The /tmp folder was full which is what was giving me the error.
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:11 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.07266 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_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