| MySQL Debugger Results | ||
| Count | SQL query | Time to execute | 
| 1 | SELECT id, word, lang_1 as text FROM shop_language_words | 0,0015 | 
| 2 | SELECT local_url FROM shop_seo WHERE seo_url = ? | 0,0002 | 
| 3 | SELECT id, parent_id FROM shop_categories WHERE seo_url = 'betonobarkachka-kraftdele-kd495-1050w-230v' | 0,0008 | 
| 4 | SELECT t.id,t.language,t.code,t.flag,t.active FROM `shop_languages` AS t WHERE 1 AND t.`active` = '1' ORDER BY id DESC LIMIT 0, 300 | 0,0004 | 
| 5 | SELECT * FROM `shop_languages` WHERE id = ? | 0,0002 | 
| 6 | SELECT `id` as `value`, `t` as `title` FROM `fm_brands` ORDER by `value` ASC | 2,4314 | 
| 7 | SQLSTATE[HY000]: General error: 2006 MySQL server has gone away | 2,4314 | 
| - - | All Queries Time | 4,8659 | 
#0 /home/mashini/public_html/app/system/Database.class.php(503): Registry::get('lang')
#1 /home/mashini/public_html/app/system/Database.class.php(129): Database->onDbError('SELECT `id` as ...', 'SQLSTATE[HY000]...')
#2 /home/mashini/public_html/app/system/Model.class.php(34): Database->fetchAll('SELECT `id` as ...')
#3 /home/mashini/public_html/app/system/Models.class.php(18): Model->__construct()
#4 /home/mashini/public_html/app/system/Models.class.php(26): Models::create('Store', 'Products')
#5 /home/mashini/public_html/app/system/Controller.class.php(241): Models::get('Store', 'Products')
#6 /home/mashini/public_html/app/system/FrontController.class.php(218): Controller->getModel('Store', 'Products')
#7 /home/mashini/public_html/app/system/FrontController.class.php(41): FrontController->initialize()
#8 /home/mashini/public_html/app/system/Controller.class.php(184): FrontController->__construct()
#9 /home/mashini/public_html/index.php(126): Controller->Start()
#10 {main}'lang' is not set in the Registry