Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
Details »»

Version: , by TWTCommish TWTCommish is offline
Developer Last Online: Dec 2022 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-18-2002 Last Update: Never Installs: 0
 
No support by the author.

Alright, I'm stumped. I keep getting an error when I try to update my forum info counters. I've looked in the code, but the error I'm getting gives me little to work with, as it doesn't display any actual query. Can someone help me out?

Quote:
Database error in vBulletin Control Panel 2.2.0:

Invalid query id specified
mysql error:

mysql error number: 0

Date: Monday 18th of February 2002 06:06:43 PM
Script: http://www.movieforums.net/admin/misc.php
Referer: http://www.movieforums.net/admin/mis...action=chooser

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-31-2002, 03:02 PM
Bubba Bubba is offline
 
Join Date: Jan 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am getting the same thing! It's coming from all over the place too. I upgraded to 2.2.4 and appiled a couple of the hacks on this board. Now I get about 20-30 emails daily with this error.

I know the error is triggered by the "fetch_array" method in the DB class, but that is called by the "query_first" method too, so it's hard to pin down the exact cause.

The various referrers have been:
usercp.php
member.php
private.php
memberlist.php

Here are the hacks I have installed as well:
vBstats
Post Counter & Direct Link
New code, PHP and quote boxes!
Download PM's to File
vBpad
Reason for post edit
Improved PM popup Javascript

Anyone got any ideas??
Reply With Quote
  #3  
Old 03-31-2002, 03:25 PM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are you using the latest and greates version of MySQL? If so try reverting to something a bit older.
Reply With Quote
  #4  
Old 04-02-2002, 12:01 AM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't revert to anything older, I'm on a shared server. Anyway, I am a little confused as to why that would be a problem. I didn't think there were any queries that would be effected by any newer versions of MySQL.
Reply With Quote
  #5  
Old 04-08-2002, 03:51 AM
Lethal Lethal is offline
 
Join Date: Feb 2002
Location: PA/USA
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the same error for some reason when someone posted in my forum the other day. I can't delete it or view it to see what the problem is. Here is the email that keeps getting sent to me when someone trys to view it:

-------------------------

Database error in vBulletin Mod Control Panel 2.2.4:

Invalid SQL: SELECT userid,attachmentid,postid FROM post WHERE
threadid='70'
mysql error: Got error 127 from table handler

mysql error number: 1030

Date: Sunday 07th of April 2002 02:08:35 PM
Warning: MySQL: Unable to save result set
Invalid SQL: SELECT COUNT(*) AS posts FROM post WHERE post.threadid='70' AND post.visible=1
mysql error: Got error 127 from table handler

mysql error number: 1030

Date: Sunday 07th of April 2002 02:19:34 PM
There seems to have been a slight problem with the ->Infection database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. Database error in vBulletin 2.2.4:Invalid SQL: SELECT COUNT(*) AS posts FROM post WHERE post.threadid='70' AND post.visible=1mysql error: Got error 127 from table handlermysql error number: 1030Date: Sunday 07th of April 2002 02:19:34
--------------------

Can someone please help me out with this?
Reply With Quote
  #6  
Old 04-08-2002, 04:09 AM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by TWTCommish
I can't revert to anything older, I'm on a shared server. Anyway, I am a little confused as to why that would be a problem. I didn't think there were any queries that would be effected by any newer versions of MySQL.
Newer versions of software sometimes break things. I think you would be aware of that from vBulletin. A client of mine had this problem with a vague error caused by perfect queries on an uncorrupted database. The host had just upgraded her to the latest version of MySQL. I told her to have her host put her back on the version she was at. As soon as it was, the problem vanished. YMMV but you should be open to suggestions as to what the cause of the problem could be.
Reply With Quote
  #7  
Old 04-08-2002, 04:10 AM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Lethal
I got the same error for some reason when someone posted in my forum the other day. I can't delete it or view it to see what the problem is. Here is the email that keeps getting sent to me when someone trys to view it:

-------------------------

Database error in vBulletin Mod Control Panel 2.2.4:

Invalid SQL: SELECT userid,attachmentid,postid FROM post WHERE
threadid='70'
mysql error: Got error 127 from table handler

mysql error number: 1030

Date: Sunday 07th of April 2002 02:08:35 PM
Warning: MySQL: Unable to save result set
Invalid SQL: SELECT COUNT(*) AS posts FROM post WHERE post.threadid='70' AND post.visible=1
mysql error: Got error 127 from table handler

mysql error number: 1030

Date: Sunday 07th of April 2002 02:19:34 PM
There seems to have been a slight problem with the ->Infection database. Please try again by pressing the refresh button in your browser. An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists. We apologise for any inconvenience. Database error in vBulletin 2.2.4:Invalid SQL: SELECT COUNT(*) AS posts FROM post WHERE post.threadid='70' AND post.visible=1mysql error: Got error 127 from table handlermysql error number: 1030Date: Sunday 07th of April 2002 02:19:34
--------------------

Can someone please help me out with this?
You have a different problem. Your database is corrupted. You need to run repair.php on it.
Reply With Quote
  #8  
Old 04-08-2002, 04:18 AM
TWTCommish's Avatar
TWTCommish TWTCommish is offline
 
Join Date: Oct 2001
Location: Pittsburgh, PA, USA
Posts: 783
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
Newer versions of software sometimes break things. I think you would be aware of that from vBulletin. A client of mine had this problem with a vague error caused by perfect queries on an uncorrupted database. The host had just upgraded her to the latest version of MySQL. I told her to have her host put her back on the version she was at. As soon as it was, the problem vanished. YMMV but you should be open to suggestions as to what the cause of the problem could be.
I never said I disagreed, Freddie. I said I was confused as to why it would be an issue. If you take that as me questioning your knowledge or something of the sort, well, I'm sorry. It's not what I meant, or said, at all.

Anyway, as I said, it's not an option. Do you know of any queries offhand that could be causing this? Is there any relatively easy way around it?
Reply With Quote
  #9  
Old 04-08-2002, 05:34 AM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, your first thing to do with error:0 is to look at mysql for the problem.
Reply With Quote
Reply

Thread Tools

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 06:34 PM.


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.06048 seconds
  • Memory Usage 2,278KB
  • Queries Executed 22 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)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