Here is the full message:
PHP Code:
Database error in vBulletin 4.1.1:
Invalid SQL:
SELECT
thanks_given AS value,
userid,
username,
user.usergroupid,
infractiongroupid,
displaygroupid
FROM dbtech_thanks_statistics AS dbtech_thanks_statistics
LEFT JOIN user AS user USING(userid)
LEFT JOIN usergroup AS usergroup ON (usergroup.usergroupid = user.usergroupid)
WHERE (usergroup.genericoptions & 32)
GROUP BY userid
ORDER BY value DESC, username ASC
LIMIT 5;
MySQL Error : Column 'userid' in field list is ambiguous
Error Number : 1052
Request Date : Tuesday, February 15th 2011 @ 11:43:45 AM
Error Date : Tuesday, February 15th 2011 @ 11:43:46 AM
Script : http://www.xxxxxxx.com/thanks.php?do=statistics
Referrer : http://xxxxxxx.com/
IP Address : xx.xxx.xxx.xxx
Username : xxxxx
Classname : vB_Database
MySQL Version : 4.1.22-standard