Query Time: 0.19 ms Query memory: 0.022 MB Memory before query: 1.720 MB Rows returned: 1
SELECT `data`
  FROM `tv1gz_session`
  WHERE `session_id` = X'376468306e306761696d72756e38317133333466766c33727337'
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_session | const | PRIMARY | PRIMARY | 194 | const | 1 |  | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.02 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.01 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.00 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 16 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1740 | 
| 15 | JDatabaseDriver->loadResult() | JROOT/libraries/joomla/session/storage/database.php:45 | 
| 14 | JSessionStorageDatabase->read() | Same as call in the line below. | 
| 13 | session_start() | JROOT/libraries/joomla/session/handler/native.php:260 | 
| 12 | JSessionHandlerNative->doSessionStart() | JROOT/libraries/joomla/session/handler/native.php:50 | 
| 11 | JSessionHandlerNative->start() | JROOT/libraries/joomla/session/handler/joomla.php:88 | 
| 10 | JSessionHandlerJoomla->start() | JROOT/libraries/src/Session/Session.php:661 | 
| 9 | Joomla\CMS\Session\Session->_start() | JROOT/libraries/src/Session/Session.php:621 | 
| 8 | Joomla\CMS\Session\Session->start() | JROOT/libraries/src/Session/Session.php:499 | 
| 7 | Joomla\CMS\Session\Session->get() | JROOT/libraries/src/Session/Session.php:456 | 
| 6 | Joomla\CMS\Session\Session->isNew() | JROOT/libraries/src/Application/CMSApplication.php:826 | 
| 5 | Joomla\CMS\Application\CMSApplication->loadSession() | JROOT/libraries/src/Application/CMSApplication.php:136 | 
| 4 | Joomla\CMS\Application\CMSApplication->__construct() | JROOT/libraries/src/Application/SiteApplication.php:66 | 
| 3 | Joomla\CMS\Application\SiteApplication->__construct() | JROOT/libraries/src/Application/CMSApplication.php:386 | 
| 2 | Joomla\CMS\Application\CMSApplication::getInstance() | JROOT/libraries/src/Factory.php:140 | 
| 1 | Joomla\CMS\Factory::getApplication() | JROOT/index.php:46 | 
Query Time: 0.46 ms After last query: 8.97 ms Query memory: 0.020 MB Memory before query: 1.846 MB Rows returned: 35
SELECT `extension_id` AS `id`,`element` AS `option`,`params`,`enabled`
  FROM `tv1gz_extensions`
  WHERE `type` = 'component' 
  AND `state` = 0 
  AND `enabled` = 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_extensions | ref | extension | extension | 82 | const | 41 | Using index condition; Using where | 
