ERROR: There has been an error in the code.

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\noticias.php line: 26 code: E_NOTICE message: Undefined index: typ_name

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 29 code: E_NOTICE message: Undefined index: new_url

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 31 code: E_NOTICE message: Undefined index: doc_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_seo

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_id

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: img_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 51 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 56 code: E_NOTICE message: Undefined index: new_lead

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 26 code: E_NOTICE message: Undefined index: typ_name

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 29 code: E_NOTICE message: Undefined index: new_url

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 31 code: E_NOTICE message: Undefined index: doc_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_seo

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_id

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: img_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 51 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 56 code: E_NOTICE message: Undefined index: new_lead

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 26 code: E_NOTICE message: Undefined index: typ_name

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 29 code: E_NOTICE message: Undefined index: new_url

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 31 code: E_NOTICE message: Undefined index: doc_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_seo

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_id

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: img_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 51 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 56 code: E_NOTICE message: Undefined index: new_lead

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 26 code: E_NOTICE message: Undefined index: typ_name

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 29 code: E_NOTICE message: Undefined index: new_url

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 31 code: E_NOTICE message: Undefined index: doc_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_seo

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_id

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: img_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 51 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 56 code: E_NOTICE message: Undefined index: new_lead

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 26 code: E_NOTICE message: Undefined index: typ_name

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 29 code: E_NOTICE message: Undefined index: new_url

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 31 code: E_NOTICE message: Undefined index: doc_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_seo

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 34 code: E_NOTICE message: Undefined index: new_id

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 42 code: E_NOTICE message: Undefined index: img_filename

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 51 code: E_NOTICE message: Undefined index: new_title

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 56 code: E_NOTICE message: Undefined index: new_lead

Junta de Freguesia de Abraveses
ERROR: There has been an error in the code.

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\noticias.php line: 22 code: E_NOTICE message: Undefined property: News::$rows

WARNING: There has been an error in the code.

file: D:\HostingSpaces\jfabraveses\jf-abraveses.pt\wwwroot\noticias.php line: 22 code: E_WARNING message: Invalid argument supplied for foreach()

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.

© 2022 Junta de Freguesia de Abraveses. Todos os direitos reservados.