file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\classes\sql.class.php
line: 80
code: E_USER_ERROR
message: Query failed: SELECT typ_newtype.typ_name, new_news.new_id, new_title, new_seo, new_lead, img_filename, d.doc_filename, DATE_FORMAT( new_date, '%d-%m-%Y' ) AS formatedDate, new_url FROM new_news LEFT JOIN doc_documents AS d ON new_news.doc_id_1 = d.doc_id LEFT JOIN img_images ON new_news.img_id_1 = img_images.img_id LEFT JOIN new_news_typ_newtype ON new_news_typ_newtype.new_id = new_news.new_id LEFT JOIN typ_newtype ON typ_newtype.typ_id = new_news_typ_newtype.typ_id WHERE new_state = 1 AND typ_newtype.typ_id= AND new_lang = 'PT' ORDER BY new_date DESC
SQLSTATE[42000]: Syntax error or access violation: 1064 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 new_lang = 'PT' ORDER BY new_date DESC' at line 1
file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\classes\sql.class.php
line: 80
code: E_USER_ERROR
message: Query failed: SELECT typ_newtype.typ_name, new_news.new_id, new_title, new_seo, new_lead, img_filename, d.doc_filename, DATE_FORMAT( new_date, '%d-%m-%Y' ) AS formatedDate, new_url FROM new_news LEFT JOIN doc_documents AS d ON new_news.doc_id_1 = d.doc_id LEFT JOIN img_images ON new_news.img_id_1 = img_images.img_id LEFT JOIN new_news_typ_newtype ON new_news_typ_newtype.new_id = new_news.new_id LEFT JOIN typ_newtype ON typ_newtype.typ_id = new_news_typ_newtype.typ_id WHERE new_state = 1 AND typ_newtype.typ_id= AND new_lang = 'PT' ORDER BY new_date DESC
SQLSTATE[42000]: Syntax error or access violation: 1064 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 new_lang = 'PT' ORDER BY new_date DESC' at line 1
Com a nossa presença, agora também na Internet, estamos permanentemente ao seu dispor, 24 h por dia, todos os dias do ano.
Utilize o formulário indicado para nos ajudar a melhorar a nossa ação. A sua opinião é muito importante para todos.