The following error occurred:
URL: /home/leguided/www/templates/articles.php
Date: 2024-10-10 23:26:46
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: cat in /home/leguided/www/templates/articles.php on line 41
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-10-10 23:26:46
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_brands ab ON ab.articles_id = a.id AND ab.brands_id =' 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_brands ab ON ab.articles_id = a.id AND ab.brands_id = '34' WHERE 1 AND a.type = 'news' AND a.online = 'Y' AND a.title_fr != '' ORDER BY a.date_created DESC LIMIT 0, 10 )