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 a.state = 1 ORDER BY a.created DESC' at line 1 SQL=SELECT a.id AS id, a.title AS title, a.created AS created, a.introtext AS intro, a.catid AS catid, a.sectionid AS sectionid, a.ordering AS ordering, b.title AS section, c.title AS cat, CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(":", a.id, a.alias) ELSE a.id END AS slug, CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(":", c.id, c.alias) ELSE c.id END AS catslug FROM jos_content AS a LEFT JOIN jos_sections AS b ON b.id = a.sectionid LEFT JOIN jos_categories AS c ON c.id = a.catid WHERE ( ( LOWER(a.created_by_alias) LIKE '%ga=%' AND LOWER(a.created_by_alias) LIKE '%%' ) OR a.created_by = ) AND a.state = 1 ORDER BY a.created DESC




