Status
Not open for further replies.

Jem

Customer
Database error in vBulletin 4.1.5:

Invalid SQL:

SELECT commandlog.*, commandlog.username AS cmdusername, user.username

FROM dbtech_vbshout_log AS commandlog
LEFT JOIN user AS user ON (user.userid = commandlog.userid)
When viewing the command log, if I click on the username header to sort by name, I get the following databsse error:



ORDER BY username ASC, dateline DESC
LIMIT 0, 15;

MySQL Error : Column 'username' in order clause is ambiguous
Error Number : 1052
Request Date : Wednesday, August 31st 2011 @ 12:17:18 AM
Error Date : Wednesday, August 31st 2011 @ 12:17:18 AM
Script : http://forum.sadaar.com/admincp/vbs...view&modaction=&u=0&pp=15&orderby=user&page=1
Referrer : http://forum.sadaar.com/admincp/vbshout.php?do=commandlog
IP Address : xx.xx.xx.xx
Username : Sadxxx
Classname : vB_Database
MySQL Version : 5.5.14

Please advise
 
Status
Not open for further replies.

Legacy vBShout

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