Page 1 of 1

new categories not shown

Posted: 01 Apr 2010, 11:33
by mguwak
I install the last Joomla and Phoca Gallery version.
Problem in Backend is, I create categories, but see this new one, not in a list.
I see only empty list.

Re: new categories not shown

Posted: 01 Apr 2010, 13:24
by mguwak
[quote]JDatabaseMySQL::query: 1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT c.parent_id, count(*) AS countid FROM jos_phocagallery_c SQL=SELECT a.*, cc.title AS parentname, u.name AS editor, g.name AS groupname, v.average AS ratingavg, ua.username AS usercatname, c.countid AS countid FROM jos_phocagallery_categories AS a LEFT JOIN jos_users AS u ON u.id = a.checked_out LEFT JOIN jos_groups AS g ON g.id = a.access LEFT JOIN jos_phocagallery_categories AS cc ON cc.id = a.parent_id LEFT JOIN jos_phocagallery_votes_statistics AS v ON v.catid = a.id LEFT JOIN jos_users AS ua ON ua.id = a.owner_id JOIN (SELECT c.parent_id, count(*) AS countid FROM jos_phocagallery_categories AS c GROUP BY c.parent_id ) AS c ON a.parent_id = c.parent_id ORDER BY a.ordering[/quote]

Re: new categories not shown

Posted: 01 Apr 2010, 20:36
by Jan
Hi, there is problem with mysql 4, it works OK with mysql 5.

I am trying to find some other solution for the mysql 4.

Jan