| Status | Duration | 
|---|
| starting | 0.03 ms | 
| checking permissions | 0.01 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.02 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.05 ms | 
| preparing | 0.02 ms | 
| executing | 0.00 ms | 
| Sending data | 0.19 ms | 
| end | 0.01 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 12 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 11 | JDatabaseDriver->loadObjectList() | JROOT/libraries/src/Component/ComponentHelper.php:445 | 
| 10 | Joomla\CMS\Component\ComponentHelper::Joomla\CMS\Component\{closure}() | Same as call in the line below. | 
| 9 | call_user_func_array() | JROOT/libraries/src/Cache/Controller/CallbackController.php:173 | 
| 8 | Joomla\CMS\Cache\Controller\CallbackController->get() | JROOT/libraries/src/Component/ComponentHelper.php:453 | 
| 7 | Joomla\CMS\Component\ComponentHelper::load() | JROOT/libraries/src/Component/ComponentHelper.php:519 | 
| 6 | Joomla\CMS\Component\ComponentHelper::getComponents() | JROOT/libraries/src/Component/ComponentHelper.php:44 | 
| 5 | Joomla\CMS\Component\ComponentHelper::getComponent() | JROOT/libraries/src/Component/ComponentHelper.php:103 | 
| 4 | Joomla\CMS\Component\ComponentHelper::getParams() | JROOT/libraries/src/Application/SiteApplication.php:594 | 
| 3 | Joomla\CMS\Application\SiteApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:212 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.19 ms After last query: 6.36 ms Query memory: 0.015 MB Memory before query: 1.936 MB Rows returned: 5
SELECT id, rules
  FROM `tv1gz_viewlevels`
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_viewlevels | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 5 |  | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.01 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.03 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 10 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1506 | 
| 9 | JDatabaseDriver->loadAssocList() | JROOT/libraries/src/Access/Access.php:1063 | 
| 8 | Joomla\CMS\Access\Access::getAuthorisedViewLevels() | JROOT/libraries/src/User/User.php:458 | 
| 7 | Joomla\CMS\User\User->getAuthorisedViewLevels() | JROOT/libraries/src/Plugin/PluginHelper.php:318 | 
| 6 | Joomla\CMS\Plugin\PluginHelper::load() | JROOT/libraries/src/Plugin/PluginHelper.php:87 | 
| 5 | Joomla\CMS\Plugin\PluginHelper::getPlugin() | JROOT/libraries/src/Plugin/PluginHelper.php:129 | 
| 4 | Joomla\CMS\Plugin\PluginHelper::isEnabled() | JROOT/libraries/src/Application/SiteApplication.php:604 | 
| 3 | Joomla\CMS\Application\SiteApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:212 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.22 ms After last query: 0.23 ms Query memory: 0.016 MB Memory before query: 1.961 MB Rows returned: 2
SELECT b.id
  FROM tv1gz_usergroups AS a
  LEFT JOIN tv1gz_usergroups AS b 
  ON b.lft <= a.lft 
  AND b.rgt >= a.rgt
  WHERE a.id = 9
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | a | const | PRIMARY | PRIMARY | 4 | const | 1 |  | 
| 1 | SIMPLE | b | range | idx_usergroup_nested_set_lookup | idx_usergroup_nested_set_lookup | 4 | NULL | 3 | Using where; Using index | 
| Status | Duration | 
|---|
| starting | 0.03 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.04 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.02 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 11 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1550 | 
| 10 | JDatabaseDriver->loadColumn() | JROOT/libraries/src/Access/Access.php:980 | 
| 9 | Joomla\CMS\Access\Access::getGroupsByUser() | JROOT/libraries/src/Access/Access.php:1095 | 
| 8 | Joomla\CMS\Access\Access::getAuthorisedViewLevels() | JROOT/libraries/src/User/User.php:458 | 
| 7 | Joomla\CMS\User\User->getAuthorisedViewLevels() | JROOT/libraries/src/Plugin/PluginHelper.php:318 | 
| 6 | Joomla\CMS\Plugin\PluginHelper::load() | JROOT/libraries/src/Plugin/PluginHelper.php:87 | 
| 5 | Joomla\CMS\Plugin\PluginHelper::getPlugin() | JROOT/libraries/src/Plugin/PluginHelper.php:129 | 
| 4 | Joomla\CMS\Plugin\PluginHelper::isEnabled() | JROOT/libraries/src/Application/SiteApplication.php:604 | 
| 3 | Joomla\CMS\Application\SiteApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:212 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 1.21 ms After last query: 1.89 ms Query memory: 0.018 MB Memory before query: 2.002 MB Rows returned: 55
SELECT `folder` AS `type`,`element` AS `name`,`params` AS `params`,`extension_id` AS `id`
  FROM tv1gz_extensions
  WHERE enabled = 1 
  AND type = 'plugin' 
  AND state IN (0,1) 
  AND access IN (1,1,5)
  ORDER BY ordering
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_extensions | ref | extension | extension | 82 | const | 111 | Using index condition; Using where; Using filesort | 
| Status | Duration | 
|---|
| starting | 0.03 ms | 
| checking permissions | 0.01 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.02 ms | 
| optimizing | 0.02 ms | 
| statistics | 0.03 ms | 
| preparing | 0.03 ms | 
| executing | 0.01 ms | 
| Sorting result | 0.49 ms | 
| Sending data | 0.20 ms | 
| end | 0.01 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 11 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 10 | JDatabaseDriver->loadObjectList() | JROOT/libraries/src/Plugin/PluginHelper.php:351 | 
| 9 | Joomla\CMS\Plugin\PluginHelper::Joomla\CMS\Plugin\{closure}() | Same as call in the line below. | 
| 8 | call_user_func_array() | JROOT/libraries/src/Cache/Controller/CallbackController.php:173 | 
| 7 | Joomla\CMS\Cache\Controller\CallbackController->get() | JROOT/libraries/src/Plugin/PluginHelper.php:356 | 
| 6 | Joomla\CMS\Plugin\PluginHelper::load() | JROOT/libraries/src/Plugin/PluginHelper.php:87 | 
| 5 | Joomla\CMS\Plugin\PluginHelper::getPlugin() | JROOT/libraries/src/Plugin/PluginHelper.php:129 | 
| 4 | Joomla\CMS\Plugin\PluginHelper::isEnabled() | JROOT/libraries/src/Application/SiteApplication.php:604 | 
| 3 | Joomla\CMS\Application\SiteApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:212 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.22 ms After last query: 22.49 ms Query memory: 0.018 MB Memory before query: 2.522 MB Rows returned: 2
SELECT *
  FROM tv1gz_languages
  WHERE published=1
  ORDER BY ordering ASC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_languages | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 3 | Using where; Using filesort | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.01 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sorting result | 0.02 ms | 
| Sending data | 0.03 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 10 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 9 | JDatabaseDriver->loadObjectList() | JROOT/libraries/src/Language/LanguageHelper.php:150 | 
| 8 | Joomla\CMS\Language\LanguageHelper::getLanguages() | JROOT/plugins/system/languagefilter/languagefilter.php:96 | 
| 7 | PlgSystemLanguageFilter->__construct() | JROOT/libraries/src/Plugin/PluginHelper.php:280 | 
| 6 | Joomla\CMS\Plugin\PluginHelper::import() | JROOT/libraries/src/Plugin/PluginHelper.php:182 | 
| 5 | Joomla\CMS\Plugin\PluginHelper::importPlugin() | JROOT/libraries/src/Application/CMSApplication.php:667 | 
| 4 | Joomla\CMS\Application\CMSApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:686 | 
| 3 | Joomla\CMS\Application\SiteApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:212 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.23 ms After last query: 0.28 ms Query memory: 0.015 MB Memory before query: 2.545 MB Rows returned: 5
SELECT `element`,`name`,`client_id`,`extension_id`
  FROM `tv1gz_extensions`
  WHERE `type` = 'language' 
  AND `state` = 0 
  AND `enabled` = 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_extensions | ref | extension | extension | 82 | const | 5 | Using index condition; Using where | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.03 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.04 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.00 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 10 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 9 | JDatabaseDriver->loadObjectList() | JROOT/libraries/src/Language/LanguageHelper.php:209 | 
