vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What could be the reason for this vbulletin-mysql-problem ? (https://vborg.vbsupport.ru/showthread.php?t=35188)

Gerdoso 02-18-2002 10:27 AM

I've recently installed some hacks ("Change Username via UserCP", "Custom Avatars as Files", "Country Flag Hack v2.0")
and experience a disturbing problem:


The following error in a mysql-statement occurs, when users enter their usercp or the PM's:

Quote:

...privatemessage.fromuserid<> AND privatemessage.fromuserid<>669 ORDER BY...
(a number is missing after "fromuserid<>")
The reason for this:

For some users, the ignore-list-row of the user-table the entry looks like:
" 32 669 299"
instead of
"32 669 299"

There's a space at the beginning of the line !! And that causes the mysql-statement to fail...

So, which script adds this space at the beginning of the ignore-list-row and what could be the problem ?

Admin 02-18-2002 10:30 AM

Upgrade to version 2.2.2 and this (a bug) will go away.

Scott MacVicar 02-18-2002 01:05 PM

its pretty much whitespace that shouldn't be there :)

theres a text file which tells you all the changes in the files between 2.2.1 and 2.2.2.

Gerdoso 02-18-2002 04:23 PM

Thanks!


All times are GMT. The time now is 01:37 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.01292 seconds
  • Memory Usage 1,711KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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