Query Time: 2.90 ms
SELECT `data`
FROM `jos_session`
WHERE `session_id` = '2d7aa8cd23e27b76353ad990917c7f07'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_session | const | PRIMARY | PRIMARY | 575 | const | 1 | 100.00 | NULL |
No SHOW PROFILE (maybe because there are more than 100 queries)
# | Caller | File and line number | 14 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1728 |
13 | JDatabaseDriver->loadResult() | JROOT/libraries/joomla/session/storage/database.php:44 |
12 | JSessionStorageDatabase->read() | Same as call in the line below. |
11 | session_start() | JROOT/libraries/joomla/session/handler/native.php:259 |
10 | JSessionHandlerNative->doSessionStart() | JROOT/libraries/joomla/session/handler/native.php:49 |
9 | JSessionHandlerNative->start() | JROOT/libraries/joomla/session/handler/joomla.php:81 |
8 | JSessionHandlerJoomla->start() | JROOT/libraries/joomla/session/session.php:636 |
7 | JSession->_start() | JROOT/libraries/joomla/session/session.php:596 |
6 | JSession->start() | JROOT/libraries/cms/application/cms.php:773 |
5 | JApplicationCms->loadSession() | JROOT/libraries/cms/application/cms.php:131 |
4 | JApplicationCms->__construct() | JROOT/libraries/cms/application/site.php:63 |
3 | JApplicationSite->__construct() | JROOT/libraries/cms/application/cms.php:408 |
2 | JApplicationCms::getInstance() | JROOT/libraries/joomla/factory.php:125 |
1 | JFactory::getApplication() | JROOT/index.php:46 |
Query Time: 4.86 ms After last query: 19.86 ms
DELETE
FROM `jos_session`
WHERE `time` < '1685971903'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_session | range | time | time | 45 | const | 1 | 100.00 | Using where |
No SHOW PROFILE (maybe because there are more than 100 queries)
# | Caller | File and line number | 6 | JDatabaseDriverMysql->execute() | JROOT/libraries/cms/application/cms.php:790 |
5 | JApplicationCms->loadSession() | JROOT/libraries/cms/application/cms.php:131 |
4 | JApplicationCms->__construct() | JROOT/libraries/cms/application/site.php:63 |
3 | JApplicationSite->__construct() | JROOT/libraries/cms/application/cms.php:408 |
2 | JApplicationCms::getInstance() | JROOT/libraries/joomla/factory.php:125 |
1 | JFactory::getApplication() | JROOT/index.php:46 |
Query Time: 5.31 ms After last query: 0.53 ms
SELECT `session_id`
FROM `jos_session`
WHERE `session_id` = '2d7aa8cd23e27b76353ad990917c7f07'
LIMIT 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_session | const | PRIMARY | PRIMARY | 575 | const | 1 | 100.00 | Using index |
No SHOW PROFILE (maybe because there are more than 100 queries)
# | Caller | File and line number | 8 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1728 |
7 | JDatabaseDriver->loadResult() | JROOT/libraries/cms/application/cms.php:176 |
6 | JApplicationCms->checkSession() | JROOT/libraries/cms/application/cms.php:799 |
5 | JApplicationCms->loadSession() | JROOT/libraries/cms/application/cms.php:131 |
4 | JApplicationCms->__construct() | JROOT/libraries/cms/application/site.php:63 |
3 | JApplicationSite->__construct() | JROOT/libraries/cms/application/cms.php:408 |
2 | JApplicationCms::getInstance() | JROOT/libraries/joomla/factory.php:125 |
1 | JFactory::getApplication() | JROOT/index.php:46 |
Query Time: 5.87 ms After last query: 0.51 ms
INSERT INTO `jos_session`
(`session_id`,`client_id`,`guest`,`time`,`userid`,`username`)
VALUES
('2d7aa8cd23e27b76353ad990917c7f07', 0, 1, '1685972803', 0, '')
EXPLAIN not possible on query: INSERT INTO `jos_session`
(`session_id`,`client_id`,`guest`,`time`,`userid`,`username`) VALUES
('2d7aa8cd23e27b76353ad990917c7f07', 0, 1, '1685972803', 0, '')
No SHOW PROFILE (maybe because there are more than 100 queries)
# | Caller | File and line number | 7 | JDatabaseDriverMysql->execute() | JROOT/libraries/cms/application/cms.php:212 |
6 | JApplicationCms->checkSession() | JROOT/libraries/cms/application/cms.php:799 |
5 | JApplicationCms->loadSession() | JROOT/libraries/cms/application/cms.php:131 |
4 | JApplicationCms->__construct() | JROOT/libraries/cms/application/site.php:63 |
3 | JApplicationSite->__construct() | JROOT/libraries/cms/application/cms.php:408 |
2 | JApplicationCms::getInstance() | JROOT/libraries/joomla/factory.php:125 |
1 | JFactory::getApplication() | JROOT/index.php:46 |
Query Time: 5.20 ms After last query: 18.41 ms
SELECT `extension_id` AS `id`,`element` AS `option`,`params`,`enabled`
FROM `jos_extensions`
WHERE `type` = 'component'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_extensions | ref | extension | extension | 62 | const | 35 | 100.00 | Using index condition |
No SHOW PROFILE (maybe because there are more than 100 queries)
# | Caller | File and line number | 10 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
9 | JDatabaseDriver->loadObjectList() | Same as call in the line below. |
8 | call_user_func_array() | JROOT/libraries/joomla/cache/controller/callback.php:152 |
7 | JCacheControllerCallback->get() | JROOT/libraries/cms/component/helper.php:448 |
6 | JComponentHelper::load() | JROOT/libraries/cms/component/helper.php:43 |
5 | JComponentHelper::getComponent() | JROOT/libraries/cms/component/helper.php:120 |
4 | JComponentHelper::getParams() | JROOT/libraries/cms/application/site.php:589 |
3 | JApplicationSite->initialiseApp() | JROOT/libraries/cms/application/site.php:209 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 2.26 ms After last query: 9.97 ms
SELECT b.id
FROM jos_usergroups AS a
LEFT JOIN jos_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 | filtered | Extra |
---|
1 | SIMPLE | a | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
1 | SIMPLE | b | range | idx_usergroup_nested_set_lookup | idx_usergroup_nested_set_lookup | 4 | NULL | 3 | 100.00 | Using where; Using index |
No SHOW PROFILE (maybe because there are more than 100 queries)
# | Caller | File and line number | 11 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1538 |
10 | JDatabaseDriver->loadColumn() | JROOT/libraries/joomla/access/access.php:835 |
9 | JAccess::getGroupsByUser() | JROOT/libraries/joomla/access/access.php:904 |
8 | JAccess::getAuthorisedViewLevels() | JROOT/libraries/joomla/user/user.php:454 |
7 | JUser->getAuthorisedViewLevels() | JROOT/libraries/cms/plugin/helper.php:296 |
6 | JPluginHelper::load() | JROOT/libraries/cms/plugin/helper.php:86 |
5 | JPluginHelper::getPlugin() | JROOT/libraries/cms/plugin/helper.php:128 |
4 | JPluginHelper::isEnabled() | JROOT/libraries/cms/application/site.php:599 |
3 | JApplicationSite->initialiseApp() | JROOT/libraries/cms/application/site.php:209 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 2.70 ms After last query: 4.21 ms
SELECT id, rules
FROM `jos_viewlevels`
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_viewlevels | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 5 | 100.00 | NULL |
No SHOW PROFILE (maybe because there are more than 100 queries)
# | Caller | File and line number | 10 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1494 |
9 | JDatabaseDriver->loadAssocList() | JROOT/libraries/joomla/access/access.php:921 |
8 | JAccess::getAuthorisedViewLevels() | JROOT/libraries/joomla/user/user.php:454 |
7 | JUser->getAuthorisedViewLevels() | JROOT/libraries/cms/plugin/helper.php:296 |
6 | JPluginHelper::load() | JROOT/libraries/cms/plugin/helper.php:86 |
5 | JPluginHelper::getPlugin() | JROOT/libraries/cms/plugin/helper.php:128 |
4 | JPluginHelper::isEnabled() | JROOT/libraries/cms/application/site.php:599 |
3 | JApplicationSite->initialiseApp() | JROOT/libraries/cms/application/site.php:209 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 5.60 ms After last query: 0.38 ms
SELECT folder AS type, element AS name, params
FROM jos_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 | filtered | Extra |
---|
1 | SIMPLE | jos_extensions | ref | extension | extension | 62 | const | 73 | 100.00 | Using index condition; Using where; Using filesort |
Status | Duration |
---|
starting | 0.20 ms |
checking permissions | 0.02 ms |
Opening tables | 0.03 ms |
init | 0.05 ms |
System lock | 0.02 ms |
optimizing | 0.03 ms |
statistics | 0.11 ms |
preparing | 0.11 ms |
Sorting result | 0.01 ms |
executing | 0.01 ms |
Sending data | 0.02 ms |
Creating sort index | 1.91 ms |
end | 0.02 ms |
query end | 0.02 ms |
ha_commit_one_phase(-1) | 0.02 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
query end | 0.01 ms |
closing tables | 0.02 ms |
freeing items | 0.05 ms |
cleaning up | 0.06 ms |
# | Caller | File and line number | 8 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
7 | JDatabaseDriver->loadObjectList() | JROOT/libraries/cms/plugin/helper.php:310 |
6 | JPluginHelper::load() | JROOT/libraries/cms/plugin/helper.php:86 |
5 | JPluginHelper::getPlugin() | JROOT/libraries/cms/plugin/helper.php:128 |
4 | JPluginHelper::isEnabled() | JROOT/libraries/cms/application/site.php:599 |
3 | JApplicationSite->initialiseApp() | JROOT/libraries/cms/application/site.php:209 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 4.15 ms After last query: 85.32 ms
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 jos_menu AS m
LEFT JOIN jos_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 | filtered | Extra |
---|
1 | SIMPLE | m | ref | idx_client_id_parent_id_alias_language | idx_client_id_parent_id_alias_language | 1 | const | 20 | 100.00 | Using index condition; Using where; Using filesort |
1 | SIMPLE | e | eq_ref | PRIMARY | PRIMARY | 4 | 7_01f5c54_1.m.component_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.17 ms |
checking permissions | 0.01 ms |
checking permissions | 0.01 ms |
Opening tables | 0.06 ms |
init | 0.09 ms |
System lock | 0.03 ms |
optimizing | 0.03 ms |
statistics | 0.13 ms |
preparing | 0.07 ms |
Sorting result | 0.01 ms |
executing | 0.01 ms |
Sending data | 0.04 ms |
Creating sort index | 0.96 ms |
end | 0.02 ms |
query end | 0.02 ms |
ha_commit_one_phase(-1) | 0.02 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
query end | 0.01 ms |
closing tables | 0.04 ms |
freeing items | 0.06 ms |
cleaning up | 0.10 ms |
# | Caller | File and line number | 21 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
20 | JDatabaseDriver->loadObjectList() | JROOT/libraries/cms/menu/site.php:86 |
19 | JMenuSite->load() | JROOT/libraries/cms/menu/menu.php:74 |
18 | JMenu->__construct() | JROOT/libraries/cms/menu/site.php:57 |
17 | JMenuSite->__construct() | JROOT/libraries/cms/menu/menu.php:145 |
16 | JMenu::getInstance() | JROOT/libraries/cms/application/cms.php:439 |
15 | JApplicationCms->getMenu() | JROOT/libraries/cms/application/site.php:272 |
14 | JApplicationSite->getMenu() | JROOT/libraries/cms/router/site.php:57 |
13 | JRouterSite->__construct() | JROOT/libraries/cms/router/router.php:197 |
12 | JRouter::getInstance() | JROOT/libraries/cms/application/cms.php:535 |
11 | JApplicationCms::getRouter() | JROOT/libraries/cms/application/site.php:407 |
10 | JApplicationSite::getRouter() | JROOT/plugins/system/dropfiles/dropfiles.php:32 |
9 | plgSystemDropfiles->onAfterInitialise() | Same as call in the line below. |
8 | call_user_func_array() | JROOT/libraries/joomla/event/event.php:69 |
7 | JEvent->update() | JROOT/libraries/joomla/event/dispatcher.php:159 |
6 | JEventDispatcher->trigger() | JROOT/libraries/joomla/application/base.php:106 |
5 | JApplicationBase->triggerEvent() | JROOT/libraries/cms/application/cms.php:670 |
4 | JApplicationCms->initialiseApp() | JROOT/libraries/cms/application/site.php:681 |
3 | JApplicationSite->initialiseApp() | JROOT/libraries/cms/application/site.php:209 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 1.60 ms After last query: 63.45 ms
SELECT `extension_id` AS `id`,`element` AS `option`,`params`,`enabled`
FROM `jos_extensions`
WHERE `type` = 'library'
AND `element` = 'joomla'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_extensions | ref | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | Using index condition |
Status | Duration |
---|
starting | 0.07 ms |
checking permissions | 0.01 ms |
Opening tables | 0.03 ms |
init | 0.03 ms |
System lock | 0.01 ms |
optimizing | 0.02 ms |
statistics | 0.13 ms |
preparing | 0.03 ms |
executing | 0.01 ms |
Sending data | 0.07 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
query end | 0.01 ms |
closing tables | 0.03 ms |
freeing items | 0.04 ms |
cleaning up | 0.07 ms |
# | Caller | File and line number | 14 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1650 |
13 | JDatabaseDriver->loadObject() | Same as call in the line below. |
12 | call_user_func_array() | JROOT/libraries/joomla/cache/controller/callback.php:152 |
11 | JCacheControllerCallback->get() | JROOT/libraries/cms/library/helper.php:156 |
10 | JLibraryHelper::_load() | JROOT/libraries/cms/library/helper.php:47 |
9 | JLibraryHelper::getLibrary() | JROOT/libraries/cms/library/helper.php:90 |
8 | JLibraryHelper::getParams() | JROOT/libraries/cms/version/version.php:274 |
7 | JVersion->getMediaVersion() | JROOT/libraries/joomla/factory.php:755 |
6 | JFactory::createDocument() | JROOT/libraries/joomla/factory.php:216 |
5 | JFactory::getDocument() | JROOT/libraries/joomla/application/web.php:977 |
4 | JApplicationWeb->loadDocument() | JROOT/libraries/cms/application/site.php:130 |
3 | JApplicationSite->dispatch() | JROOT/libraries/cms/application/site.php:230 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 1.11 ms After last query: 0.45 ms
UPDATE `jos_extensions`
SET `params` = '{\"mediaversion\":\"28f20a00a25008ba0ddfd292b6b6b4dc\"}'
WHERE `type` = 'library'
AND `element` = 'joomla'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_extensions | range | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.02 ms |
checking permissions | 0.01 ms |
Opening tables | 0.01 ms |
init | 0.01 ms |
System lock | 0.05 ms |
updating | 0.08 ms |
end | 0.01 ms |
query end | 0.01 ms |
wsrep in pre-commit stage | 0.13 ms |
ha_commit_one_phase(6239182610 | 0.01 ms |
innobase_commit_low():trx_comm | 0.02 ms |
ha_commit_one_phase(6239182610 | 0.00 ms |
wsrep in pre-commit stage | 0.01 ms |
closing tables | 0.01 ms |
freeing items | 0.02 ms |
cleaning up | 0.01 ms |
# | Caller | File and line number | 10 | JDatabaseDriverMysql->execute() | JROOT/libraries/cms/library/helper.php:119 |
9 | JLibraryHelper::saveParams() | JROOT/libraries/cms/version/version.php:325 |
8 | JVersion->setMediaVersion() | JROOT/libraries/cms/version/version.php:284 |
7 | JVersion->getMediaVersion() | JROOT/libraries/joomla/factory.php:755 |
6 | JFactory::createDocument() | JROOT/libraries/joomla/factory.php:216 |
5 | JFactory::getDocument() | JROOT/libraries/joomla/application/web.php:977 |
4 | JApplicationWeb->loadDocument() | JROOT/libraries/cms/application/site.php:130 |
3 | JApplicationSite->dispatch() | JROOT/libraries/cms/application/site.php:230 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 1.19 ms After last query: 12.29 ms
SELECT *
FROM jos_languages
WHERE published=1
ORDER BY ordering ASC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_languages | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 1 | 100.00 | Using where; Using filesort |
Status | Duration |
---|
starting | 0.03 ms |
checking permissions | 0.01 ms |
Opening tables | 0.02 ms |
init | 0.02 ms |
System lock | 0.01 ms |
optimizing | 0.01 ms |
statistics | 0.01 ms |
preparing | 0.01 ms |
Sorting result | 0.01 ms |
executing | 0.00 ms |
Sending data | 0.01 ms |
Creating sort index | 0.09 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.00 ms |
query end | 0.00 ms |
closing tables | 0.01 ms |
freeing items | 0.02 ms |
logging slow query | 0.00 ms |
logging slow query | 0.10 ms |
cleaning up | 0.04 ms |
# | Caller | File and line number | 7 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
6 | JDatabaseDriver->loadObjectList() | JROOT/libraries/joomla/language/helper.php:164 |
5 | JLanguageHelper::getLanguages() | JROOT/libraries/cms/application/site.php:329 |
4 | JApplicationSite->getParams() | JROOT/libraries/cms/application/site.php:135 |
3 | JApplicationSite->dispatch() | JROOT/libraries/cms/application/site.php:230 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 1.59 ms After last query: 0.55 ms
SELECT id, home, template, s.params
FROM jos_template_styles as s
LEFT JOIN jos_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 | filtered | Extra |
---|
1 | SIMPLE | s | ALL | idx_template | NO INDEX KEY COULD BE USED | NULL | NULL | 5 | 100.00 | Using where |
1 | SIMPLE | e | ref | element_clientid,element_folder_clientid,extension | element_clientid | 303 | 7_01f5c54_1.s.template,const | 1 | 100.00 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.05 ms |
checking permissions | 0.01 ms |
checking permissions | 0.01 ms |
Opening tables | 0.02 ms |
init | 0.03 ms |
System lock | 0.01 ms |
optimizing | 0.04 ms |
statistics | 0.09 ms |
preparing | 0.03 ms |
executing | 0.01 ms |
Sending data | 0.09 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.00 ms |
query end | 0.00 ms |
closing tables | 0.01 ms |
freeing items | 0.02 ms |
logging slow query | 0.01 ms |
logging slow query | 0.06 ms |
cleaning up | 0.01 ms |
# | Caller | File and line number | 6 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
5 | JDatabaseDriver->loadObjectList() | JROOT/libraries/cms/application/site.php:484 |
4 | JApplicationSite->getTemplate() | JROOT/libraries/cms/application/site.php:165 |
3 | JApplicationSite->dispatch() | JROOT/libraries/cms/application/site.php:230 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 4.34 ms After last query: 88.62 ms
SELECT a.filename as filename, a.type as type, a.menulink as menulink
FROM jos_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 | filtered | Extra |
---|
1 | SIMPLE | a | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 4 | 100.00 | Using where; Using filesort |
Status | Duration |
---|
starting | 0.05 ms |
checking permissions | 0.01 ms |
Opening tables | 3.25 ms |
init | 0.02 ms |
System lock | 0.01 ms |
optimizing | 0.01 ms |
statistics | 0.01 ms |
preparing | 0.01 ms |
Sorting result | 0.00 ms |
executing | 0.00 ms |
Sending data | 0.01 ms |
Creating sort index | 0.04 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.00 ms |
ha_commit_one_phase(-1) | 0.00 ms |
query end | 0.00 ms |
closing tables | 0.01 ms |
freeing items | 0.02 ms |
logging slow query | 0.00 ms |
logging slow query | 0.04 ms |
cleaning up | 0.07 ms |
# | Caller | File and line number | 13 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
12 | JDatabaseDriver->loadObjectList() | JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderfront.php:722 |
11 | PhocaGalleryRenderFront::renderAllCSS() | JROOT/components/com_phocagallery/views/categories/view.html.php:41 |
10 | PhocaGalleryViewCategories->display() | JROOT/libraries/legacy/controller/legacy.php:664 |
9 | JControllerLegacy->display() | JROOT/components/com_phocagallery/controller.php:30 |
8 | PhocaGalleryController->display() | JROOT/libraries/legacy/controller/legacy.php:702 |
7 | JControllerLegacy->execute() | JROOT/components/com_phocagallery/phocagallery.php:56 |
6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/cms/component/helper.php:405 |
5 | JComponentHelper::executeComponent() | JROOT/libraries/cms/component/helper.php:380 |
4 | JComponentHelper::renderComponent() | JROOT/libraries/cms/application/site.php:191 |
3 | JApplicationSite->dispatch() | JROOT/libraries/cms/application/site.php:230 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 15.95 ms After last query: 35.57 ms
SELECT cc.*, a.catid, COUNT(a.id) AS numlinks, u.username AS username, r.count AS ratingcount, r.average AS ratingaverage, uc.avatar AS avatar, uc.approved AS avatarapproved, uc.published AS avatarpublished, a.filename, a.exts, a.extm, a.extw, a.exth,
CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(':', cc.id, cc.alias) ELSE cc.id END as slug
FROM jos_phocagallery_categories AS cc
LEFT JOIN jos_phocagallery AS a
ON a.catid = cc.id
and a.published = 1
LEFT JOIN jos_phocagallery_user AS uc
ON uc.userid = cc.owner_id
LEFT JOIN jos_users AS u
ON u.id = cc.owner_id
LEFT JOIN jos_phocagallery_votes_statistics AS r
ON r.catid = cc.id
WHERE cc.published = 1
AND cc.approved = 1
GROUP BY cc.id
ORDER BY cc.ordering ASC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | cc | ALL | PRIMARY,cat_idx,idx_access,idx_checkout | NO INDEX KEY COULD BE USED | NULL | NULL | 7 | 100.00 | Using where; Using temporary; Using filesort |
1 | SIMPLE | a | ref | catid | catid | 5 | 7_01f5c54_1.cc.id,const | 5 | 100.00 | NULL |
1 | SIMPLE | uc | ALL | userid | NO INDEX KEY COULD BE USED | NULL | NULL | 1 | 100.00 | Using where; Using join buffer (Block Nested Loop) |
1 | SIMPLE | u | eq_ref | PRIMARY | PRIMARY | 4 | 7_01f5c54_1.cc.owner_id | 1 | 100.00 | NULL |
1 | SIMPLE | r | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 1 | 100.00 | Using where; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.09 ms |
checking permissions | 0.01 ms |
checking permissions | 0.00 ms |
checking permissions | 0.00 ms |
checking permissions | 0.03 ms |
checking permissions | 0.01 ms |
Opening tables | 10.66 ms |
init | 0.07 ms |
System lock | 0.01 ms |
optimizing | 0.01 ms |
statistics | 0.04 ms |
preparing | 0.05 ms |
Creating tmp table | 0.09 ms |
Sorting result | 0.01 ms |
executing | 0.00 ms |
Sending data | 3.04 ms |
Creating sort index | 0.09 ms |
end | 0.01 ms |
removing tmp table | 0.33 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.00 ms |
ha_commit_one_phase(-1) | 0.00 ms |
query end | 0.00 ms |
closing tables | 0.01 ms |
freeing items | 0.03 ms |
logging slow query | 0.00 ms |
logging slow query | 0.06 ms |
cleaning up | 0.11 ms |
# | Caller | File and line number | 15 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
14 | JDatabaseDriver->loadObjectList() | JROOT/libraries/legacy/model/legacy.php:310 |
13 | JModelLegacy->_getList() | JROOT/components/com_phocagallery/models/categories.php:49 |
12 | PhocagalleryModelCategories->getData() | JROOT/libraries/legacy/view/legacy.php:408 |
11 | JViewLegacy->get() | JROOT/components/com_phocagallery/views/categories/view.html.php:163 |
10 | PhocaGalleryViewCategories->display() | JROOT/libraries/legacy/controller/legacy.php:664 |
9 | JControllerLegacy->display() | JROOT/components/com_phocagallery/controller.php:30 |
8 | PhocaGalleryController->display() | JROOT/libraries/legacy/controller/legacy.php:702 |
7 | JControllerLegacy->execute() | JROOT/components/com_phocagallery/phocagallery.php:56 |
6 | require_once JROOT/components/com_phocagallery/phocagallery.php | JROOT/libraries/cms/component/helper.php:405 |
5 | JComponentHelper::executeComponent() | JROOT/libraries/cms/component/helper.php:380 |
4 | JComponentHelper::renderComponent() | JROOT/libraries/cms/application/site.php:191 |
3 | JApplicationSite->dispatch() | JROOT/libraries/cms/application/site.php:230 |
2 | JApplicationSite->doExecute() | JROOT/libraries/cms/application/cms.php:261 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 1.59 ms After last query: 119.27 ms
SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN jos_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
WHERE m.published = 1
AND e.enabled = 1
AND (m.publish_up = '0000-00-00 00:00:00' OR m.publish_up <= '2023-06-05 13:46:44')
AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2023-06-05 13:46:44')
AND m.access IN (1,1,5)
AND m.client_id = 0
AND (mm.menuid = 137 OR mm.menuid <= 0)
ORDER BY m.position, m.ordering
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | range | PRIMARY,published,newsfeeds | published | 5 | NULL | 9 | 100.00 | Using index condition; Using where; Using filesort |
1 | SIMPLE | mm | ref | PRIMARY | PRIMARY | 4 | 7_01f5c54_1.m.id | 1 | 100.00 | Using where; Using index |
1 | SIMPLE | e | ref | element_clientid,element_folder_clientid | element_clientid | 303 | 7_01f5c54_1.m.module,const | 1 | 100.00 | Using index condition; 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.03 ms |
init | 0.06 ms |
System lock | 0.01 ms |
optimizing | 0.02 ms |
statistics | 0.10 ms |
preparing | 0.03 ms |
Sorting result | 0.00 ms |
executing | 0.00 ms |
Sending data | 0.01 ms |
Creating sort index | 0.20 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.00 ms |
ha_commit_one_phase(-1) | 0.00 ms |
query end | 0.00 ms |
closing tables | 0.01 ms |
freeing items | 0.02 ms |
cleaning up | 0.01 ms |
# | Caller | File and line number | 15 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
14 | JDatabaseDriver->loadObjectList() | Same as call in the line below. |
13 | call_user_func_array() | JROOT/libraries/joomla/cache/controller/callback.php:152 |
12 | JCacheControllerCallback->get() | JROOT/libraries/cms/module/helper.php:425 |
11 | JModuleHelper::getModuleList() | JROOT/libraries/cms/module/helper.php:361 |
10 | JModuleHelper::load() | JROOT/libraries/cms/module/helper.php:84 |
9 | JModuleHelper::getModules() | JROOT/libraries/joomla/document/html.php:501 |
8 | JDocumentHtml->countModules() | JROOT/templates/protostar/index.php:94 |
7 | require JROOT/templates/protostar/index.php | JROOT/libraries/joomla/document/html.php:578 |
6 | JDocumentHtml->_loadTemplate() | JROOT/libraries/joomla/document/html.php:640 |
5 | JDocumentHtml->_fetchTemplate() | JROOT/libraries/joomla/document/html.php:455 |
4 | JDocumentHtml->parse() | JROOT/libraries/cms/application/cms.php:1072 |
3 | JApplicationCms->render() | JROOT/libraries/cms/application/site.php:773 |
2 | JApplicationSite->render() | JROOT/libraries/cms/application/cms.php:267 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 4.61 ms After last query: 291.46 ms
SHOW FULL COLUMNS
FROM `jos_assets`
EXPLAIN not possible on query: SHOW FULL COLUMNS FROM `jos_assets`
Status | Duration |
---|
starting | 0.05 ms |
checking permissions | 0.01 ms |
checking permissions | 0.01 ms |
Opening tables | 2.22 ms |
init | 0.02 ms |
System lock | 0.01 ms |
optimizing | 0.01 ms |
statistics | 0.02 ms |
preparing | 0.01 ms |
executing | 0.02 ms |
Opening tables | 0.07 ms |
checking permissions | 0.07 ms |
checking permissions | 0.03 ms |
checking permissions | 0.02 ms |
checking permissions | 0.02 ms |
checking permissions | 0.04 ms |
checking permissions | 0.03 ms |
checking permissions | 0.02 ms |
checking permissions | 0.03 ms |
Sending data | 0.07 ms |
end | 0.01 ms |
query end | 0.01 ms |
closing tables | 0.01 ms |
removing tmp table | 0.71 ms |
closing tables | 0.01 ms |
freeing items | 0.04 ms |
cleaning up | 0.02 ms |
# | Caller | File and line number | 17 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1689 |
16 | JDatabaseDriver->loadObjectList() | JROOT/libraries/joomla/database/driver/mysqli.php:440 |
15 | JDatabaseDriverMysqli->getTableColumns() | JROOT/libraries/joomla/table/table.php:241 |
14 | JTable->getFields() | JROOT/libraries/joomla/table/table.php:162 |
13 | JTable->__construct() | JROOT/libraries/joomla/table/asset.php:60 |
12 | JTableAsset->__construct() | JROOT/libraries/joomla/table/table.php:308 |
11 | JTable::getInstance() | JROOT/libraries/joomla/access/access.php:696 |
10 | JAccess::getExtensionNameFromAsset() | JROOT/libraries/joomla/access/access.php:555 |
9 | JAccess::getAssetRules() | JROOT/libraries/joomla/user/user.php:385 |
8 | JUser->authorise() | JROOT/libraries/joomla/document/renderer/html/modules.php:38 |
7 | JDocumentRendererHtmlModules->render() | JROOT/libraries/joomla/document/html.php:411 |
6 | JDocumentHtml->getBuffer() | JROOT/libraries/joomla/document/html.php:702 |
5 | JDocumentHtml->_renderTemplate() | JROOT/libraries/joomla/document/html.php:477 |
4 | JDocumentHtml->render() | JROOT/libraries/cms/application/cms.php:1086 |
3 | JApplicationCms->render() | JROOT/libraries/cms/application/site.php:773 |
2 | JApplicationSite->render() | JROOT/libraries/cms/application/cms.php:267 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 1.34 ms After last query: 9.14 ms
SELECT *
FROM jos_assets
WHERE `id` = '1'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_assets | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.05 ms |
checking permissions | 0.02 ms |
Opening tables | 0.03 ms |
init | 0.04 ms |
System lock | 0.02 ms |
optimizing | 0.02 ms |
statistics | 0.11 ms |
innobase_commit_low():trx_comm | 0.01 ms |
statistics | 0.01 ms |
preparing | 0.02 ms |
executing | 0.01 ms |
Sending data | 0.03 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.02 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
query end | 0.01 ms |
closing tables | 0.02 ms |
freeing items | 0.05 ms |
cleaning up | 0.02 ms |
# | Caller | File and line number | 13 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1453 |
12 | JDatabaseDriver->loadAssoc() | JROOT/libraries/joomla/table/table.php:719 |
11 | JTable->load() | JROOT/libraries/joomla/access/access.php:697 |
10 | JAccess::getExtensionNameFromAsset() | JROOT/libraries/joomla/access/access.php:555 |
9 | JAccess::getAssetRules() | JROOT/libraries/joomla/user/user.php:385 |
8 | JUser->authorise() | JROOT/libraries/joomla/document/renderer/html/modules.php:38 |
7 | JDocumentRendererHtmlModules->render() | JROOT/libraries/joomla/document/html.php:411 |
6 | JDocumentHtml->getBuffer() | JROOT/libraries/joomla/document/html.php:702 |
5 | JDocumentHtml->_renderTemplate() | JROOT/libraries/joomla/document/html.php:477 |
4 | JDocumentHtml->render() | JROOT/libraries/cms/application/cms.php:1086 |
3 | JApplicationCms->render() | JROOT/libraries/cms/application/site.php:773 |
2 | JApplicationSite->render() | JROOT/libraries/cms/application/cms.php:267 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 2.35 ms After last query: 0.38 ms
SELECT a.rules
FROM jos_assets AS a
WHERE (a.id = 1 OR a.name = 'root.1')
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | index_merge | PRIMARY,idx_asset_name | PRIMARY,idx_asset_name | 4,152 | NULL | 2 | 100.00 | Using union(PRIMARY,idx_asset_name); Using where |
Status | Duration |
---|
starting | 0.06 ms |
checking permissions | 0.01 ms |
Opening tables | 0.02 ms |
init | 0.03 ms |
System lock | 0.01 ms |
optimizing | 0.02 ms |
statistics | 0.09 ms |
preparing | 0.02 ms |
executing | 0.01 ms |
Sending data | 1.07 ms |
end | 0.02 ms |
query end | 0.02 ms |
ha_commit_one_phase(-1) | 0.02 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
query end | 0.01 ms |
closing tables | 0.02 ms |
freeing items | 0.03 ms |
cleaning up | 0.10 ms |
# | Caller | File and line number | 11 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1538 |
10 | JDatabaseDriver->loadColumn() | JROOT/libraries/joomla/access/access.php:652 |
9 | JAccess::getAssetRules() | JROOT/libraries/joomla/user/user.php:385 |
8 | JUser->authorise() | JROOT/libraries/joomla/document/renderer/html/modules.php:38 |
7 | JDocumentRendererHtmlModules->render() | JROOT/libraries/joomla/document/html.php:411 |
6 | JDocumentHtml->getBuffer() | JROOT/libraries/joomla/document/html.php:702 |
5 | JDocumentHtml->_renderTemplate() | JROOT/libraries/joomla/document/html.php:477 |
4 | JDocumentHtml->render() | JROOT/libraries/cms/application/cms.php:1086 |
3 | JApplicationCms->render() | JROOT/libraries/cms/application/site.php:773 |
2 | JApplicationSite->render() | JROOT/libraries/cms/application/cms.php:267 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 1.51 ms After last query: 5.16 ms
SELECT element
FROM jos_extensions
WHERE type = 'component'
AND enabled = '1'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | jos_extensions | ref | extension | extension | 62 | const | 35 | 100.00 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.05 ms |
checking permissions | 0.01 ms |
Opening tables | 0.02 ms |
init | 0.03 ms |
System lock | 0.01 ms |
optimizing | 0.02 ms |
statistics | 0.08 ms |
preparing | 0.03 ms |
executing | 0.01 ms |
Sending data | 0.30 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
query end | 0.01 ms |
closing tables | 0.01 ms |
freeing items | 0.03 ms |
cleaning up | 0.07 ms |
# | Caller | File and line number | 13 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1538 |
12 | JDatabaseDriver->loadColumn() | JROOT/libraries/joomla/access/access.php:413 |
11 | JAccess::preloadComponents() | JROOT/libraries/joomla/access/access.php:213 |
10 | JAccess::preload() | JROOT/libraries/joomla/access/access.php:168 |
9 | JAccess::check() | JROOT/libraries/joomla/user/user.php:394 |
8 | JUser->authorise() | JROOT/libraries/joomla/document/renderer/html/modules.php:38 |
7 | JDocumentRendererHtmlModules->render() | JROOT/libraries/joomla/document/html.php:411 |
6 | JDocumentHtml->getBuffer() | JROOT/libraries/joomla/document/html.php:702 |
5 | JDocumentHtml->_renderTemplate() | JROOT/libraries/joomla/document/html.php:477 |
4 | JDocumentHtml->render() | JROOT/libraries/cms/application/cms.php:1086 |
3 | JApplicationCms->render() | JROOT/libraries/cms/application/site.php:773 |
2 | JApplicationSite->render() | JROOT/libraries/cms/application/cms.php:267 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
Query Time: 2.27 ms After last query: 0.60 ms
SELECT a.name, a.rules
FROM jos_assets AS a
WHERE (a.name IN ('com_admin','com_ajax','com_banners','com_cache','com_categories','com_checkin','com_config','com_contact','com_content','com_contenthistory','com_cpanel','com_dropeditor','com_dropfiles','com_droppics','com_finder','com_installer','com_jce','com_joomlaupdate','com_languages','com_login','com_mailto','com_media','com_menus','com_messages','com_modules','com_newsfeeds','com_phocagallery','com_plugins','com_postinstall','com_redirect','com_search','com_tags','com_templates','com_users','com_wrapper') OR a.name = 'root.1')
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | ALL | idx_asset_name | NO INDEX KEY COULD BE USED | NULL | NULL | 135 | 26.67 | Using where |
Status | Duration |
---|
starting | 0.12 ms |
checking permissions | 0.01 ms |
Opening tables | 0.02 ms |
init | 0.08 ms |
System lock | 0.01 ms |
optimizing | 0.02 ms |
statistics | 0.27 ms |
preparing | 0.03 ms |
executing | 0.01 ms |
Sending data | 0.63 ms |
end | 0.01 ms |
query end | 0.01 ms |
ha_commit_one_phase(-1) | 0.01 ms |
innobase_commit_low():trx_comm | 0.01 ms |
ha_commit_one_phase(-1) | 0.00 ms |
query end | 0.01 ms |
closing tables | 0.01 ms |
freeing items | 0.04 ms |
logging slow query | 0.01 ms |
logging slow query | 0.11 ms |
cleaning up | 0.02 ms |
# | Caller | File and line number | 13 | JDatabaseDriverMysql->execute() | JROOT/libraries/joomla/database/driver.php:1494 |
12 | JDatabaseDriver->loadAssocList() | JROOT/libraries/joomla/access/access.php:441 |
11 | JAccess::preloadComponents() | JROOT/libraries/joomla/access/access.php:213 |
10 | JAccess::preload() | JROOT/libraries/joomla/access/access.php:168 |
9 | JAccess::check() | JROOT/libraries/joomla/user/user.php:394 |
8 | JUser->authorise() | JROOT/libraries/joomla/document/renderer/html/modules.php:38 |
7 | JDocumentRendererHtmlModules->render() | JROOT/libraries/joomla/document/html.php:411 |
6 | JDocumentHtml->getBuffer() | JROOT/libraries/joomla/document/html.php:702 |
5 | JDocumentHtml->_renderTemplate() | JROOT/libraries/joomla/document/html.php:477 |
4 | JDocumentHtml->render() | JROOT/libraries/cms/application/cms.php:1086 |
3 | JApplicationCms->render() | JROOT/libraries/cms/application/site.php:773 |
2 | JApplicationSite->render() | JROOT/libraries/cms/application/cms.php:267 |
1 | JApplicationCms->execute() | JROOT/index.php:49 |
2 × SELECT `extension_id` AS `id`,`element` AS `option`,`params`,`enabled`
FROM `jos_extensions`
1 × SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM jos_modules AS m
LEFT JOIN jos_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN jos_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
1 × SELECT cc.*, a.catid, COUNT(a.id) AS numlinks, u.username AS username, r.count AS ratingcount, r.average AS ratingaverage, uc.avatar AS avatar, uc.approved AS avatarapproved, uc.published AS avatarpublished, a.filename, a.exts, a.extm, a.extw, a.exth,
CASE WHEN CHAR_LENGTH(cc.alias) THEN CONCAT_WS(':', cc.id, cc.alias) ELSE cc.id END as slug
FROM jos_phocagallery_categories AS cc
LEFT JOIN jos_phocagallery AS a
ON a.catid = cc.id
and a.published = 1
LEFT JOIN jos_phocagallery_user AS uc
ON uc.userid = cc.owner_id
LEFT JOIN jos_users AS u
ON u.id = cc.owner_id
LEFT JOIN jos_phocagallery_votes_statistics AS r
ON r.catid = cc.id
1 × SELECT *
FROM jos_assets
1 × SELECT element
FROM jos_extensions
1 × SELECT a.name, a.rules
FROM jos_assets AS a
1 × SELECT a.filename as filename, a.type as type, a.menulink as menulink
FROM jos_phocagallery_styles AS a
1 × SELECT a.rules
FROM jos_assets AS a
1 × SELECT *
FROM jos_languages
1 × SELECT b.id
FROM jos_usergroups AS a
LEFT JOIN jos_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
1 × SELECT `session_id`
FROM `jos_session`
1 × SELECT id, rules
FROM `jos_viewlevels
1 × SELECT folder AS type, element AS name, params
FROM jos_extensions
1 × SELECT `data`
FROM `jos_session`
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 jos_menu AS m
LEFT JOIN jos_extensions AS e
ON m.component_id = e.extension_id
1 × SELECT id, home, template, s.params
FROM jos_template_styles as s
LEFT JOIN jos_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id