vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Database Error (https://vborg.vbsupport.ru/showthread.php?t=110554)

The Realist 03-16-2006 02:54 PM

Database Error
 
Hi,

Well I just found out that members on my forum are getting a database error, but admin and moderators are able to use the forum 100%.

The error is:

Database error in vBulletin 3.5.4:

Invalid SQL:

SELECT user.avatarid, user.avatarrevision, avatarpath, NOT ISNULL(customavatar.userid) AS hascustom, customavatar.dateline,
customavatar.width, customavatar.height
FROM user AS user
LEFT JOIN avatar AS avatar ON avatar.avatarid = user.avatarid
LEFT JOIN customavatar AS customavatar ON customavatar.userid = user.userid
WHERE user.userid =;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 6
Error Number : 1064
Date : Thursday, March 16th 2006 @ 04:50:51 PM
Script :
Referrer :
IP Address :
Username :
Classname : vb_database

Does anyone have any ideas why?

Laters

amykhar 03-16-2006 03:25 PM

what mods have you implemented recently that affect custom avatars? A store mod maybe?

The Realist 03-16-2006 03:31 PM

No store mods installed.

amykhar 03-16-2006 03:32 PM

anything else that goes near the profile options? Something has wiped out the userid in the query.

The Realist 03-16-2006 03:35 PM

Are you on MSN M8?

amykhar 03-16-2006 03:43 PM

Nope. I'm at work and keep sneaking in here when I should be doing real stuff ;)

AKapadia 03-16-2006 04:00 PM

the error is for all user or just the use who dont have thier Avtar ?

The Realist 03-16-2006 04:07 PM

Admin are ok.
Super Mods are ok.

All my other usergroups are effected.

If I change a users usergroup I get the database error as well.

amykhar 03-16-2006 04:35 PM

Disable all of your plugins and create a pure default style. Check to see if the problem still happens. If not, enable your plugins one by one and see when the problem starts up again.

The Realist 03-17-2006 02:07 PM

I have a default style with my standard template using the default template as a parent style. I have disabled all hacks and tested using the default style and the error is still there.

This tells me (if Im right) its a file thats been edited thats causing the problem and not a template.

Are there any coders available that would like to earn a few dollars sorting out this error for me.

PM me please.

Laters


All times are GMT. The time now is 04:57 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.01650 seconds
  • Memory Usage 1,721KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete