Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'www.basenytropikalne.pl' in 'where clause' in /home/server723257/ftp/infobasen/library/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/server723257/ftp/infobasen/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/server723257/ftp/infobasen/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/server723257/ftp/infobasen/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /home/server723257/ftp/infobasen/library/Zend/Db/Adapter/Pdo/Abstract.php(267): Zend_Db_Adapter_Abstract->query('\n\t\t\t\tSELECT e.e...', Array)
#4 /home/server723257/ftp/infobasen/library/Zend/Db/Adapter/Abstract.php(759): Zend_Db_Adapter_Pdo_Abstract->query('\n\t\t\t\tSELECT e.e...', Array)
#5 /home/server723257/ftp/infobasen/application/models/EventsMd.php(104): Zend_Db_Adapter_Abstract->fetchRow('\n\t\t\t\tSELECT e.e...')
#6 /home/server723257/ftp/infobasen/application/controllers/EventsController.php(12): EventsMd->getEventPublic('www.basenytropi...')
#7 /home/server723257/ftp/infobasen/library/Zend/Controller/Action.php(522): EventsController->showAction()
#8 /home/server723257/ftp/infobasen/library/App/Controller/ProjectAction.php(18): Zend_Controller_Action->dispatch('showAction')
#9 /home/server723257/ftp/infobasen/library/Zend/Controller/Dispatcher/Standard.php(308): App_Controller_ProjectAction->dispatch('showAction')
#10 /home/server723257/ftp/infobasen/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /home/server723257/ftp/infobasen/application/cache/ObjectCache.php(86): Zend_Controller_Front->dispatch()
#12 /home/server723257/ftp/infobasen/public/index.php(41): processZendPage()
#13 {main}
Next Zend_Db_Statement_Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'www.basenytropikalne.pl' in 'where clause', query was:
SELECT e.event_id,e.title, e.object_id, e.user_id, e.description, e.img, e.link,e.price
,DATE_FORMAT(e.start_date,'%d.%m.%Y') start_date, DATE_FORMAT(e.end_date,'%d.%m.%Y') end_date
,o.name, o.url, o.www, c.name as city
FROM events e, objects o, cities c
WHERE e.object_id = o.id and o.city_id = c.city_id
and e.event_id = www.basenytropikalne.pl order by 1 desc in /home/server723257/ftp/infobasen/library/Zend/Db/Statement/Pdo.php:235
Stack trace:
#0 /home/server723257/ftp/infobasen/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/server723257/ftp/infobasen/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /home/server723257/ftp/infobasen/library/Zend/Db/Adapter/Pdo/Abstract.php(267): Zend_Db_Adapter_Abstract->query('\n\t\t\t\tSELECT e.e...', Array)
#3 /home/server723257/ftp/infobasen/library/Zend/Db/Adapter/Abstract.php(759): Zend_Db_Adapter_Pdo_Abstract->query('\n\t\t\t\tSELECT e.e...', Array)
#4 /home/server723257/ftp/infobasen/application/models/EventsMd.php(104): Zend_Db_Adapter_Abstract->fetchRow('\n\t\t\t\tSELECT e.e...')
#5 /home/server723257/ftp/infobasen/application/controllers/EventsController.php(12): EventsMd->getEventPublic('www.basenytropi...')
#6 /home/server723257/ftp/infobasen/library/Zend/Controller/Action.php(522): EventsController->showAction()
#7 /home/server723257/ftp/infobasen/library/App/Controller/ProjectAction.php(18): Zend_Controller_Action->dispatch('showAction')
#8 /home/server723257/ftp/infobasen/library/Zend/Controller/Dispatcher/Standard.php(308): App_Controller_ProjectAction->dispatch('showAction')
#9 /home/server723257/ftp/infobasen/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /home/server723257/ftp/infobasen/application/cache/ObjectCache.php(86): Zend_Controller_Front->dispatch()
#11 /home/server723257/ftp/infobasen/public/index.php(41): processZendPage()
#12 {main}
thrown in /home/server723257/ftp/infobasen/library/Zend/Db/Statement/Pdo.php on line 235