The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi
I created a new usergroup last night and created a promotion, and all users with 1 post or more went into the new usergroup, since doing this i have been getting this db error for certain members and i cannot figure out why, i have put all the members back in to the registered user group and removes the 1 i created, but still getting the error, can anyone advise please? Code:
Database error in vBulletin 3.6.7:
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, June 7th 2007 @ 06:58:41 PM
Script : http://www.bashys-place.com/forums/
|
|
#2
|
||||
|
||||
|
It's right here:
Code:
WHERE user.userid =; |
|
#3
|
|||
|
|||
|
Quote:
Thanks anyway Lynne |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|