| 8 | Joomla\CMS\Language\LanguageHelper::getInstalledLanguages() | JROOT/plugins/system/languagefilter/languagefilter.php:110 | 
| 7 | PlgSystemLanguageFilter->__construct() | JROOT/libraries/src/Plugin/PluginHelper.php:280 | 
| 6 | Joomla\CMS\Plugin\PluginHelper::import() | JROOT/libraries/src/Plugin/PluginHelper.php:182 | 
| 5 | Joomla\CMS\Plugin\PluginHelper::importPlugin() | JROOT/libraries/src/Application/CMSApplication.php:667 | 
| 4 | Joomla\CMS\Application\CMSApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:686 | 
| 3 | Joomla\CMS\Application\SiteApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:212 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 2.08 ms After last query: 35.78 ms Query memory: 0.061 MB Memory before query: 2.759 MB Rows returned: 180
SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component
  FROM tv1gz_menu AS m
  LEFT JOIN tv1gz_extensions AS e 
  ON m.component_id = e.extension_id
  WHERE m.published = 1 
  AND m.parent_id > 0 
  AND m.client_id = 0
  ORDER BY m.lft
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | m | ALL | idx_client_id_parent_id_alias_language | NO INDEX KEY COULD BE USED | NULL | NULL | 286 | Using where; Using filesort | 
| 1 | SIMPLE | e | eq_ref | PRIMARY | PRIMARY | 4 | hdppk.m.component_id | 1 | Using where | 
| Status | Duration | 
|---|
| starting | 0.05 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.01 ms | 
| init | 0.02 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.03 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sorting result | 0.23 ms | 
| Sending data | 1.29 ms | 
| end | 0.01 ms | 
| query end | 0.01 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 24 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 23 | JDatabaseDriver->loadObjectList() | JROOT/libraries/src/Menu/SiteMenu.php:93 | 
| 22 | Joomla\CMS\Menu\SiteMenu->Joomla\CMS\Menu\{closure}() | Same as call in the line below. | 
| 21 | call_user_func_array() | JROOT/libraries/src/Cache/Controller/CallbackController.php:173 | 
| 20 | Joomla\CMS\Cache\Controller\CallbackController->get() | JROOT/libraries/src/Menu/SiteMenu.php:101 | 
| 19 | Joomla\CMS\Menu\SiteMenu->load() | JROOT/libraries/src/Menu/AbstractMenu.php:78 | 
| 18 | Joomla\CMS\Menu\AbstractMenu->__construct() | JROOT/libraries/src/Menu/SiteMenu.php:62 | 
| 17 | Joomla\CMS\Menu\SiteMenu->__construct() | JROOT/libraries/src/Menu/AbstractMenu.php:142 | 
| 16 | Joomla\CMS\Menu\AbstractMenu::getInstance() | JROOT/libraries/src/Application/CMSApplication.php:417 | 
| 15 | Joomla\CMS\Application\CMSApplication->getMenu() | JROOT/libraries/src/Application/SiteApplication.php:275 | 
| 14 | Joomla\CMS\Application\SiteApplication->getMenu() | JROOT/libraries/src/Router/SiteRouter.php:65 | 
| 13 | Joomla\CMS\Router\SiteRouter->__construct() | JROOT/libraries/src/Router/Router.php:189 | 
| 12 | Joomla\CMS\Router\Router::getInstance() | JROOT/libraries/src/Application/CMSApplication.php:533 | 
| 11 | Joomla\CMS\Application\CMSApplication::getRouter() | JROOT/libraries/src/Application/SiteApplication.php:403 | 
| 10 | Joomla\CMS\Application\SiteApplication::getRouter() | JROOT/plugins/system/languagefilter/languagefilter.php:145 | 
| 9 | PlgSystemLanguageFilter->onAfterInitialise() | Same as call in the line below. | 
| 8 | call_user_func_array() | JROOT/libraries/joomla/event/event.php:70 | 
| 7 | JEvent->update() | JROOT/libraries/joomla/event/dispatcher.php:160 | 
| 6 | JEventDispatcher->trigger() | JROOT/libraries/src/Application/BaseApplication.php:108 | 
| 5 | Joomla\CMS\Application\BaseApplication->triggerEvent() | JROOT/libraries/src/Application/CMSApplication.php:668 | 
| 4 | Joomla\CMS\Application\CMSApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:686 | 
| 3 | Joomla\CMS\Application\SiteApplication->initialiseApp() | JROOT/libraries/src/Application/SiteApplication.php:212 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.39 ms After last query: 44.91 ms Query memory: 0.053 MB Memory before query: 4.329 MB Rows returned: 3
SELECT id, home, template, s.params
  FROM tv1gz_template_styles as s
  LEFT JOIN tv1gz_extensions as e 
  ON e.element=s.template 
  AND e.type='template' 
  AND e.client_id=s.client_id
  WHERE s.client_id = 0 
  AND e.enabled = 1
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | s | ref | idx_template,idx_client_id,idx_client_id_home | idx_client_id | 1 | const | 3 |  | 
| 1 | SIMPLE | e | ref | element_clientid,element_folder_clientid,extension | element_clientid | 403 | hdppk.s.template,const | 1 | Using index condition; Using where | 
| Status | Duration | 
|---|
| starting | 0.03 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.02 ms | 
| optimizing | 0.02 ms | 
| statistics | 0.06 ms | 
| preparing | 0.02 ms | 
| executing | 0.00 ms | 
| Sending data | 0.09 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 13 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 12 | JDatabaseDriver->loadObjectList() | JROOT/libraries/src/Application/SiteApplication.php:486 | 
| 11 | Joomla\CMS\Application\SiteApplication->getTemplate() | JROOT/plugins/system/ef4_jmframework/ef4_jmframework.php:768 | 
| 10 | plgSystemEF4_JMFramework->getTemplateName() | JROOT/plugins/system/ef4_jmframework/ef4_jmframework.php:202 | 
| 9 | plgSystemEF4_JMFramework->onAfterRoute() | Same as call in the line below. | 
| 8 | call_user_func_array() | JROOT/libraries/joomla/event/event.php:70 | 
| 7 | JEvent->update() | JROOT/libraries/joomla/event/dispatcher.php:160 | 
| 6 | JEventDispatcher->trigger() | JROOT/libraries/src/Application/BaseApplication.php:108 | 
| 5 | Joomla\CMS\Application\BaseApplication->triggerEvent() | JROOT/libraries/src/Application/CMSApplication.php:1190 | 
| 4 | Joomla\CMS\Application\CMSApplication->route() | JROOT/libraries/src/Application/SiteApplication.php:796 | 
| 3 | Joomla\CMS\Application\SiteApplication->route() | JROOT/libraries/src/Application/SiteApplication.php:218 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.26 ms After last query: 11.65 ms Query memory: 0.021 MB Memory before query: 4.459 MB Rows returned: 1
SELECT `extension_id` AS `id`,`element` AS `option`,`params`,`enabled`
  FROM `tv1gz_extensions`
  WHERE `type` = 'library' 
  AND `element` = 'joomla'
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_extensions | ref | element_clientid,element_folder_clientid,extension | extension | 484 | const,const | 1 | Using index condition | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.05 ms | 
| preparing | 0.01 ms | 
| executing | 0.01 ms | 
| Sending data | 0.03 ms | 
| end | 0.01 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 15 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1662 | 
| 14 | JDatabaseDriver->loadObject() | JROOT/libraries/src/Helper/LibraryHelper.php:167 | 
| 13 | Joomla\CMS\Helper\LibraryHelper::Joomla\CMS\Helper\{closure}() | Same as call in the line below. | 
| 12 | call_user_func_array() | JROOT/libraries/src/Cache/Controller/CallbackController.php:173 | 
| 11 | Joomla\CMS\Cache\Controller\CallbackController->get() | JROOT/libraries/src/Helper/LibraryHelper.php:175 | 
| 10 | Joomla\CMS\Helper\LibraryHelper::loadLibrary() | JROOT/libraries/src/Helper/LibraryHelper.php:43 | 
| 9 | Joomla\CMS\Helper\LibraryHelper::getLibrary() | JROOT/libraries/src/Helper/LibraryHelper.php:90 | 
| 8 | Joomla\CMS\Helper\LibraryHelper::getParams() | JROOT/libraries/src/Version.php:321 | 
| 7 | Joomla\CMS\Version->getMediaVersion() | JROOT/libraries/src/Factory.php:778 | 
| 6 | Joomla\CMS\Factory::createDocument() | JROOT/libraries/src/Factory.php:234 | 
| 5 | Joomla\CMS\Factory::getDocument() | JROOT/libraries/src/Application/WebApplication.php:1137 | 
| 4 | Joomla\CMS\Application\WebApplication->loadDocument() | JROOT/libraries/src/Application/SiteApplication.php:133 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 4.29 ms After last query: 0.29 ms Query memory: 0.013 MB Memory before query: 4.461 MB
UPDATE `tv1gz_extensions`
  SET `params` = '{\"mediaversion\":\"5327c5df9b444abc93f18ddf44084c07\"}'
  WHERE `type` = 'library' 
  AND `element` = 'joomla'
