Notice: Undefined offset: 0 in /usr2/unibs/application/modules/live-market/controllers/CompanyController.php on line 49

Fatal error: Uncaught exception 'Zend_Controller_Action_Exception' with message 'Internal Server Error' in /usr2/unibs/library/Site/Db/Connection.php:63 Stack trace: #0 /usr2/unibs/application/modules/live-market/models/StockTable.php(3500): Site_Db_Connection::getPropertyDb() #1 /usr2/unibs/application/modules/live-market/controllers/CompanyController.php(449): LiveMarket_Model_StockTable->getArticlesByCompanyCode(Object(stdClass)) #2 /usr2/unibs/library/Zend/Controller/Action.php(516): LiveMarket_CompanyController->indexAction() #3 /usr2/unibs/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction') #4 /usr2/unibs/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #5 /usr2/unibs/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #6 /usr2/unibs/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #7 /usr2 in /usr2/unibs/library/Site/Db/Connection.php on line 63

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query' in /usr2/unibs/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /usr2/unibs/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /usr2/unibs/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #2 /usr2/unibs/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /usr2/unibs/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #4 /usr2/unibs/library/Zend/Db/Table/Abstract.php(1575): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #5 /usr2/unibs/library/Zend/Db/Table/Abstract.php(1390): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #6 /usr2/unibs/library/Zend/Db/Table/Abstract.php(1355): Zend_Db_Table_Abstract->fetchAll('((`site_user_se...') #7 [internal function]: Zend_Db_Table_Abstract->find('5dvu8v19hhso1cp...') #8 in /usr2/unibs/library/Zend/Db/Statement/Pdo.php on line 234