Bug MySQL Error

Status
Not open for further replies.

webi

Customer
Hi Filip,

Since updating to the latest version, I keep getting the following error message.
Code:
Database error in vBulletin 4.2.2:

Invalid SQL:

					SELECT
						entry.*,
						user.username,
						user.usergroupid,
						user.membergroupids,
						user.infractiongroupid,
						user.displaygroupid,
						receiveduser.username AS receivedusername,
						receiveduser.usergroupid AS receivedusergroupid,
						receiveduser.membergroupids AS receivedmembergroupids,
						receiveduser.infractiongroupid AS receivedinfractiongroupid,
						receiveduser.displaygroupid AS receiveddisplaygroupid
						
					FROM (
						(
		SELECT
			download.downloadid AS postid,
			download.title AS posttitle,
			download.title AS threadtitle,
			download.userid,
			download.downloadid AS threadid,
			0 AS forumid,
			entry_vbdownloads_download.*
		FROM vbdbtech_thanks_entry AS entry_vbdownloads_download
		LEFT JOIN vbdbtech_downloads_download AS download ON (download.downloadid = entry_vbdownloads_download.contentid)
		WHERE entry_vbdownloads_download.entryid IN(22250)
	)
					) AS entry
					LEFT JOIN vbuser AS user ON(user.userid = entry.userid)
					LEFT JOIN vbuser AS receiveduser ON(receiveduser.userid = entry.receiveduserid)
					ORDER BY entryid DESC
					LIMIT 20;

MySQL Error   : Duplicate column name 'userid'
Error Number  : 1060
Request Date  : Wednesday, July 30th 2014 @ 12:30:48 PM
Error Date    : Wednesday, July 30th 2014 @ 12:30:48 PM
Script        : http://www.domain.com/members/25070-hkp-85.html
Referrer      : http://www.domain.com/
IP Address    : 127.0.0.1
Username      : hkp-85
Classname     : vB_Database_MySQLi
MySQL Version :

Best Regards
 
On this server running version 5.5.38

Another system where the Lite version is installed and appear the "same" error messages, the version 5.1.73
 
I've made a potential hotfix to /dbtech/thanks/includes/sql/profileblock.php, could you please re-download the latest version and re-upload that file, and tell me if that fixes it for you? :)
 
Status
Not open for further replies.

Legacy vBDownloads

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,716
Customer rating
0.00 star(s) 0 ratings
Back
Top