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 '' at line 1 SQL=SELECT c.*, CASE WHEN CHAR_LENGTH(c.folder) THEN CONCAT_WS(':', c.id, c.folder) ELSE c.id END as slug FROM jos_photoblog_categories AS c WHERE c.id =
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 '' at line 1 SQL=SELECT id FROM jos_photoblog_blogs WHERE published = 1 AND catid =