The following error occurred:
URL: /home/leguided/www/templates/articles.php
Date: 2024-12-06 10:48:47
Error Details:
SqlConnection::Execute() Could not execute: 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 '= 1 WHERE 1 AND a.type = 'news' AND a.online = 'Y' ORDER BY a.date_created DESC ' at line 1 (SQL: SELECT a.*, cb.id AS block_id, cb.text_en AS text_en, cb.text_fr AS text_fr FROM web_articles a LEFT JOIN content_site_blocks cb ON a.id = cb.site_pages_id AND cb.type = 'articles' AND rank = 1 WHERE 1 AND a.type = 'news' AND a.online = 'Y' ORDER BY a.date_created DESC LIMIT 0, 15 )
Notice: Undefined index: brand in /home/leguided/www/templates/articles.php on line 42
Notice: Undefined index: page in /home/leguided/www/templates/articles.php on line 43
The following error occurred:
URL: /home/leguided/www/templates/articles.php
Date: 2024-12-06 10:48:47
Error Details:
SqlConnection::Execute() Could not execute: 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 '= 1 INNER JOIN web_article_categories dcat ON a.id = dcat.articles_id AND dcat.c' at line 1 (SQL: SELECT a.*, cb.id AS block_id, cb.text_en AS text_en, cb.text_fr AS text_fr FROM web_articles a LEFT JOIN content_site_blocks cb ON a.id = cb.site_pages_id AND cb.type = 'articles' AND rank = 1 INNER JOIN web_article_categories dcat ON a.id = dcat.articles_id AND dcat.categories_id_l1 = '13' WHERE 1 AND a.type = 'news' AND a.online = 'Y' AND a.title_fr != '' ORDER BY a.date_created DESC LIMIT 0, 10 )