MySQL Debugger Results
Count SQL query Time to execute
1 SELECT code FROM shop_languages WHERE id = ? 0.0045
2 SELECT id, word, lang_1 as text FROM shop_language_words 0.0076
3 SELECT * FROM currency 0.0045
4 SELECT * FROM shop_redirects WHERE old_url = ? 0.0079
5 SELECT id FROM fm_brands WHERE seo_url IN('jbm','ibix','mase','camac','cm','eurocomach','mac3','m3srl','berti','imt','torbo','rositeh') 0.0034
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 1.0643
7 SQLSTATE[HY000]: General error: 2006 MySQL server has gone away 1.0643
- - All Queries Time 2.1565


#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(131): Database->fetchAll()
#3 /var/www/bautrax.bg/www/app/system/FrontController.class.php(86): Model->fetchAll()
#4 /var/www/bautrax.bg/www/app/system/FrontController.class.php(32): FrontController->initialize()
#5 /var/www/bautrax.bg/www/app/system/Controller.class.php(232): FrontController->__construct()
#6 /var/www/bautrax.bg/www/index.php(124): Controller->Start()
#7 {main}

'lang' is not set in the Registry