MySQL Debugger Results | ||
Count | SQL query | Time to execute |
1 | SELECT code FROM shop_languages WHERE id = ? | 0.0017 |
2 | SELECT id, word, lang_1 as text FROM shop_language_words | 0.0056 |
3 | SELECT * FROM currency | 0.002 |
4 | SELECT * FROM shop_redirects WHERE old_url = ? | 0.002 |
5 | SELECT id FROM fm_brands WHERE seo_url IN('jbm','mase','cm','sany','track-o','acf','tekkok','rokamat','oletto','tclift','imt') | 0.0056 |
6 | 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.0003 |
7 | SELECT * FROM `shop_languages` WHERE id = ? | 0.0002 |
8 | SELECT `id` as `value`, `name` as `title` FROM `shop_properties` ORDER by `value` ASC | 0.0007 |
9 | SELECT `id` as `value`, `name` as `title` FROM `shop_properties` ORDER by `value` ASC | 0.0043 |
10 | SELECT COUNT(*) AS count FROM shop_products WHERE is_available = 1 AND active = 1 AND archive = 0 | 0.0072 |
11 | SELECT COUNT(*) AS count FROM shop_products WHERE archive = 1 | 0.0045 |
12 | SELECT `id` as `value`, `t` as `title` FROM `fm_brands` ORDER by `value` ASC | 0.8548 |
13 | SQLSTATE[HY000]: General error: 2006 MySQL server has gone away | 0.8548 |
- - | All Queries Time | 1.7437 |
#0 /var/www/bautrax.bg/www/app/system/Database.class.php(536): Registry::get() #1 /var/www/bautrax.bg/www/app/system/Database.class.php(135): Database->onDbError() #2 /var/www/bautrax.bg/www/app/system/Model.class.php(34): Database->fetchAll() #3 /var/www/bautrax.bg/www/app/system/Models.class.php(18): Model->__construct() #4 /var/www/bautrax.bg/www/app/system/Models.class.php(26): Models::create() #5 /var/www/bautrax.bg/www/app/system/Controller.class.php(302): Models::get() #6 /var/www/bautrax.bg/www/app/modules/Store/front/Categories.controller.php(14): Controller->loadModel() #7 /var/www/bautrax.bg/www/app/system/Controller.class.php(257): CategoriesController->indexAction() #8 /var/www/bautrax.bg/www/index.php(124): Controller->Start() #9 {main}
'lang' is not set in the Registry