Database_Exception [ 23 ]: Out of resources when opening file './admin_teleland/items.TRG' (Errcode: 24 - Too many open files) [ SELECT `catalog`.`id_category` AS `id_category`, `catalog`.`name` AS `name`, `catalog`.`id` AS `id_catalog_c`, `catalog`.`descriptiontext` AS `descriptiontext`, `catalog`.`price` AS `price`, `catalog`.`special_from_date` AS `special_from_date`, `catalog`.`special_to_date` AS `special_to_date`, `itemcatalog`.`id` AS `id`, `itemcatalog`.`id_catalog` AS `id_catalog`, `itemcatalog`.`hide` AS `hide`, `itemcatalog`.`isset` AS `isset`, `itemcatalog`.`new` AS `new`, `itemcatalog`.`item` AS `item`, `itemcatalog`.`id_controllers_names_types` AS `id_controllers_names_types`, `itemcatalog`.`order` AS `order`, `itemcatalog`.`alias` AS `alias`, `itemcatalog`.`isset_item_text` AS `isset_item_text`, `itemcatalog`.`no_isset_item_text` AS `no_isset_item_text`, `itemcatalog`.`warranty` AS `warranty`, `itemcatalog`.`deliery_days` AS `deliery_days`, `itemcatalog`.`deliery_region_days` AS `deliery_region_days`, `itemcatalog`.`search_index` AS `search_index`, `itemcatalog`.`export_yandex` AS `export_yandex`, `itemcatalog`.`export_shopby` AS `export_shopby` FROM `items` AS `itemcatalog` LEFT OUTER JOIN `catalog` ON (`id_catalog` = `catalog`.`id`) WHERE `alias` = 'nasos-dgm-bp-05d' LIMIT 1 ]

MODPATH/kohana-3.3-mysqli-master/classes/Database/MySQLi.php [ 174 ]

169 			{
170 				// This benchmark is worthless
171 				Profiler::delete($benchmark);
172 			}
173 
174 			throw new Database_Exception(':error [ :query ]',
175 				array(':error' => mysqli_error($this->_connection), ':query' => $sql),
176 				mysqli_errno($this->_connection));
177 		}
178 
179 		if (isset($benchmark))
  1. APPPATH/classes/Database/Query.php [ 95 ] » Database_MySQLi->query(arguments)

  2. MODPATH/orm/classes/Kohana/ORM.php [ 1069 ] » Database_Query->execute(arguments)

  3. MODPATH/orm/classes/Kohana/ORM.php [ 976 ] » Kohana_ORM->_load_result(arguments)

  4. APPPATH/classes/Controller/Site/Catalog.php [ 57 ] » Kohana_ORM->find()

  5. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Site_Catalog->action_index()

  6. {PHP internal call} » Kohana_Controller->execute()

  7. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  8. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  9. SYSPATH/classes/Kohana/Request.php [ 992 ] » Kohana_Request_Client->execute(arguments)

  10. DOCROOT/index.php [ 124 ] » Kohana_Request->execute()

Environment