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 '.html WHERE cms_page.page_id = cms_page_lang_index.html_index.html.page_id AND c' at line 1

SELECT title AS page_title, detail AS page_detail FROM cms_page, cms_page_lang_index.html_index.html WHERE cms_page.page_id = cms_page_lang_index.html_index.html.page_id AND cms_page.page_slug = 'home'

Filename: models/Page.php

Line Number: 56