An error occurred

Application error

Exception information:

Message: SQLSTATE[HY000]: General error: 23 Out of resources when opening file '/tmp/mysql_temptable.KgMZjd' (OS errno 24 - Too many open files), query was: SELECT `articles`.* FROM `articles` WHERE (id<>'507') ORDER BY RAND() ASC LIMIT 6

Stack trace:

#0 /sites/soyle.kz/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /sites/soyle.kz/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /sites/soyle.kz/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `article...', Array)
#3 /sites/soyle.kz/library/Zend/Db/Table/Abstract.php(1575): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select))
#4 /sites/soyle.kz/library/Zend/Db/Table/Abstract.php(1390): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select))
#5 /sites/soyle.kz/application/controllers/ArticleController.php(70): Zend_Db_Table_Abstract->fetchAll(Object(Zend_Db_Table_Select))
#6 /sites/soyle.kz/library/Zend/Controller/Action.php(516): ArticleController->viewAction()
#7 /sites/soyle.kz/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('viewAction')
#8 /sites/soyle.kz/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /sites/soyle.kz/library/Zend/Application/Bootstrap/Bootstrap.php(101): Zend_Controller_Front->dispatch()
#10 /sites/soyle.kz/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#11 /sites/soyle.kz/public/index.php(60): Zend_Application->run()
#12 {main}  

Request Parameters:

Array
(
    [controller] => article
    [action] => view
    [id] => 507
)
1