Users Tab Issue

Phoca Download - download manager
dniezby
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jan 2011, 18:24

Users Tab Issue

Post by dniezby »

I'm only assuming that this is an error.

On the Admin Side of the component I clicked on the USERS tab and this came up:
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 jos_users AS a
LEFT JOIN jos_phocadownload AS f ON f.owner_id = a.id
LEFT JOIN jos_phocadownload_categories AS cc ON cc.id = f.catid
LEFT JOIN jos_users AS ua ON ua.id=f.owner_id
LEFT JOIN jos_users AS uc ON uc.id=f.checked_out
LEFT JOIN (SELECT fa.owner_id, fa.id, count(*) AS countfaid FROM jos_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 jos_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 uc.name asc
I'm assuming that is not what you wanted showing up. How can I fix this and what SHOULD it be showing me?
pavelnap
Phoca Member
Phoca Member
Posts: 17
Joined: 10 Mar 2009, 14:25

Re: Users Tab Issue

Post by pavelnap »

Problem another prefix table (jos_)
dniezby
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 30 Jan 2011, 18:24

Re: Users Tab Issue

Post by dniezby »

What?
Jankom
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 01 Feb 2011, 22:09

Re: Users Tab Issue

Post by Jankom »

pavelnap wrote:Problem another prefix table (jos_)
I am sorry, dont think so.

Same problem with Phoca Download RC2 for J1.6 is on the my site. My prefix is jos_ as standard in default installation joomla 1.6.

Any solutions?

Jan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Users Tab Issue

Post by Jan »

hi, this is a test code which will be removed in next version.

Jan
If you find Phoca extensions useful, please support the project
Post Reply