A PHP Error was encountered

Severity: Notice

Message: Undefined variable: articleId

Filename: include/cms_utilities.inc

Line Number: 2647

A PHP Error was encountered

Severity: Notice

Message: Undefined index: courseId

Filename: article/article.php

Line Number: 91

Database Error

A Database Error Occurred

Error Number: 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 live=1 ORDER BY creationDate DESC' at line 1

select a.title, a.articleId, a.sectionName, a.postedBy, SUBSTRING(content, 1, 200) content, a.seotitle from ARTICLE a, COURSE_ARTICLE ca where a.articleId = ca.articleId and ca.courseId = and live=1 ORDER BY creationDate DESC