EXPLAIN not possible on query: UPDATE `tv1gz_extensions`
SET `params` = '{\"mediaversion\":\"5327c5df9b444abc93f18ddf44084c07\"}'
WHERE `type` = 'library' AND `element` = 'joomla'
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.05 ms | 
| Updating | 0.04 ms | 
| end | 0.01 ms | 
| query end | 4.08 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.01 ms | 
| # | Caller | File and line number | 
|---|
| 10 | JDatabaseDriverMysqli->execute() | JROOT/libraries/src/Helper/LibraryHelper.php:117 | 
| 9 | Joomla\CMS\Helper\LibraryHelper::saveParams() | JROOT/libraries/src/Version.php:372 | 
| 8 | Joomla\CMS\Version->setMediaVersion() | JROOT/libraries/src/Version.php:331 | 
| 7 | Joomla\CMS\Version->getMediaVersion() | JROOT/libraries/src/Factory.php:778 | 
| 6 | Joomla\CMS\Factory::createDocument() | JROOT/libraries/src/Factory.php:234 | 
| 5 | Joomla\CMS\Factory::getDocument() | JROOT/libraries/src/Application/WebApplication.php:1137 | 
| 4 | Joomla\CMS\Application\WebApplication->loadDocument() | JROOT/libraries/src/Application/SiteApplication.php:133 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 6.02 ms After last query: 54.13 ms Query memory: 0.019 MB Memory before query: 5.192 MB Rows returned: 3
SELECT a.filename as filename, a.type as type, a.menulink as menulink 
  FROM tv1gz_phocagallery_styles AS a 
  WHERE a.published = 1 
  ORDER BY a.type, a.ordering ASC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | a | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 3 | Using where; Using filesort | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.01 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sorting result | 0.02 ms | 
