PDOException: SQLSTATE[42000]: Syntax error or access violation: 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 'JOIN `category_locality_image` AS `localized` ON default.id=localized.id AND loc' at line 4 in /home/www/kernel.ep4/3.0/core/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/www/kernel.ep4/3.0/core/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/www/kernel.ep4/3.0/core/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/www/kernel.ep4/3.0/core/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/www/kernel.ep4/3.0/core/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `default...', Array)
#4 /home/www/kernel.ep4/3.0/core/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Epublish_Model_Collection))
#5 /home/www/kernel.ep4/3.0/core/Epublish/Model/Collection.php(70): Zend_Db_Select->query()
#6 /home/www/kernel.ep4/3.0/core/Epublish/Model/Collection.php(139): Epublish_Model_Collection->load()
#7 /home/www/invest-msr.com/project/controllers/IndexController.php(439): Epublish_Model_Collection->rewind()
#8 /home/www/kernel.ep4/3.0/core/Epublish/Controller/Project.php(27): IndexController->handleLocalityToPdf(Array)
#9 /home/www/kernel.ep4/3.0/core/Epublish/Controller/Project.php(66): Epublish_Controller_Project->handlePageActions()
#10 /home/www/invest-msr.com/project/controllers/IndexController.php(36): Epublish_Controller_Project->categoryAction()
#11 /home/www/kernel.ep4/3.0/core/Zend/Controller/Action.php(516): IndexController->categoryAction()
#12 /home/www/kernel.ep4/3.0/core/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('categoryAction')
#13 /home/www/kernel.ep4/3.0/core/Zend/Controller/Front.php(955): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#14 /home/www/kernel.ep4/3.0/core/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#15 /home/www/kernel.ep4/3.0/core/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#16 /home/www/invest-msr.com/www/index.php(79): Zend_Application->run()
#17 {main}
Next Zend_Db_Statement_Exception: SQLSTATE[42000]: Syntax error or access violation: 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 'JOIN `category_locality_image` AS `localized` ON default.id=localized.id AND loc' at line 4 in /home/www/kernel.ep4/3.0/core/Zend/Db/Statement/Pdo.php:234
Stack trace:
#0 /home/www/kernel.ep4/3.0/core/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/www/kernel.ep4/3.0/core/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /home/www/kernel.ep4/3.0/core/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `default...', Array)
#3 /home/www/kernel.ep4/3.0/core/Zend/Db/Select.php(686): Zend_Db_Adapter_Pdo_Abstract->query(Object(Epublish_Model_Collection))
#4 /home/www/kernel.ep4/3.0/core/Epublish/Model/Collection.php(70): Zend_Db_Select->query()
#5 /home/www/kernel.ep4/3.0/core/Epublish/Model/Collection.php(139): Epublish_Model_Collection->load()
#6 /home/www/invest-msr.com/project/controllers/IndexController.php(439): Epublish_Model_Collection->rewind()
#7 /home/www/kernel.ep4/3.0/core/Epublish/Controller/Project.php(27): IndexController->handleLocalityToPdf(Array)
#8 /home/www/kernel.ep4/3.0/core/Epublish/Controller/Project.php(66): Epublish_Controller_Project->handlePageActions()
#9 /home/www/invest-msr.com/project/controllers/IndexController.php(36): Epublish_Controller_Project->categoryAction()
#10 /home/www/kernel.ep4/3.0/core/Zend/Controller/Action.php(516): IndexController->categoryAction()
#11 /home/www/kernel.ep4/3.0/core/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('categoryAction')
#12 /home/www/kernel.ep4/3.0/core/Zend/Controller/Front.php(955): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#13 /home/www/kernel.ep4/3.0/core/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#14 /home/www/kernel.ep4/3.0/core/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#15 /home/www/invest-msr.com/www/index.php(79): Zend_Application->run()
#16 {main}