Error 500 in backend Uploads section

General Forum
Jessica3485
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Oct 2013, 18:52

Error 500 in backend Uploads section

Post 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(*)
Jessica3485
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Oct 2013, 18:52

Re: Error 500 in backend Uploads section

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error 500 in backend Uploads section

Post 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?
If you find Phoca extensions useful, please support the project
Post Reply