The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Avatar(forumhome) problem with me...
I am having a problem with MySql and avatars when I visit the forum home page. This is the error that i get whenever I am logged in and visit the forumhome.
Code:
Database error in vBulletin 3.5.2: 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 : Tuesday, December 27th 2005 @ 11:18:44 PM Script : http://www.myetalk.com/forums/index.php Referrer : http://www.myetalk.com/forums/login.php IP Address : 69.156.33.211 Username : The Chief Classname : vb_database |
#2
|
||||
|
||||
Go to phpmyadmin and run this query:
ALTER TABLE customavatar CHANGE filedata filedata MEDIUMBLOB NOT NULL That should fix your problem. Mark |
#3
|
||||
|
||||
Quote:
|
#4
|
||||
|
||||
Great. This is a past problem with 3.5.1, but since you are on 3.5.2, that should have fixed it. Anyway, glad you got it running.
|
#5
|
|||
|
|||
An empty userid in the WHERE clause is not caused by the datatype of a column.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|