Fatal error: Uncaught exception 'PDOException' with message '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 '=<img and rp.expire_date >= 1328867961 and rp.activation='1' AND p.type ='sale'' at line 1' in /home/sominam/public_html/library/Zend/Db/Adapter/Abstract.php:156 Stack trace: #0 /home/sominam/public_html/library/Zend/Db/Adapter/Abstract.php(156): PDOStatement->execute(Array) #1 /home/sominam/public_html/library/Zend/property/pager.php(193): Zend_Db_Adapter_Abstract->query('select p.*, u.i...') #2 /home/sominam/public_html/application/controllers/SearchController.php(1167): dopaging('select p.*, u.i...', 20) #3 /home/sominam/public_html/library/Zend/Controller/Dispatcher.php(436): searchController->PropertysearchbyagentAction() #4 /home/sominam/public_html/library/Zend/Controller/Front.php(725): Zend_Controller_Dispatcher->dispatch(Object(Zend_Controller_Request_Http), Objec in /home/sominam/public_html/library/Zend/Db/Adapter/Abstract.php on line 156