Database_Exception [ 2006 ]: MySQL server has gone away [ SELECT `section`.`id` AS `id`, `section`.`parent_id` AS `parent_id`, `section`.`module_id` AS `module_id`, `section`.`country_id` AS `country_id`, `section`.`lang` AS `lang`, `section`.`controller` AS `controller`, `section`.`action` AS `action`, `section`.`template` AS `template`, `section`.`list_order` AS `list_order`, `section`.`user_id` AS `user_id`, `section`.`date_created` AS `date_created`, `section`.`date_updated` AS `date_updated`, `section`.`title` AS `title`, `section`.`link` AS `link`, `section`.`redirect` AS `redirect`, `section`.`target` AS `target`, `section`.`metatitle` AS `metatitle`, `section`.`metadescription` AS `metadescription`, `section`.`metakeywords` AS `metakeywords`, `section`.`intro` AS `intro`, `section`.`config` AS `config`, `section`.`status` AS `status`, `section`.`image` AS `image`, `section`.`image_large` AS `image_large`, `section`.`top` AS `top`, `section`.`bottom` AS `bottom` FROM `sections` AS `section` WHERE `lang` = 'ru' AND `status` IN (1, 3) ORDER BY `section`.`list_order` ASC ]

MODPATH/database/classes/Kohana/Database/MySQLi.php [ 171 ]

166 			{
167 				// This benchmark is worthless
168 				Profiler::delete($benchmark);
169 			}
170 
171 			throw new Database_Exception(':error [ :query ]', [
172 				':error' => $this->_connection->error,
173 				':query' => $sql
174 			], $this->_connection->errno);
175 		}
176 
  1. MODPATH/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)

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

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

  4. APPPATH/classes/Helper/Section.php [ 20 ] » Kohana_ORM->find_all()

  5. APPPATH/classes/URL.php [ 8 ] » Helper_Section::cache(arguments)

  6. APPPATH/classes/Helper/Section.php [ 105 ] » URL::section(arguments)

  7. APPPATH/classes/Helper/Section.php [ 121 ] » Helper_Section::public_tree(arguments)

  8. APPPATH/views/global/template.php [ 217 ] » Helper_Section::public_tree()

  9. SYSPATH/classes/Kohana/View.php [ 62 ] » include(arguments)

  10. SYSPATH/classes/Kohana/View.php [ 359 ] » Kohana_View::capture(arguments)

  11. SYSPATH/classes/Kohana/Controller/Template.php [ 44 ] » Kohana_View->render()

  12. SYSPATH/classes/Kohana/Controller.php [ 87 ] » Kohana_Controller_Template->after()

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

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