| Sending data | 0.02 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 13 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 12 | JDatabaseDriver->loadObjectList() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php:736 | 
| 11 | PhocaGalleryRenderFront::renderAllCSS() | JROOT/components/com_phocagallery/views/detail/view.html.php:73 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 12.34 ms After last query: 8.65 ms Query memory: 0.024 MB Memory before query: 5.313 MB Rows returned: 0
SELECT a.* 
  FROM tv1gz_phocagallery_fb_users AS a 
  WHERE a.id =0
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | NULL | NULL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | NULL | Impossible WHERE noticed after reading const tables | 
| Status | Duration | 
|---|
| starting | 0.01 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.02 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.02 ms | 
| preparing | 0.00 ms | 
| executing | 0.02 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 14 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1662 | 
| 13 | JDatabaseDriver->loadObject() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/facebook/fbsystem.php:46 | 
| 12 | PhocaGalleryFbSystem::getFbUserInfo() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/facebook/fbsystem.php:53 | 
| 11 | PhocaGalleryFbSystem::getCommentsParams() | JROOT/components/com_phocagallery/views/detail/view.html.php:114 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.37 ms After last query: 1.09 ms Query memory: 0.030 MB Memory before query: 5.342 MB Rows returned: 1
SELECT a.*, c.accessuserid as cataccessuserid, c.access as cataccess, c.owner_id as owner_id,  ua.id AS userid, ua.username AS username, ua.name AS usernameno, 
  CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug, 
  CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug 
  FROM tv1gz_phocagallery AS a 
  LEFT JOIN tv1gz_phocagallery_categories AS c 
  ON c.id = a.catid 
  LEFT JOIN tv1gz_users AS ua 
  ON ua.id = a.userid 
  WHERE a.id = 7 
  AND a.language IN ('en-GB','*') 
  AND a.published > 0 
  AND a.approved > 0
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | a | const | PRIMARY | PRIMARY | 4 | const | 1 |  | 
| 1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 |  | 
| 1 | SIMPLE | ua | const | PRIMARY | PRIMARY | 4 | const | 0 | unique row not found | 
| Status | Duration | 
|---|
| starting | 0.06 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.05 ms | 
| optimizing | 0.02 ms | 
| statistics | 0.06 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.03 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.01 ms | 
| # | Caller | File and line number | 
|---|
| 14 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1662 | 
| 13 | JDatabaseDriver->loadObject() | JROOT/components/com_phocagallery/models/detail.php:73 | 
| 12 | PhocaGalleryModelDetail->_loadData() | JROOT/components/com_phocagallery/models/detail.php:34 | 
| 11 | PhocaGalleryModelDetail->getData() | JROOT/components/com_phocagallery/views/detail/view.html.php:188 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 12.25 ms After last query: 6.28 ms Query memory: 0.020 MB Memory before query: 5.401 MB Rows returned: 0
SELECT a.id, a.alias, c.id as catid, c.alias as catalias, a.filename as filename, b.id AS currentid, 
  CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug, 
  CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug 
  FROM tv1gz_phocagallery AS a, tv1gz_phocagallery AS b 
  LEFT JOIN tv1gz_phocagallery_categories AS c 
  ON c.id = b.catid 
  WHERE a.catid = 1 
  AND b.id = 7 
  AND (a.ordering > b.ordering OR (a.ordering = b.ordering 
  and a.id > b.id)) 
  AND a.published = 1 
  ORDER BY a.ordering ASC, a.id ASC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | b | const | PRIMARY | PRIMARY | 4 | const | 1 | Using filesort | 
| 1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 |  | 
| 1 | SIMPLE | a | ALL | PRIMARY,catid | NO INDEX KEY COULD BE USED | NULL | NULL | 7 | Using where | 
| Status | Duration | 
|---|
| starting | 0.06 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.03 ms | 
| optimizing | 0.02 ms | 
| statistics | 0.06 ms | 
| preparing | 0.02 ms | 
| executing | 0.00 ms | 
| Sorting result | 0.02 ms | 
| Sending data | 0.02 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.01 ms | 
| # | Caller | File and line number | 
|---|
| 13 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 12 | JDatabaseDriver->loadObjectList() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:97 | 
| 11 | PhocaGalleryRenderDetailButton->getNext() | JROOT/components/com_phocagallery/views/detail/view.html.php:252 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.39 ms After last query: 0.27 ms Query memory: 0.020 MB Memory before query: 5.419 MB Rows returned: 0
SELECT a.id, a.alias, c.id as catid, c.alias as catalias, a.filename as filename, b.id AS currentid, 
  CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug, 
  CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug 
  FROM tv1gz_phocagallery AS a, tv1gz_phocagallery AS b 
  LEFT JOIN tv1gz_phocagallery_categories AS c 
  ON c.id = b.catid 
  WHERE a.catid = 1 
  AND b.id = 7 
  AND (a.ordering > b.ordering OR (a.ordering = b.ordering 
  and a.id > b.id)) 
  AND a.published = 1 
  ORDER BY a.ordering ASC, a.id ASC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | b | const | PRIMARY | PRIMARY | 4 | const | 1 | Using filesort | 
