Page 1 of 1

Error 500 in backend Uploads section

Posted: 18 Oct 2013, 18:58
by Jessica3485
When I go to the uploads sections of the extension in the administrator area, I get the following message.Joomla 3.1.5

500 Column 'username' in order clause is ambiguous SQL=SELECT a.*,f.id as file_id,cc.id as category_id,ua.id AS userid, ua.username AS username, ua.name AS usernameno,uc.name AS editor,fa.countfaid,fn.countfnid FROM burchfie_users AS a LEFT JOIN burchfie_phocadownload AS f ON f.owner_id = a.id LEFT JOIN burchfie_phocadownload_categories AS cc ON cc.id = f.catid LEFT JOIN burchfie_users AS ua ON ua.id=f.owner_id LEFT JOIN burchfie_users AS uc ON uc.id=f.checked_out LEFT JOIN (SELECT fa.owner_id, fa.id, count(*) AS countfaid FROM burchfie_phocadownload AS fa WHERE fa.approved = 1 GROUP BY fa.owner_id) AS fa ON a.id = fa.owner_id LEFT JOIN (SELECT fn.owner_id, fn.id, count(*) AS countfnid FROM burchfie_phocadownload AS fn WHERE fn.approved = 0 GROUP BY fn.owner_id) AS fn ON a.id = fn.owner_id WHERE a.id > 0 AND (fa.countfaid > 0 OR fn.countfnid > 0) GROUP BY a.id ORDER BY username asc, a.id asc Column 'username' in order clause is ambiguous SQL=SELECT a.*,f.id as file_id,cc.id as category_id,ua.id AS userid, ua.username AS username, ua.name AS usernameno,uc.name AS editor,fa.countfaid,fn.countfnid FROM burchfie_users AS a LEFT JOIN burchfie_phocadownload AS f ON f.owner_id = a.id LEFT JOIN burchfie_phocadownload_categories AS cc ON cc.id = f.catid LEFT JOIN burchfie_users AS ua ON ua.id=f.owner_id LEFT JOIN burchfie_users AS uc ON uc.id=f.checked_out LEFT JOIN (SELECT fa.owner_id, fa.id, count(*) AS countfaid FROM burchfie_phocadownload AS fa WHERE fa.approved = 1 GROUP BY fa.owner_id) AS fa ON a.id = fa.owner_id LEFT JOIN (SELECT fn.owner_id, fn.id, count(*) AS countfnid FROM burchfie_phocadownload AS fn WHERE fn.approved = 0 GROUP BY fn.owner_id) AS fn ON a.id = fn.owner_id WHERE a.id > 0 AND (fa.countfaid > 0 OR fn.countfnid > 0) GROUP BY a.id ORDER BY username asc, a.id asc LIMIT 0, 20 Column 'username' in order clause is ambiguous SQL=SELECT a.*,f.id as file_id,cc.id as category_id,ua.id AS userid, ua.username AS username, ua.name AS usernameno,uc.name AS editor,fa.countfaid,fn.countfnid FROM burchfie_users AS a LEFT JOIN burchfie_phocadownload AS f ON f.owner_id = a.id LEFT JOIN burchfie_phocadownload_categories AS cc ON cc.id = f.catid LEFT JOIN burchfie_users AS ua ON ua.id=f.owner_id LEFT JOIN burchfie_users AS uc ON uc.id=f.checked_out LEFT JOIN (SELECT fa.owner_id, fa.id, count(*) AS countfaid FROM burchfie_phocadownload AS fa WHERE fa.approved = 1 GROUP BY fa.owner_id) AS fa ON a.id = fa.owner_id LEFT JOIN (SELECT fn.owner_id, fn.id, count(*)

Re: Error 500 in backend Uploads section

Posted: 18 Oct 2013, 18:58
by Jessica3485
AS countfnid FROM burchfie_phocadownload AS fn WHERE fn.approved = 0 GROUP BY fn.owner_id) AS fn ON a.id = fn.owner_id WHERE a.id > 0 AND (fa.countfaid > 0 OR fn.countfnid > 0) GROUP BY a.id ORDER BY username asc, a.id asc


Sorry, couldn't get error in one posting.

Re: Error 500 in backend Uploads section

Posted: 21 Oct 2013, 18:34
by Jan
Hi, what you exactly means, "upload sections", there are no sections in Phoca Download 3 :idea: Are you using Phoca Download 3 in your Joomla! 3?