ERR /var/www/cms-mol-produzione/pedagogia/release-0.94/engine/Model.php 132

_doQuery: [Error message: Could not execute statement] [Last executed query: select tr.*, a.site_id, a.creation_date, a.owner_id, a.owner_del, a.owner_edit, a.modified_date, a.modifier_id, a.cond, a.cond_term from (select e.* , cd1.fieldvalue as author, cd2.fieldvalue as author_s, cd3.fieldvalue as title, cd4.fieldvalue as subtitle, cd5.fieldvalue as abstract, cd6.fieldvalue as content, cd12.categories_names as categories, cd12.categories_names as categories_names, cd12.paths as categories_paths, cd12.pathnames as categories_pathnames from articles as e left outer join contents_data as cd1 on (cd1.content_id= e.content_id and cd1.fieldname='author' and cd1.locale='ita') left outer join contents_data as cd2 on (cd2.content_id= e.content_id and cd2.fieldname='author_s' and cd2.locale='ita') left outer join contents_data as cd3 on (cd3.content_id= e.content_id and cd3.fieldname='title' and cd3.locale='ita') left outer join contents_data as cd4 on (cd4.content_id= e.content_id and cd4.fieldname='subtitle' and cd4.locale='ita') left outer join contents_data as cd5 on (cd5.content_id= e.content_id and cd5.fieldname='abstract' and cd5.locale='ita') left outer join contents_data as cd6 on (cd6.content_id= e.content_id and cd6.fieldname='content' and cd6.locale='ita') join (select cd10.article_id, group_concat(cd10.category_id separator ' , ') as categories, group_concat(cd11.name separator ' , ') as categories_names, group_concat(path separator ';') as paths, group_concat(pathname separator ';') as pathnames from (select cd7.*, group_concat(cd9.name separator ' , ') as pathname, group_concat(cd8.parent_category_id separator ' , ') as path from articles_categories cd7 join categories_tree cd8 on cd7.category_id=cd8.category_id join categories cd9 on cd9.category_id=cd8.parent_category_id group by article_id, cd7.category_id order by cd8.level) as cd10 join categories cd11 on cd10.category_id=cd11.category_id group by article_id) as cd12 on (cd12.article_id=e.article_id) where e.article_id = ) tr, acls a where a.acl_id=tr.acl_id and a.site_id = 1 and (((a.cond = 'memberOf') and (a.cond_term in ('visitatori'))))] [Native code: 1064] [Native message: 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 ') tr, acls a where a.acl_id=tr.acl_id and a.site_id = 1 and (((a.cond = 'mem' at line 36]