| 1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 |  | 
| 1 | SIMPLE | a | ALL | PRIMARY,catid | NO INDEX KEY COULD BE USED | NULL | NULL | 7 | Using where | 
| Status | Duration | 
|---|
| starting | 0.08 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| System lock | 0.01 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.04 ms | 
| optimizing | 0.02 ms | 
| statistics | 0.07 ms | 
| preparing | 0.02 ms | 
| executing | 0.00 ms | 
| Sorting result | 0.03 ms | 
| Sending data | 0.02 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 13 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 12 | JDatabaseDriver->loadObjectList() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:97 | 
| 11 | PhocaGalleryRenderDetailButton->getNext() | JROOT/components/com_phocagallery/views/detail/view.html.php:253 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.44 ms After last query: 0.22 ms Query memory: 0.020 MB Memory before query: 5.438 MB Rows returned: 6
SELECT a.id, a.alias, c.id as catid, c.alias as catalias, a.filename as filename, b.id AS currentid, 
  CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug, 
  CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug 
  FROM tv1gz_phocagallery AS a, tv1gz_phocagallery AS b 
  LEFT JOIN tv1gz_phocagallery_categories AS c 
  ON c.id = b.catid 
  WHERE a.catid = 1 
  AND b.id = 7 
  AND (a.ordering < b.ordering OR (a.ordering = b.ordering 
  and a.id < b.id)) 
  AND a.published = 1 
  ORDER BY a.ordering DESC, a.id DESC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | b | const | PRIMARY | PRIMARY | 4 | const | 1 | Using filesort | 
| 1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 |  | 
| 1 | SIMPLE | a | ALL | PRIMARY,catid | NO INDEX KEY COULD BE USED | NULL | NULL | 7 | Using where | 
| Status | Duration | 
|---|
| starting | 0.07 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.01 ms | 
| init | 0.04 ms | 
| optimizing | 0.03 ms | 
| statistics | 0.06 ms | 
| preparing | 0.02 ms | 
| executing | 0.00 ms | 
| Sorting result | 0.03 ms | 
| Sending data | 0.06 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 13 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 12 | JDatabaseDriver->loadObjectList() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:215 | 
| 11 | PhocaGalleryRenderDetailButton->getPrevious() | JROOT/components/com_phocagallery/views/detail/view.html.php:254 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.62 ms After last query: 1.24 ms Query memory: 0.019 MB Memory before query: 5.458 MB Rows returned: 7
SELECT a.id, a.filename, a.extl, a.description 
  FROM tv1gz_phocagallery AS a 
  LEFT JOIN tv1gz_phocagallery_img_votes_statistics AS r 
  ON r.imgid = a.id 
  WHERE a.catid=1 
  AND a.published = 1 
  AND a.approved = 1 
  ORDER BY a.ordering ASC
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | a | ALL | catid | NO INDEX KEY COULD BE USED | NULL | NULL | 7 | Using where; Using temporary; Using filesort | 
| 1 | SIMPLE | r | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 1 | Using where; Using join buffer (flat, BNL join) | 
| Status | Duration | 
|---|
| starting | 0.04 ms | 
| checking permissions | 0.00 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.02 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.04 ms | 
| preparing | 0.02 ms | 
| executing | 0.00 ms | 
| Creating tmp table | 0.17 ms | 
| Copying to tmp table | 0.10 ms | 
| Sorting result | 0.02 ms | 
| Sending data | 0.02 ms | 
| end | 0.00 ms | 
| removing tmp table | 0.06 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 13 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 12 | JDatabaseDriver->loadObjectList() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:390 | 
| 11 | PhocaGalleryRenderDetailButton->getJsSlideshow() | JROOT/components/com_phocagallery/views/detail/view.html.php:255 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.87 ms After last query: 9.68 ms Query memory: 0.029 MB Memory before query: 5.528 MB Rows returned: 39
SHOW FULL COLUMNS 
  FROM `tv1gz_phocagallery`
EXPLAIN not possible on query: SHOW FULL COLUMNS FROM `tv1gz_phocagallery`
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.20 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.01 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Filling schema table | 0.01 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.01 ms | 
| checking permissions | 0.02 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| checking permissions | 0.01 ms | 
| closing tables | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.06 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.00 ms | 
| removing tmp table | 0.05 ms | 
| closing tables | 0.00 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 18 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 17 | JDatabaseDriver->loadObjectList() | JROOT/libraries/joomla/database/driver/mysqli.php:448 | 
| 16 | JDatabaseDriverMysqli->getTableColumns() | JROOT/libraries/src/Table/Table.php:261 | 
| 15 | Joomla\CMS\Table\Table->getFields() | JROOT/libraries/src/Table/Table.php:180 | 
| 14 | Joomla\CMS\Table\Table->__construct() | JROOT/administrator/components/com_phocagallery/tables/phocagallery.php:23 | 
| 13 | TablePhocaGallery->__construct() | JROOT/libraries/src/Table/Table.php:328 | 
| 12 | Joomla\CMS\Table\Table::getInstance() | JROOT/components/com_phocagallery/models/detail.php:89 | 
| 11 | PhocaGalleryModelDetail->hit() | JROOT/components/com_phocagallery/views/detail/view.html.php:305 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 3.07 ms After last query: 1.66 ms Query memory: 0.017 MB Memory before query: 5.646 MB
UPDATE tv1gz_phocagallery
  SET `hits` = (`hits` + 1)
  WHERE `id` = '7'
