error in SQL syntax

Phoca Gallery - image gallery extension
martinneke
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 09 Feb 2013, 15:59

error in SQL syntax

Post by martinneke »

After installing in Phoca-galley in Joomla.3.x following erro appears:

Code: Select all

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 '' at line 11 SQL=SELECT a.*,l.title AS language_title,uc.name AS editor,ag.title AS access_level,c.title AS parentcat_title, c.id AS parentcat_id,ua.id AS userid, ua.username AS username, ua.name AS usernameno,v.average AS ratingavg,cc.countid AS countid FROM `vp0wu_phocagallery_categories` AS a LEFT JOIN `vp0wu_languages` AS l ON l.lang_code = a.language LEFT JOIN vp0wu_users AS uc ON uc.id=a.checked_out LEFT JOIN vp0wu_viewlevels AS ag ON ag.id = a.access LEFT JOIN vp0wu_phocagallery_categories AS c ON c.id = a.parent_id LEFT JOIN vp0wu_users AS ua ON ua.id = a.owner_id LEFT JOIN vp0wu_phocagallery_votes_statistics AS v ON v.catid = a.id LEFT JOIN (SELECT cc.parent_id, count(*) AS countid FROM vp0wu_phocagallery_categories AS cc GROUP BY cc.parent_id ) AS cc ON a.parent_id = cc.parent_id GROUP BY a.id ORDER BY 
Anything I can do to correct this?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: error in SQL syntax

Post by Jan »

Hi, this is known issue on some servers, should be fixed in Beta

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