exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'bd_central'@'localhost' (using password: YES)' in /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Pdo/Abstract.php:129 Stack trace: #0 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Pdo/Abstract.php(129): PDO->__construct('mysql:host=loca...', 'bd_central', 'olvidandum17', Array) #1 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT veci FRO...', Array) #4 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/application/models/Hotel.php(179): Zend_Db_Adapter_Pdo_Abstract->query('SELECT veci FRO...') #5 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/application/layouts/layout.phtml(139): Model_Hotel->menueci(1) #6 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/View.php(108): include('/var/www/vhosts...') #7 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/View/Abstract.php(880): Zend_View->_run('/var/www/vhosts...') #8 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Layout.php(796): Zend_View_Abstract->render('layout.phtml') #9 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #10 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Controller/Plugin/Broker.php(331): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #11 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #12 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #13 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #14 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/public/index.php(39): Zend_Application->run() #15 {main} Next exception 'Zend_Db_Adapter_Exception' with message 'SQLSTATE[28000] [1045] Access denied for user 'bd_central'@'localhost' (using password: YES)' in /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Pdo/Mysql.php(96): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Abstract.php(448): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT veci FRO...', Array) #3 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/application/models/Hotel.php(179): Zend_Db_Adapter_Pdo_Abstract->query('SELECT veci FRO...') #4 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/application/layouts/layout.phtml(139): Model_Hotel->menueci(1) #5 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/View.php(108): include('/var/www/vhosts...') #6 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/View/Abstract.php(880): Zend_View->_run('/var/www/vhosts...') #7 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Layout.php(796): Zend_View_Abstract->render('layout.phtml') #8 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #9 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Controller/Plugin/Broker.php(331): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #10 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #11 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #12 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #13 /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/public/index.php(39): Zend_Application->run() #14 {main}
Notice: Undefined variable: query in /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/application/models/Hotel.php on line 184

Fatal error: Call to a member function fetch() on a non-object in /var/www/vhosts/booking.room-matehotels.com/httpdocs/gimcentral/application/models/Hotel.php on line 184