exception 'Doctrine_Connection_Pgsql_Exception' with message 'SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "photo/37"' in /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Connection.php:1084
Stack trace:
#0 /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Connection/Statement.php(253): Doctrine_Connection->rethrowException(Object(PDOException), Object(Doctrine_Connection_Statement))
#1 /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Connection.php(1013): Doctrine_Connection_Statement->execute(Array)
#2 /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Query/Abstract.php(1090): Doctrine_Connection->execute('SELECT s.id AS ...', Array)
#3 /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Query/Abstract.php(1138): Doctrine_Query_Abstract->_execute(Array)
#4 /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Query.php(274): Doctrine_Query_Abstract->execute(Array, NULL)
#5 /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Table.php(1427): Doctrine_Query->fetchOne(Array, NULL)
#6 /home/bluepaprica/public_html/lib/Doctrine 1.1/Doctrine/Table.php(2390): Doctrine_Table->findOneBy('id', 'photo/37', NULL)
#7 [internal function]: Doctrine_Table->__call('findOneById', Array)
#8 /home/bluepaprica/public_html/application/controllers/Photo/NewsController.php(68): Static_NewsTable->findOneById('photo/37')
#9 /home/bluepaprica/public_html/lib/Zend/Controller/Action.php(512): Photo_NewsController->showAction()
#10 /home/bluepaprica/public_html/lib/Zend/Controller/Dispatcher/Standard.php(288): Zend_Controller_Action->dispatch('showAction')
#11 /home/bluepaprica/public_html/lib/Zend/Controller/Front.php(945): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#12 /home/bluepaprica/public_html/lib/BluePaprica/Application.php(607): Zend_Controller_Front->dispatch()
#13 /home/bluepaprica/public_html/public/photo/index.php(34): BluePaprica_Application->run()
#14 {main}