No valid database connection 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 ') AND c.published = 1 AND a.published = 1 ORDER BY c.ordering, a.ordering' at line 3 SQL=SELECT a.*, c.title as cattitle FROM jos_aforms_fields AS a LEFT JOIN jos_categories AS c ON a.catid = c.id WHERE a.catid IN () AND c.published = 1 AND a.published = 1 ORDER BY c.ordering, a.ordering
No valid database connection 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 ') ORDER BY `ordering`' at line 1 SQL=SELECT `id`, `title`, `description` FROM jos_categories WHERE `id` IN ( ) ORDER BY `ordering`