vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   I believe this is a bug in vbulletin (https://vborg.vbsupport.ru/showthread.php?t=101427)

monotreme 11-23-2005 07:49 PM

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

Paul M 11-23-2005 09:12 PM

If you think it's a bug then log it in the bugs database at vbulletin.com.

Boofo 11-23-2005 09:16 PM

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. ;)

Zachery 11-24-2005 01:29 AM

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.

monotreme 11-24-2005 11:21 PM

I'm running 4.1.7-max-log
What is the recommended release of mysql 4.1 for vbulletin?

Marco van Herwaarden 11-25-2005 07:23 AM

The latest release is recommended, which is now 4.1.16 (dificult to find, release presented as current is 4.1.15).

monotreme 11-27-2005 11:33 PM

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.


All times are GMT. The time now is 09:28 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.01023 seconds
  • Memory Usage 1,726KB
  • 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
  • (7)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