Page 1 of 1

error in SQL syntax

Posted: 09 Feb 2013, 16:02
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?

Re: error in SQL syntax

Posted: 14 Feb 2013, 00:33
by Jan
Hi, this is known issue on some servers, should be fixed in Beta

Jan