SQL/DB Error -- [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.id_bloc = b.id_bloc AND a.estat = 'publicat' AND UNIX_TIMESTAMP( a.data ) ' at line 1]Query: SELECT a.titol_cat, a.uri_cat, a.titol_fr, a.uri_fr, b.uri AS 'uri_bloc' FROM blocs_entrades a, blocs b WHERE a.id_bloc = AND a.id_bloc = b.id_bloc AND a.estat = 'publicat' AND UNIX_TIMESTAMP( a.data ) > AND a.data < NOW() ORDER BY a.data ASC LIMIT 1
SQL/DB Error -- [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.id_bloc = b.id_bloc AND a.estat = 'publicat' AND UNIX_TIMESTAMP( a.data ) ' at line 1]Query: SELECT a.titol_cat, a.uri_cat, a.titol_fr, a.uri_fr, b.uri AS 'uri_bloc' FROM blocs_entrades a, blocs b WHERE a.id_bloc = AND a.id_bloc = b.id_bloc AND a.estat = 'publicat' AND UNIX_TIMESTAMP( a.data ) < AND a.data < NOW() ORDER BY a.data DESC LIMIT 1
SQL/DB Error -- [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 ordre ASC' at line 1]Query: SELECT id_imatge FROM blocs_entrades_imatges WHERE id_entrada = ORDER BY ordre ASC
SQL/DB Error -- [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 ordre ASC' at line 1]Query: SELECT id_document FROM blocs_entrades_documents WHERE id_entrada = ORDER BY ordre ASC
SQL/DB Error -- [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]Query: SELECT fitxer FROM blocs_imatges WHERE id_imatge =
SQL/DB Error -- [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 data DESC LIMIT 5,5' at line 1]Query: SELECT id_entrada FROM blocs_entrades WHERE estat = 'publicat' AND data < NOW() AND id_bloc = ORDER BY data DESC LIMIT 5,5
SQL/DB Error -- [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 a.data DESC LIMIT 5' at line 1]Query: SELECT id_entrada FROM blocs_entrades a, blocs b WHERE a.estat = 'publicat' AND b.estat = 'actiu' AND a.id_bloc = b.id_bloc AND a.data < NOW() AND a.id_bloc != ORDER BY a.data DESC LIMIT 5
SQL/DB Error -- [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 estat = 'publicat'' at line 1]Query: SELECT count(*) FROM blocs_comentaris WHERE id_entrada = AND estat = 'publicat'