EXPLAIN not possible on query: UPDATE tv1gz_phocagallery
SET `hits` = (`hits` + 1)
WHERE `id` = '7'
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.04 ms | 
| Updating | 0.08 ms | 
| end | 0.01 ms | 
| query end | 2.82 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 13 | JDatabaseDriverMysqli->execute() | JROOT/libraries/src/Table/Table.php:1264 | 
| 12 | Joomla\CMS\Table\Table->hit() | JROOT/components/com_phocagallery/models/detail.php:90 | 
| 11 | PhocaGalleryModelDetail->hit() | JROOT/components/com_phocagallery/views/detail/view.html.php:305 | 
| 10 | PhocaGalleryViewDetail->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:664 | 
| 9 | Joomla\CMS\MVC\Controller\BaseController->display() | JROOT/components/com_phocagallery/controller.php:30 | 
| 8 | PhocaGalleryController->display() | JROOT/libraries/src/MVC/Controller/BaseController.php:702 | 
| 7 | Joomla\CMS\MVC\Controller\BaseController->execute() | JROOT/components/com_phocagallery/phocagallery.php:58 | 
| 6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/src/Component/ComponentHelper.php:402 | 
| 5 | Joomla\CMS\Component\ComponentHelper::executeComponent() | JROOT/libraries/src/Component/ComponentHelper.php:377 | 
| 4 | Joomla\CMS\Component\ComponentHelper::renderComponent() | JROOT/libraries/src/Application/SiteApplication.php:194 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 1.46 ms After last query: 3.49 ms Query memory: 0.015 MB Memory before query: 5.662 MB Rows returned: 3
SELECT language,id
  FROM `tv1gz_menu`
  WHERE home = 1 
  AND published = 1 
  AND client_id = 0
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_menu | ALL | idx_client_id_parent_id_alias_language | NO INDEX KEY COULD BE USED | NULL | NULL | 286 | Using where | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.02 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.18 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 11 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1701 | 
| 10 | JDatabaseDriver->loadObjectList() | JROOT/libraries/src/Language/Multilanguage.php:107 | 
| 9 | Joomla\CMS\Language\Multilanguage::getSiteHomePages() | JROOT/plugins/system/languagefilter/languagefilter.php:751 | 
| 8 | PlgSystemLanguageFilter->onAfterDispatch() | Same as call in the line below. | 
| 7 | call_user_func_array() | JROOT/libraries/joomla/event/event.php:70 | 
| 6 | JEvent->update() | JROOT/libraries/joomla/event/dispatcher.php:160 | 
| 5 | JEventDispatcher->trigger() | JROOT/libraries/src/Application/BaseApplication.php:108 | 
| 4 | Joomla\CMS\Application\BaseApplication->triggerEvent() | JROOT/libraries/src/Application/SiteApplication.php:199 | 
| 3 | Joomla\CMS\Application\SiteApplication->dispatch() | JROOT/libraries/src/Application/SiteApplication.php:233 | 
| 2 | Joomla\CMS\Application\SiteApplication->doExecute() | JROOT/libraries/src/Application/CMSApplication.php:225 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 0.30 ms After last query: 5.73 ms Query memory: 0.015 MB Memory before query: 5.713 MB Rows returned: 1
SELECT params
  FROM tv1gz_extensions
  WHERE `type` = 'plugin' 
  AND `element` = 'jlsitemap_cron' 
  AND `folder` = 'system'
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | tv1gz_extensions | ref | element_clientid,element_folder_clientid,extension | element_clientid | 402 | const | 1 | Using index condition; Using where | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.01 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.01 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.06 ms | 
| preparing | 0.01 ms | 
| executing | 0.00 ms | 
| Sending data | 0.03 ms | 
| end | 0.01 ms | 
| query end | 0.00 ms | 
| closing tables | 0.01 ms | 
| freeing items | 0.01 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 11 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1740 | 
| 10 | JDatabaseDriver->loadResult() | JROOT/plugins/system/jlsitemap_cron/jlsitemap_cron.php:197 | 
| 9 | PlgSystemJLSitemap_Cron->checkCacheTime() | JROOT/plugins/system/jlsitemap_cron/jlsitemap_cron.php:52 | 
| 8 | PlgSystemJLSitemap_Cron->onBeforeRender() | Same as call in the line below. | 
| 7 | call_user_func_array() | JROOT/libraries/joomla/event/event.php:70 | 
| 6 | JEvent->update() | JROOT/libraries/joomla/event/dispatcher.php:160 | 
| 5 | JEventDispatcher->trigger() | JROOT/libraries/src/Application/BaseApplication.php:108 | 
| 4 | Joomla\CMS\Application\BaseApplication->triggerEvent() | JROOT/libraries/src/Application/CMSApplication.php:1102 | 
| 3 | Joomla\CMS\Application\CMSApplication->render() | JROOT/libraries/src/Application/SiteApplication.php:778 | 
| 2 | Joomla\CMS\Application\SiteApplication->render() | JROOT/libraries/src/Application/CMSApplication.php:231 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
Query Time: 2.64 ms After last query: 16.29 ms Query memory: 0.015 MB Memory before query: 5.814 MB Rows returned: 0
SELECT `key` 
  FROM tv1gz_os_gallery_api 
  WHERE `service`='os_gallery_activation'
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | 
|---|
| 1 | SIMPLE | NULL | NULL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | NULL | Impossible WHERE noticed after reading const tables | 
| Status | Duration | 
|---|
| starting | 0.02 ms | 
| checking permissions | 0.00 ms | 
| Opening tables | 0.01 ms | 
| After opening tables | 0.00 ms | 
| System lock | 0.00 ms | 
| Table lock | 0.00 ms | 
| After table lock | 0.00 ms | 
| init | 0.01 ms | 
| optimizing | 0.01 ms | 
| statistics | 0.01 ms | 
| preparing | 0.00 ms | 
| executing | 0.01 ms | 
| end | 0.00 ms | 
| query end | 0.00 ms | 
| closing tables | 0.00 ms | 
| freeing items | 0.00 ms | 
| updating status | 0.01 ms | 
| cleaning up | 0.00 ms | 
| # | Caller | File and line number | 
|---|
| 11 | JDatabaseDriverMysqli->execute() | JROOT/libraries/joomla/database/driver.php:1740 | 
| 10 | JDatabaseDriver->loadResult() | JROOT/components/com_osgallery/helpers/osGalleryHelperSite.php:1997 | 
| 9 | osGalleryHelperSite::checkActivation() | JROOT/plugins/system/osgallery_system/osgallery_system.php:115 | 
| 8 | plgSystemOsGallery_system->onAfterRender() | Same as call in the line below. | 
| 7 | call_user_func_array() | JROOT/libraries/joomla/event/event.php:70 | 
| 6 | JEvent->update() | JROOT/libraries/joomla/event/dispatcher.php:160 | 
| 5 | JEventDispatcher->trigger() | JROOT/libraries/src/Application/BaseApplication.php:108 | 
| 4 | Joomla\CMS\Application\BaseApplication->triggerEvent() | JROOT/libraries/src/Application/CMSApplication.php:1118 | 
| 3 | Joomla\CMS\Application\CMSApplication->render() | JROOT/libraries/src/Application/SiteApplication.php:778 | 
| 2 | Joomla\CMS\Application\SiteApplication->render() | JROOT/libraries/src/Application/CMSApplication.php:231 | 
| 1 | Joomla\CMS\Application\CMSApplication->execute() | JROOT/index.php:49 | 
3 × SELECT a.id, a.alias, c.id as catid, c.alias as catalias, a.filename as filename, b.id AS currentid, 
  CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug, 
  CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug 
  FROM tv1gz_phocagallery AS a, tv1gz_phocagallery AS b 
  LEFT JOIN tv1gz_phocagallery_categories AS c 
  ON c.id = b.catid
