Originally Posted by Nordinho
PHP Code:
Database error in vBulletin 3.5.2:
Invalid SQL:
SELECT user.*,usertextfield.*,userfield.*, user.userid, options,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
,avatar.avatarpath,NOT ISNULL(customavatar.userid) AS hascustomavatar,customavatar.dateline AS avatardateline, customavatar.width AS avwidth, customavatar.height AS avheight
,customprofilepic.userid AS profilepic, customprofilepic.dateline AS profilepicdateline, customprofilepic.width AS ppwidth, customprofilepic.height AS ppheight
, lastactivity AS lastvisittime
, journals.journal_id
FROM user AS user
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid=user.userid)
LEFT JOIN userfield AS userfield ON(userfield.userid=user.userid)
LEFT JOIN avatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN customavatar AS customavatar ON(customavatar.userid = user.userid)
LEFT JOIN customprofilepic AS customprofilepic ON (user.userid = customprofilepic.userid)
LEFT JOIN journals AS journals ON (journals.journalist_id=user.userid) LEFT JOIN customprofilepic AS customprofilepic ON (customprofilepic.userid=user.userid)
WHERE 1=1 AND user.showbirthday > 0 AND IFNULL(YEAR(FROM_DAYS(TO_DAYS(NOW())-TO_DAYS(user.birthday_search))), 0) >= 15 AND IFNULL(YEAR( FROM_DAYS(TO_DAYS(NOW())-TO_DAYS(user.birthday_search))), 0) <= 36 AND ISNULL(customprofilepic.userid)
AND user.usergroupid IN (-1,6,7,9,120,2,5,81,123)
ORDER BY user.username asc
LIMIT 0, 30;
MySQL Error : Not unique table/alias: 'customprofilepic'
Getting this error now...uninstalled the old product and reimported the new one
edit: get this error by email when installing
PHP Code:
Invalid SQL:
DELETE FROM productrequirement WHERE product=''
;
and when the product installs it gives these errors
PHP Code:
Warning: mysql_query(): 7 is not a valid MySQL-Link resource in /includes/class_core.php on line 395
Warning: mysql_error(): 7 is not a valid MySQL-Link resource in /includes/class_core.php on line 837
Warning: mysql_errno(): 7 is not a valid MySQL-Link resource in /includes/class_core.php on line 855
There seems
but the script redirects too fast to copy the whole error...
|