A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/main_controller.php

Line Number: 37

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/klamathice/web.kis/codeigniter_2.2.0/system/core/Exceptions.php:185)

Filename: core/Common.php

Line Number: 438

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 'ORDER BY event_start_time DESC' at line 1

SELECT * FROM article JOIN article_page ON article.id=article_page.id_article AND article_page.id_page= ORDER BY event_start_time DESC

Filename: /home/klamathice/web.kis/ci_kis/controllers/main_controller.php

Line Number: 37