2 × SELECT `extension_id` AS `id`,`element` AS `option`,`params`,`enabled` 
  FROM `tv1gz_extensions`
1 × SELECT a.*, c.accessuserid as cataccessuserid, c.access as cataccess, c.owner_id as owner_id,  ua.id AS userid, ua.username AS username, ua.name AS usernameno, 
  CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug, 
  CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug 
  FROM tv1gz_phocagallery AS a 
  LEFT JOIN tv1gz_phocagallery_categories AS c 
  ON c.id = a.catid 
  LEFT JOIN tv1gz_users AS ua 
  ON ua.id = a.userid
1 × SELECT a.* 
  FROM tv1gz_phocagallery_fb_users AS a
1 × SELECT a.id, a.filename, a.extl, a.description 
  FROM tv1gz_phocagallery AS a 
  LEFT JOIN tv1gz_phocagallery_img_votes_statistics AS r 
  ON r.imgid = a.id
1 × SELECT language,id 
  FROM `tv1gz_menu`
1 × SELECT `key` 
  FROM tv1gz_os_gallery_api
1 × SELECT params 
  FROM tv1gz_extensions
1 × SELECT a.filename as filename, a.type as type, a.menulink as menulink 
  FROM tv1gz_phocagallery_styles AS a
1 × SELECT id, home, template, s.params 
  FROM tv1gz_template_styles as s 
  LEFT JOIN tv1gz_extensions as e 
  ON e.element=s.template 
  AND e.type='template' 
  AND e.client_id=s.client_id
1 × SELECT b.id 
  FROM tv1gz_usergroups AS a 
  LEFT JOIN tv1gz_usergroups AS b 
  ON b.lft <= a.lft 
  AND b.rgt >= a.rgt
1 × SELECT id, rules 
  FROM `tv1gz_viewlevels
1 × SELECT `folder` AS `type`,`element` AS `name`,`params` AS `params`,`extension_id` AS `id` 
  FROM tv1gz_extensions
1 × SELECT * 
  FROM tv1gz_languages
1 × SELECT m.id, m.menutype, m.title, m.alias, m.note, m.path AS route, m.link, m.type, m.level, m.language,`m`.`browserNav`, m.access, m.params, m.home, m.img, m.template_style_id, m.component_id, m.parent_id,e.element as component 
  FROM tv1gz_menu AS m 
  LEFT JOIN tv1gz_extensions AS e 
  ON m.component_id = e.extension_id
1 × SELECT `element`,`name`,`client_id`,`extension_id` 
  FROM `tv1gz_extensions`
1 × SELECT `data` 
  FROM `tv1gz_session`