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 11-23-2005, 07:49 PM
monotreme monotreme is offline
 
Join Date: Nov 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default I believe this is a bug in vbulletin

I have a pretty virgin BB install with no load on it. I have my own mysql server and it works fine for everybody. This is a query error and it's not because of anything I hacked on. I have been screwing around strictly on the outside, with cookies and what not, and I have been externally deleting vbulletin's cookies. I'm rather frequently getting a database error. When I repeat the same thing it always clears up so it's no biggie. But perhaps vb should not be generating invalid SQL because a cookie was not where they expected it. Here's the notification I get:

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT *
FROM vb_session
WHERE userid = 0
AND host = 'xx.xxx.xxx.xxx'
AND idhash = '40fa72da473f960ef3027051150a9db8'
LIMIT 1;

MySQL Error : Record has changed since last read in table 'vb_session'
Error Number : 1020
Date : Wednesday, November 23rd 2005 @ 10:25:36 AM
Script : http://xxx.xxxxx.xx/vb/login.php
Referrer :
IP Address : xx.xxx.xxx.xxx
Username :
Classname : vb_database
Reply With Quote
  #2  
Old 11-23-2005, 09:12 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you think it's a bug then log it in the bugs database at vbulletin.com.
Reply With Quote
  #3  
Old 11-23-2005, 09:16 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by monotreme
I have a pretty virgin BB install with no load on it. I have my own mysql server and it works fine for everybody. This is a query error and it's not because of anything I hacked on. I have been screwing around strictly on the outside, with cookies and what not, and I have been externally deleting vbulletin's cookies. I'm rather frequently getting a database error. When I repeat the same thing it always clears up so it's no biggie. But perhaps vb should not be generating invalid SQL because a cookie was not where they expected it. Here's the notification I get:

Database error in vBulletin 3.5.0:

Invalid SQL:

SELECT *
FROM vb_session
WHERE userid = 0
AND host = 'xx.xxx.xxx.xxx'
AND idhash = '40fa72da473f960ef3027051150a9db8'
LIMIT 1;

MySQL Error : Record has changed since last read in table 'vb_session'
Error Number : 1020
Date : Wednesday, November 23rd 2005 @ 10:25:36 AM
Script : http://xxx.xxxxx.xx/vb/login.php
Referrer :
IP Address : xx.xxx.xxx.xxx
Username :
Classname : vb_database
I externally delete cookies all the time and have never gotten any errors like this. There's more going on somewhere.
Reply With Quote
  #4  
Old 11-24-2005, 01:29 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
If you think it's a bug then log it in the bugs database at vbulletin.com.
It means you have an old version of mysql 4.1 that you haven't upgraded, its a mysql bug.
Reply With Quote
  #5  
Old 11-24-2005, 11:21 PM
monotreme monotreme is offline
 
Join Date: Nov 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running 4.1.7-max-log
What is the recommended release of mysql 4.1 for vbulletin?
Reply With Quote
  #6  
Old 11-25-2005, 07:23 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The latest release is recommended, which is now 4.1.16 (dificult to find, release presented as current is 4.1.15).
Reply With Quote
  #7  
Old 11-27-2005, 11:33 PM
monotreme monotreme is offline
 
Join Date: Nov 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you know if ..15 will solve the problem? I'll upgrade it if so. It is confounding my login integration efforts. This bug rears its ugly head when my outside code tries to select on the session table in vb. but it's reared its ugly head with me just being a normal vb user as well.... so I don't kknow if the problem is me or this bug.
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 01:31 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.05087 seconds
  • Memory Usage 2,219KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)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