**Query Time: 0.69 ms** **Query memory: 0.010 MB Memory before query: 2.780 MB** **Rows returned: 0**
SELECT `data`
FROM `twj14_session`
WHERE `session_id` = '42cqs0kfirfthrkhp6ea286vn6'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_session | NULL | const | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.2 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
executing | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1320
JROOT\libraries\joomla\session\storage\database.php:46
JROOT\libraries\joomla\session\session.php:658
JROOT\libraries\joomla\session\session.php:596
JROOT\libraries\cms\application\cms.php:668
JROOT\libraries\cms\application\cms.php:131
JROOT\libraries\cms\application\site.php:63
JROOT\libraries\cms\application\cms.php:328
JROOT\libraries\joomla\factory.php:124
JROOT\index.php:37
**Query Time: 0.57 ms** **After last query: 15.39 ms** **Query memory: 0.008 MB Memory before query: 2.941 MB** **Rows returned: 0**
SELECT `session_id`
FROM `twj14_session`
WHERE `session_id` = '42cqs0kfirfthrkhp6ea286vn6'
LIMIT 0, 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_session | NULL | const | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | Using index |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
executing | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1320
JROOT\libraries\cms\application\cms.php:175
JROOT\libraries\cms\application\cms.php:694
JROOT\libraries\cms\application\cms.php:131
JROOT\libraries\cms\application\site.php:63
JROOT\libraries\cms\application\cms.php:328
JROOT\libraries\joomla\factory.php:124
JROOT\index.php:37
**Query Time: 4.20 ms** **After last query: 0.37 ms** **Query memory: 0.005 MB Memory before query: 2.948 MB**
INSERT INTO `twj14_session`
(`session_id`, `client_id`, `time`)
VALUES
('42cqs0kfirfthrkhp6ea286vn6', 0, '1660479678')
**EXPLAIN not possible on query: INSERT INTO `twj14_session`
(`session_id`, `client_id`, `time`) VALUES
('42cqs0kfirfthrkhp6ea286vn6', 0, '1660479678')**
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
update | 0.1 ms |
end | 0.0 ms |
query end | 3.7 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\cms\application\cms.php:207
JROOT\libraries\cms\application\cms.php:694
JROOT\libraries\cms\application\cms.php:131
JROOT\libraries\cms\application\site.php:63
JROOT\libraries\cms\application\cms.php:328
JROOT\libraries\joomla\factory.php:124
JROOT\index.php:37
**Query Time: 0.87 ms** **After last query: 20.91 ms** **Query memory: 0.010 MB Memory before query: 3.430 MB** **Rows returned: 1**
SELECT extension_id AS id, element AS "option", params, enabled
FROM twj14_extensions
WHERE `type` = 'component'
AND `element` = 'com_users'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_extensions | NULL | ref | element_clientid,element_folder_clientid,extension | element_clientid | 302 | const | 1 | 10.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.2 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1242
JROOT\libraries\joomla\cache\controller\callback.php:158
JROOT\libraries\cms\component\helper.php:396
JROOT\libraries\cms\component\helper.php:43
JROOT\libraries\cms\component\helper.php:91
JROOT\libraries\cms\application\site.php:570
JROOT\libraries\cms\application\site.php:209
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 0.90 ms** **After last query: 5.85 ms** **Query memory: 0.009 MB Memory before query: 3.535 MB** **Rows returned: 1**
SELECT b.id
FROM twj14_usergroups AS a
LEFT JOIN twj14_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE a.id = 1
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | NULL | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
1 | SIMPLE | b | NULL | range | idx_usergroup_nested_set_lookup | idx_usergroup_nested_set_lookup | 4 | NULL | 1 | 100.00 | Using where; Using index |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.2 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1131
JROOT\libraries\joomla\access\access.php:334
JROOT\libraries\joomla\access\access.php:403
JROOT\libraries\joomla\user\user.php:428
JROOT\libraries\cms\plugin\helper.php:298
JROOT\libraries\cms\plugin\helper.php:165
JROOT\libraries\cms\application\site.php:575
JROOT\libraries\cms\application\site.php:209
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 0.63 ms** **After last query: 1.64 ms** **Query memory: 0.009 MB Memory before query: 3.616 MB** **Rows returned: 5**
SELECT id, rules
FROM `twj14_viewlevels`
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_viewlevels | NULL | ALL | NULL | **NO INDEX KEY COULD BE USED** | NULL | NULL | 5 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1087
JROOT\libraries\joomla\access\access.php:420
JROOT\libraries\joomla\user\user.php:428
JROOT\libraries\cms\plugin\helper.php:298
JROOT\libraries\cms\plugin\helper.php:165
JROOT\libraries\cms\application\site.php:575
JROOT\libraries\cms\application\site.php:209
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 1.19 ms** **After last query: 0.31 ms** **Query memory: 0.009 MB Memory before query: 3.628 MB** **Rows returned: 49**
SELECT folder AS type, element AS name, params
FROM twj14_extensions
WHERE enabled >= 1
AND type ='plugin'
AND state >= 0
AND access IN (1,1)
ORDER BY ordering
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_extensions | NULL | ref | extension | extension | 62 | const | 69 | 2.22 | Using index condition; Using where; **Using filesort** |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.4 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\cms\plugin\helper.php:312
JROOT\libraries\cms\plugin\helper.php:165
JROOT\libraries\cms\application\site.php:575
JROOT\libraries\cms\application\site.php:209
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 0.46 ms** **After last query: 0.58 ms** **Query memory: 0.009 MB Memory before query: 3.700 MB** **Rows returned: 1**
SELECT extension_id AS id, element AS "option", params, enabled
FROM twj14_extensions
WHERE `type` = 'component'
AND `element` = 'com_languages'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_extensions | NULL | ref | element_clientid,element_folder_clientid,extension | element_clientid | 302 | const | 1 | 10.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1242
JROOT\libraries\joomla\cache\controller\callback.php:158
JROOT\libraries\cms\component\helper.php:396
JROOT\libraries\cms\component\helper.php:43
JROOT\libraries\cms\component\helper.php:91
JROOT\libraries\cms\application\site.php:628
JROOT\libraries\cms\application\site.php:209
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 1.92 ms** **After last query: 126.89 ms** **Query memory: 0.018 MB Memory before query: 5.579 MB** **Rows returned: 7**
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 twj14_menu AS m
LEFT JOIN twj14_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 | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | ref | idx_client_id_parent_id_alias_language | idx_client_id_parent_id_alias_language | 1 | const | 105 | 3.33 | Using index condition; Using where; **Using filesort** |
1 | SIMPLE | e | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.m.component_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.5 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.6 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.1 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\cms\menu\site.php:47
JROOT\libraries\cms\menu\menu.php:64
JROOT\libraries\cms\menu\menu.php:118
JROOT\libraries\cms\application\cms.php:353
JROOT\libraries\cms\application\site.php:279
JROOT\libraries\cms\router\site.php:218
JROOT\libraries\cms\router\router.php:408
JROOT\libraries\cms\router\router.php:192
JROOT\libraries\cms\router\site.php:90
JROOT\libraries\cms\application\cms.php:1018
JROOT\libraries\cms\application\site.php:749
JROOT\libraries\cms\application\site.php:231
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 6.51 ms** **After last query: 8.32 ms** **Query memory: 0.020 MB Memory before query: 5.866 MB** **Rows returned: 6**
SELECT id, home, template, s.params
FROM twj14_template_styles as s
LEFT JOIN twj14_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 | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | s | NULL | ALL | idx_template | **NO INDEX KEY COULD BE USED** | NULL | NULL | 9 | 11.11 | Using where |
1 | SIMPLE | e | NULL | ref | element_clientid,element_folder_clientid,extension | element_clientid | 303 | db1087028_tw_joomla_prod.s.template,const | 1 | 4.69 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 4.6 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.2 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.1 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\cms\application\site.php:486
JROOT\libraries\cms\html\html.php:336
JROOT\libraries\cms\html\html.php:682
JROOT\libraries\cms\html\html.php:238
JROOT\libraries\cms\html\html.php:140
JROOT\libraries\cms\html\jquery.php:55
JROOT\libraries\cms\html\html.php:238
JROOT\libraries\cms\html\html.php:140
JROOT\plugins\system\jquery\jquery.php:38
JROOT\libraries\joomla\event\event.php:71
JROOT\libraries\joomla\event\dispatcher.php:162
JROOT\libraries\joomla\application\base.php:106
JROOT\libraries\cms\application\cms.php:1027
JROOT\libraries\cms\application\site.php:749
JROOT\libraries\cms\application\site.php:231
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 0.79 ms** **After last query: 5.87 ms** **Query memory: 0.020 MB Memory before query: 5.975 MB** **Rows returned: 1**
SELECT extension_id AS id, element AS "option", params, enabled
FROM twj14_extensions
WHERE `type` = 'library'
AND `element` = 'joomla'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_extensions | NULL | ref | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1242
JROOT\libraries\joomla\cache\controller\callback.php:158
JROOT\libraries\cms\library\helper.php:156
JROOT\libraries\cms\library\helper.php:47
JROOT\libraries\cms\library\helper.php:90
JROOT\libraries\cms\version\version.php:179
JROOT\libraries\joomla\factory.php:734
JROOT\libraries\joomla\factory.php:215
JROOT\libraries\cms\html\html.php:703
JROOT\libraries\cms\html\html.php:238
JROOT\libraries\cms\html\html.php:140
JROOT\libraries\cms\html\jquery.php:55
JROOT\libraries\cms\html\html.php:238
JROOT\libraries\cms\html\html.php:140
JROOT\plugins\system\jquery\jquery.php:38
JROOT\libraries\joomla\event\event.php:71
JROOT\libraries\joomla\event\dispatcher.php:162
JROOT\libraries\joomla\application\base.php:106
JROOT\libraries\cms\application\cms.php:1027
JROOT\libraries\cms\application\site.php:749
JROOT\libraries\cms\application\site.php:231
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 1.54 ms** **After last query: 0.38 ms** **Query memory: 0.016 MB Memory before query: 5.954 MB**
UPDATE `twj14_extensions`
SET `params` = '{\"mediaversion\":\"cb8ae47e5fda1e40e16ccff344bfe6bb\"}'
WHERE `type` = 'library'
AND `element` = 'joomla'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | UPDATE | twj14_extensions | NULL | range | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
updating | 0.0 ms |
end | 0.0 ms |
query end | 1.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\cms\library\helper.php:119
JROOT\libraries\cms\version\version.php:230
JROOT\libraries\cms\version\version.php:189
JROOT\libraries\joomla\factory.php:734
JROOT\libraries\joomla\factory.php:215
JROOT\libraries\cms\html\html.php:703
JROOT\libraries\cms\html\html.php:238
JROOT\libraries\cms\html\html.php:140
JROOT\libraries\cms\html\jquery.php:55
JROOT\libraries\cms\html\html.php:238
JROOT\libraries\cms\html\html.php:140
JROOT\plugins\system\jquery\jquery.php:38
JROOT\libraries\joomla\event\event.php:71
JROOT\libraries\joomla\event\dispatcher.php:162
JROOT\libraries\joomla\application\base.php:106
JROOT\libraries\cms\application\cms.php:1027
JROOT\libraries\cms\application\site.php:749
JROOT\libraries\cms\application\site.php:231
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 0.62 ms** **After last query: 24.03 ms** **Query memory: 0.017 MB Memory before query: 6.343 MB** **Rows returned: 1**
SELECT extension_id AS id, element AS "option", params, enabled
FROM twj14_extensions
WHERE `type` = 'component'
AND `element` = 'com_content'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_extensions | NULL | ref | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1242
JROOT\libraries\joomla\cache\controller\callback.php:158
JROOT\libraries\cms\component\helper.php:396
JROOT\libraries\cms\component\helper.php:43
JROOT\libraries\cms\component\helper.php:91
JROOT\components\com_content\router.php:37
JROOT\libraries\cms\router\site.php:463
JROOT\libraries\cms\router\site.php:426
JROOT\libraries\cms\router\router.php:231
JROOT\libraries\cms\router\site.php:106
JROOT\libraries\joomla\application\route.php:64
JROOT\plugins\system\sef\sef.php:49
JROOT\libraries\joomla\event\event.php:71
JROOT\libraries\joomla\event\dispatcher.php:162
JROOT\libraries\joomla\application\base.php:106
JROOT\libraries\cms\application\cms.php:1027
JROOT\libraries\cms\application\site.php:749
JROOT\libraries\cms\application\site.php:231
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 1.59 ms** **After last query: 3.92 ms** **Query memory: 0.009 MB Memory before query: 6.369 MB** **Rows returned: 1**
SELECT *
FROM twj14_languages
WHERE published=1
ORDER BY ordering ASC
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_languages | NULL | ALL | NULL | **NO INDEX KEY COULD BE USED** | NULL | NULL | 2 | 50.00 | Using where; **Using filesort** |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.4 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\joomla\language\helper.php:166
JROOT\libraries\cms\application\site.php:336
JROOT\libraries\cms\application\site.php:135
JROOT\libraries\cms\application\site.php:237
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 1.04 ms** **After last query: 47.99 ms** **Query memory: 0.015 MB Memory before query: 7.467 MB** **Rows returned: 1**
SELECT a.rules
FROM twj14_assets AS a
WHERE (a.id = 1)
GROUP BY a.id, a.rules, a.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | NULL | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
Opening tables | 0.3 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1131
JROOT\libraries\joomla\access\access.php:248
JROOT\libraries\joomla\user\user.php:364
JROOT\components\com_content\models\articles.php:107
JROOT\components\com_content\models\featured.php:39
JROOT\libraries\legacy\model\legacy.php:415
JROOT\libraries\legacy\view\legacy.php:398
JROOT\components\com_content\views\featured\view.html.php:48
JROOT\libraries\legacy\controller\legacy.php:693
JROOT\components\com_content\controller.php:79
JROOT\libraries\legacy\controller\legacy.php:730
JROOT\components\com_content\content.php:16
JROOT\libraries\cms\component\helper.php:352
JROOT\libraries\cms\component\helper.php:332
JROOT\libraries\cms\application\site.php:191
JROOT\libraries\cms\application\site.php:237
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 1.09 ms** **After last query: 5.17 ms** **Query memory: 0.016 MB Memory before query: 7.522 MB** **Rows returned: 2**
SELECT b.rules
FROM twj14_assets AS a
LEFT JOIN twj14_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
WHERE (a.name = 'com_content')
GROUP BY b.id, b.rules, b.lft
ORDER BY b.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | NULL | const | idx_asset_name | idx_asset_name | 152 | const | 1 | 100.00 | Using temporary; **Using filesort** |
1 | SIMPLE | b | NULL | range | idx_lft_rgt | idx_lft_rgt | 4 | NULL | 10 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.1 ms |
Creating sort index | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.1 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1131
JROOT\libraries\joomla\access\access.php:248
JROOT\libraries\joomla\access\access.php:109
JROOT\libraries\joomla\user\user.php:373
JROOT\components\com_content\models\articles.php:107
JROOT\components\com_content\models\featured.php:39
JROOT\libraries\legacy\model\legacy.php:415
JROOT\libraries\legacy\view\legacy.php:398
JROOT\components\com_content\views\featured\view.html.php:48
JROOT\libraries\legacy\controller\legacy.php:693
JROOT\components\com_content\controller.php:79
JROOT\libraries\legacy\controller\legacy.php:730
JROOT\components\com_content\content.php:16
JROOT\libraries\cms\component\helper.php:352
JROOT\libraries\cms\component\helper.php:332
JROOT\libraries\cms\application\site.php:191
JROOT\libraries\cms\application\site.php:237
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 3.50 ms** **After last query: 2.87 ms** **Query memory: 0.021 MB Memory before query: 7.572 MB** **Rows returned: 0**
SELECT a.id, a.title, a.alias, a.introtext, a.fulltext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.language, LENGTH(a.fulltext) AS readmore,
CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM twj14_content AS a
LEFT JOIN twj14_categories AS c
ON c.id = a.catid
LEFT JOIN twj14_users AS ua
ON ua.id = a.created_by
LEFT JOIN twj14_users AS uam
ON uam.id = a.modified_by
LEFT JOIN twj14_categories as parent
ON parent.id = c.parent_id
LEFT JOIN twj14_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id ) AS badcats
ON badcats.id = c.id
INNER JOIN twj14_content_frontpage AS fp
ON fp.content_id = a.id
WHERE a.access IN (1,1)
AND c.access IN (1,1)
AND
CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2022-08-14 12:21:18')
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2022-08-14 12:21:18')
ORDER BY c.lft,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END DESC , a.created DESC
LIMIT 0, 12
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | fp | NULL | index | PRIMARY | PRIMARY | 4 | NULL | 1 | 100.00 | Using index; Using temporary; **Using filesort** |
1 | PRIMARY | a | NULL | eq_ref | PRIMARY,idx_access,idx_catid | PRIMARY | 4 | db1087028_tw_joomla_prod.fp.content_id | 1 | 16.00 | Using where |
1 | PRIMARY | c | NULL | eq_ref | PRIMARY,idx_access | PRIMARY | 4 | db1087028_tw_joomla_prod.a.catid | 1 | 100.00 | Using where |
1 | PRIMARY | ua | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.created_by | 1 | 100.00 | Using where |
1 | PRIMARY | uam | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.modified_by | 1 | 100.00 | Using where |
1 | PRIMARY | parent | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.c.parent_id | 1 | 100.00 | Using where |
1 | PRIMARY | v | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.id | 1 | 100.00 | Using where |
1 | PRIMARY | <derived2> | NULL | ref | <auto_key0> | <auto_key0> | 4 | db1087028_tw_joomla_prod.c.id | 2 | 100.00 | Using where; Using index |
2 | DERIVED | parent | NULL | range | cat_idx,idx_left_right | cat_idx | 153 | NULL | 2 | 100.00 | Using index condition; Using temporary; **Using filesort** |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 20 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.3 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 1.2 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.4 ms |
preparing | 0.0 ms |
Creating tmp table | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.2 ms |
Creating sort index | 0.3 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\legacy\model\legacy.php:301
JROOT\libraries\legacy\model\list.php:171
JROOT\components\com_content\models\articles.php:537
JROOT\components\com_content\models\featured.php:84
JROOT\libraries\legacy\view\legacy.php:398
JROOT\components\com_content\views\featured\view.html.php:49
JROOT\libraries\legacy\controller\legacy.php:693
JROOT\components\com_content\controller.php:79
JROOT\libraries\legacy\controller\legacy.php:730
JROOT\components\com_content\content.php:16
JROOT\libraries\cms\component\helper.php:352
JROOT\libraries\cms\component\helper.php:332
JROOT\libraries\cms\application\site.php:191
JROOT\libraries\cms\application\site.php:237
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 0.83 ms** **After last query: 3.69 ms** **Query memory: 0.014 MB Memory before query: 7.736 MB** **Rows returned: 1**
SELECT COUNT(*)
FROM twj14_content AS a
LEFT JOIN twj14_categories AS c
ON c.id = a.catid
LEFT JOIN twj14_users AS ua
ON ua.id = a.created_by
LEFT JOIN twj14_users AS uam
ON uam.id = a.modified_by
LEFT JOIN twj14_categories as parent
ON parent.id = c.parent_id
LEFT JOIN twj14_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id ) AS badcats
ON badcats.id = c.id
INNER JOIN twj14_content_frontpage AS fp
ON fp.content_id = a.id
WHERE a.access IN (1,1)
AND c.access IN (1,1)
AND
CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2022-08-14 12:21:18')
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2022-08-14 12:21:18')
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | fp | NULL | index | PRIMARY | PRIMARY | 4 | NULL | 1 | 100.00 | Using index |
1 | PRIMARY | a | NULL | eq_ref | PRIMARY,idx_access,idx_catid | PRIMARY | 4 | db1087028_tw_joomla_prod.fp.content_id | 1 | 16.00 | Using where |
1 | PRIMARY | c | NULL | eq_ref | PRIMARY,idx_access | PRIMARY | 4 | db1087028_tw_joomla_prod.a.catid | 1 | 100.00 | Using where |
1 | PRIMARY | ua | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.created_by | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | uam | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.modified_by | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | parent | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.c.parent_id | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | v | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.id | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | <derived2> | NULL | ref | <auto_key0> | <auto_key0> | 4 | db1087028_tw_joomla_prod.c.id | 2 | 100.00 | Using where; Using index |
2 | DERIVED | parent | NULL | range | cat_idx,idx_left_right | cat_idx | 153 | NULL | 2 | 100.00 | Using index condition; Using temporary; **Using filesort** |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 20 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1320
JROOT\libraries\legacy\model\legacy.php:327
JROOT\libraries\legacy\model\list.php:276
JROOT\libraries\legacy\model\list.php:221
JROOT\libraries\legacy\view\legacy.php:398
JROOT\components\com_content\views\featured\view.html.php:50
JROOT\libraries\legacy\controller\legacy.php:693
JROOT\components\com_content\controller.php:79
JROOT\libraries\legacy\controller\legacy.php:730
JROOT\components\com_content\content.php:16
JROOT\libraries\cms\component\helper.php:352
JROOT\libraries\cms\component\helper.php:332
JROOT\libraries\cms\application\site.php:191
JROOT\libraries\cms\application\site.php:237
JROOT\libraries\cms\application\cms.php:251
JROOT\index.php:40
**Query Time: 1.75 ms** **After last query: 50.37 ms** **Query memory: 0.012 MB Memory before query: 8.596 MB** **Rows returned: 9**
SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM twj14_modules AS m
LEFT JOIN twj14_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN twj14_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 <= '2022-08-14 12:21:18')
AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2022-08-14 12:21:18')
AND m.access IN (1,1)
AND m.client_id = 0
AND (mm.menuid = 101 OR mm.menuid <= 0)
ORDER BY m.position, m.ordering
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | range | PRIMARY,published,newsfeeds | published | 5 | NULL | 15 | 1.60 | Using index condition; Using where; **Using filesort** |
1 | SIMPLE | e | NULL | ref | element_clientid,element_folder_clientid | element_clientid | 303 | db1087028_tw_joomla_prod.m.module,const | 1 | 10.00 | Using index condition; Using where |
1 | SIMPLE | mm | NULL | ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.m.id | 5 | 40.00 | Using where; Using index |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.3 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.5 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\cms\module\helper.php:376
JROOT\libraries\cms\module\helper.php:84
JROOT\libraries\joomla\document\html\html.php:510
JROOT\templates\kallyas\index.php:17
JROOT\libraries\joomla\document\html\html.php:576
JROOT\libraries\joomla\document\html\html.php:634
JROOT\libraries\joomla\document\html\html.php:452
JROOT\libraries\cms\application\cms.php:974
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 2.60 ms** **After last query: 113.97 ms** **Query memory: 0.021 MB Memory before query: 9.268 MB** **Rows returned: 3**
SELECT a.id, a.title, a.alias, a.introtext, a.fulltext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.language, LENGTH(a.fulltext) AS readmore,
CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM twj14_content AS a
LEFT JOIN twj14_content_frontpage AS fp
ON fp.content_id = a.id
LEFT JOIN twj14_categories AS c
ON c.id = a.catid
LEFT JOIN twj14_users AS ua
ON ua.id = a.created_by
LEFT JOIN twj14_users AS uam
ON uam.id = a.modified_by
LEFT JOIN twj14_categories as parent
ON parent.id = c.parent_id
LEFT JOIN twj14_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id ) AS badcats
ON badcats.id = c.id
WHERE a.access IN (1,1)
AND c.access IN (1,1)
AND
CASE WHEN badcats.id is null THEN a.state ELSE 0 END = 1
AND a.catid IN (8)
AND (a.publish_up = '0000-00-00 00:00:00' OR a.publish_up <= '2022-08-14 12:21:18')
AND (a.publish_down = '0000-00-00 00:00:00' OR a.publish_down >= '2022-08-14 12:21:18')
ORDER BY a.created DESC
LIMIT 0, 3
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | c | NULL | const | PRIMARY,idx_access | PRIMARY | 4 | const | 1 | 100.00 | Using temporary; **Using filesort** |
1 | PRIMARY | a | NULL | ref | idx_access,idx_catid | idx_catid | 4 | const | 26 | 16.00 | Using where |
1 | PRIMARY | fp | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.id | 1 | 100.00 | Using where; Using index |
1 | PRIMARY | ua | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.created_by | 1 | 100.00 | Using where |
1 | PRIMARY | uam | NULL | eq_ref | PRIMARY | PRIMARY | 4 | db1087028_tw_joomla_prod.a.modified_by | 1 | 100.00 | Using where |
1 | PRIMARY | parent | NULL | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | Using where |
1 | PRIMARY | v | NULL | ALL | PRIMARY | **NO INDEX KEY COULD BE USED** | NULL | NULL | 1 | 100.00 | Using where; Using join buffer (Block Nested Loop) |
1 | PRIMARY | <derived2> | NULL | ref | <auto_key0> | <auto_key0> | 4 | const | 1 | 100.00 | Using where; Using index |
2 | DERIVED | parent | NULL | range | cat_idx,idx_left_right | cat_idx | 153 | NULL | 2 | 100.00 | Using index condition; Using temporary; **Using filesort** |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 20 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.2 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.2 ms |
preparing | 0.0 ms |
Creating tmp table | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.5 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.3 ms |
Creating sort index | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.1 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\legacy\model\legacy.php:301
JROOT\libraries\legacy\model\list.php:171
JROOT\components\com_content\models\articles.php:537
JROOT\modules\mod_hg_latestposts\helper.php:96
JROOT\modules\mod_hg_latestposts\mod_hg_latestposts.php:9
JROOT\libraries\cms\module\helper.php:190
JROOT\libraries\joomla\document\html\renderer\module.php:105
JROOT\libraries\joomla\document\html\renderer\modules.php:46
JROOT\libraries\joomla\document\html\html.php:408
JROOT\libraries\joomla\document\html\html.php:696
JROOT\libraries\joomla\document\html\html.php:474
JROOT\libraries\cms\application\cms.php:988
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 1.06 ms** **After last query: 6.00 ms** **Query memory: 0.017 MB Memory before query: 9.586 MB** **Rows returned: 1**
SELECT extension_id AS id, element AS "option", params, enabled
FROM twj14_extensions
WHERE `type` = 'component'
AND `element` = 'com_tags'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_extensions | NULL | ref | element_clientid,element_folder_clientid,extension | element_clientid | 302 | const | 1 | 10.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.2 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1242
JROOT\libraries\joomla\cache\controller\callback.php:158
JROOT\libraries\cms\component\helper.php:396
JROOT\libraries\cms\component\helper.php:43
JROOT\libraries\cms\component\helper.php:91
JROOT\libraries\cms\helper\tags.php:392
JROOT\components\com_content\models\articles.php:663
JROOT\modules\mod_hg_latestposts\helper.php:96
JROOT\modules\mod_hg_latestposts\mod_hg_latestposts.php:9
JROOT\libraries\cms\module\helper.php:190
JROOT\libraries\joomla\document\html\renderer\module.php:105
JROOT\libraries\joomla\document\html\renderer\modules.php:46
JROOT\libraries\joomla\document\html\html.php:408
JROOT\libraries\joomla\document\html\html.php:696
JROOT\libraries\joomla\document\html\html.php:474
JROOT\libraries\cms\application\cms.php:988
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 1.44 ms** **After last query: 0.24 ms** **Query memory: 0.018 MB Memory before query: 9.559 MB** **Rows returned: 0**
SELECT `m`.`tag_id`,`t`.*
FROM `twj14_contentitem_tag_map` AS m
INNER JOIN `twj14_tags` AS t
ON `m`.`tag_id` = `t`.`id`
WHERE `m`.`type_alias` = 'com_content.article'
AND `m`.`content_item_id` = 82
AND `t`.`published` = 1
AND t.access IN (1,1)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | ALL | idx_tag_type,idx_tag | **NO INDEX KEY COULD BE USED** | NULL | NULL | 1 | 100.00 | Using where |
1 | SIMPLE | t | NULL | eq_ref | PRIMARY,tag_idx,idx_access | PRIMARY | 4 | db1087028_tw_joomla_prod.m.tag_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.6 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\cms\helper\tags.php:412
JROOT\components\com_content\models\articles.php:663
JROOT\modules\mod_hg_latestposts\helper.php:96
JROOT\modules\mod_hg_latestposts\mod_hg_latestposts.php:9
JROOT\libraries\cms\module\helper.php:190
JROOT\libraries\joomla\document\html\renderer\module.php:105
JROOT\libraries\joomla\document\html\renderer\modules.php:46
JROOT\libraries\joomla\document\html\html.php:408
JROOT\libraries\joomla\document\html\html.php:696
JROOT\libraries\joomla\document\html\html.php:474
JROOT\libraries\cms\application\cms.php:988
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 0.93 ms** **After last query: 0.71 ms** **Query memory: 0.018 MB Memory before query: 9.584 MB** **Rows returned: 0**
SELECT `m`.`tag_id`,`t`.*
FROM `twj14_contentitem_tag_map` AS m
INNER JOIN `twj14_tags` AS t
ON `m`.`tag_id` = `t`.`id`
WHERE `m`.`type_alias` = 'com_content.article'
AND `m`.`content_item_id` = 81
AND `t`.`published` = 1
AND t.access IN (1,1)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | ALL | idx_tag_type,idx_tag | **NO INDEX KEY COULD BE USED** | NULL | NULL | 1 | 100.00 | Using where |
1 | SIMPLE | t | NULL | eq_ref | PRIMARY,tag_idx,idx_access | PRIMARY | 4 | db1087028_tw_joomla_prod.m.tag_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\cms\helper\tags.php:412
JROOT\components\com_content\models\articles.php:663
JROOT\modules\mod_hg_latestposts\helper.php:96
JROOT\modules\mod_hg_latestposts\mod_hg_latestposts.php:9
JROOT\libraries\cms\module\helper.php:190
JROOT\libraries\joomla\document\html\renderer\module.php:105
JROOT\libraries\joomla\document\html\renderer\modules.php:46
JROOT\libraries\joomla\document\html\html.php:408
JROOT\libraries\joomla\document\html\html.php:696
JROOT\libraries\joomla\document\html\html.php:474
JROOT\libraries\cms\application\cms.php:988
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 1.08 ms** **After last query: 0.62 ms** **Query memory: 0.018 MB Memory before query: 9.608 MB** **Rows returned: 0**
SELECT `m`.`tag_id`,`t`.*
FROM `twj14_contentitem_tag_map` AS m
INNER JOIN `twj14_tags` AS t
ON `m`.`tag_id` = `t`.`id`
WHERE `m`.`type_alias` = 'com_content.article'
AND `m`.`content_item_id` = 80
AND `t`.`published` = 1
AND t.access IN (1,1)
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | m | NULL | ALL | idx_tag_type,idx_tag | **NO INDEX KEY COULD BE USED** | NULL | NULL | 1 | 100.00 | Using where |
1 | SIMPLE | t | NULL | eq_ref | PRIMARY,tag_idx,idx_access | PRIMARY | 4 | db1087028_tw_joomla_prod.m.tag_id | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\cms\helper\tags.php:412
JROOT\components\com_content\models\articles.php:663
JROOT\modules\mod_hg_latestposts\helper.php:96
JROOT\modules\mod_hg_latestposts\mod_hg_latestposts.php:9
JROOT\libraries\cms\module\helper.php:190
JROOT\libraries\joomla\document\html\renderer\module.php:105
JROOT\libraries\joomla\document\html\renderer\modules.php:46
JROOT\libraries\joomla\document\html\html.php:408
JROOT\libraries\joomla\document\html\html.php:696
JROOT\libraries\joomla\document\html\html.php:474
JROOT\libraries\cms\application\cms.php:988
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 1.68 ms** **After last query: 5.88 ms** **Query memory: 0.019 MB Memory before query: 9.731 MB** **Rows returned: 5**
SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level,
c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id,
c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
FROM twj14_categories as c
LEFT JOIN twj14_categories AS s
ON (s.lft <= c.lft
AND s.rgt >= c.rgt) OR (s.lft > c.lft
AND s.rgt < c.rgt)
LEFT JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt
WHERE parent.extension = 'com_content'
AND parent.published != 1
GROUP BY cat.id) AS badcats
ON badcats.id = c.id
WHERE (c.extension='com_content' OR c.extension='system')
AND c.access IN (1,1)
AND c.published = 1
AND s.id=8
AND badcats.id is null
GROUP BY c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time,
c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level,
c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id,
c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version
ORDER BY c.lft
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | PRIMARY | s | NULL | const | PRIMARY,idx_left_right | PRIMARY | 4 | const | 1 | 100.00 | Using temporary; **Using filesort** |
1 | PRIMARY | c | NULL | ALL | cat_idx,idx_access,idx_left_right | **NO INDEX KEY COULD BE USED** | NULL | NULL | 20 | 41.66 | Using where |
1 | PRIMARY | <derived2> | NULL | ALL | NULL | **NO INDEX KEY COULD BE USED** | NULL | NULL | 5 | 20.00 | Using where; Not exists; Using join buffer (Block Nested Loop) |
2 | DERIVED | parent | NULL | range | cat_idx,idx_left_right | cat_idx | 153 | NULL | 2 | 100.00 | Using index condition; Using temporary; **Using filesort** |
2 | DERIVED | cat | NULL | index | PRIMARY,cat_idx,idx_access,idx_checkout,idx_path,idx_left_right,idx_alias,idx_language | idx_left_right | 8 | NULL | 20 | 11.11 | Using where; Using index; Using join buffer (Block Nested Loop) |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.1 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
Creating tmp table | 0.0 ms |
Sorting result | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Creating tmp table | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 0.3 ms |
Creating sort index | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
removing tmp table | 0.1 ms |
query end | 0.0 ms |
removing tmp table | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\libraries\legacy\categories\categories.php:288
JROOT\libraries\legacy\categories\categories.php:181
JROOT\components\com_content\helpers\route.php:41
JROOT\modules\mod_hg_latestposts\helper.php:104
JROOT\modules\mod_hg_latestposts\mod_hg_latestposts.php:9
JROOT\libraries\cms\module\helper.php:190
JROOT\libraries\joomla\document\html\renderer\module.php:105
JROOT\libraries\joomla\document\html\renderer\modules.php:46
JROOT\libraries\joomla\document\html\html.php:408
JROOT\libraries\joomla\document\html\html.php:696
JROOT\libraries\joomla\document\html\html.php:474
JROOT\libraries\cms\application\cms.php:988
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 0.68 ms** **After last query: 94.10 ms** **Query memory: 0.025 MB Memory before query: 9.947 MB** **Rows returned: 1**
SELECT *
FROM `twj14_modules`
WHERE `id`='121'
AND `published`='1'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | twj14_modules | NULL | const | PRIMARY,published | PRIMARY | 4 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\database\driver.php:1281
JROOT\plugins\system\hg_assets\shortcodes\shortcodes.php:54
JROOT\libraries\zauan\shortcodes\shortcodes.php:98
JROOT\libraries\zauan\shortcodes\shortcodes.php:44
JROOT\plugins\system\hg_assets\shortcodes\shortcodes_grid.php:33
JROOT\libraries\zauan\shortcodes\shortcodes.php:98
JROOT\libraries\zauan\shortcodes\shortcodes.php:44
JROOT\plugins\system\hg_assets\shortcodes\shortcodes_grid.php:417
JROOT\libraries\zauan\shortcodes\shortcodes.php:98
JROOT\libraries\zauan\shortcodes\shortcodes.php:44
JROOT\plugins\system\hg_assets\hg_assets.php:106
JROOT\libraries\joomla\event\event.php:71
JROOT\libraries\joomla\event\dispatcher.php:162
JROOT\libraries\cms\html\content.php:43
JROOT\libraries\cms\html\html.php:238
JROOT\libraries\cms\html\html.php:106
JROOT\modules\mod_custom\mod_custom.php:15
JROOT\libraries\cms\module\helper.php:190
JROOT\libraries\joomla\document\html\renderer\module.php:105
JROOT\libraries\joomla\document\html\renderer\modules.php:46
JROOT\libraries\joomla\document\html\html.php:408
JROOT\libraries\joomla\document\html\html.php:696
JROOT\libraries\joomla\document\html\html.php:474
JROOT\libraries\cms\application\cms.php:988
JROOT\libraries\cms\application\site.php:731
JROOT\libraries\cms\application\cms.php:257
JROOT\index.php:40
**Query Time: 6.16 ms** **After last query: 41.80 ms** **Query memory: 0.002 MB Memory before query: 10.112 MB**
UPDATE `twj14_session`
SET `data` = '__default|a:7:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1660479678;s:18:\"session.timer.last\";i:1660479678;s:17:\"session.timer.now\";i:1660479678;s:22:\"session.client.browser\";s:40:\"CCBot/2.0 (https://commoncrawl.org/faq/)\";s:8:\"registry\";O:9:\"JRegistry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:4:\"user\";O:5:\"JUser\":25:{s:9:\"\\0\\0\\0isRoot\";b:0;s:2:\"id\";i:0;s:4:\"name\";N;s:8:\"username\";N;s:5:\"email\";N;s:8:\"password\";N;s:14:\"password_clear\";s:0:\"\";s:5:\"block\";N;s:9:\"sendEmail\";i:0;s:12:\"registerDate\";N;s:13:\"lastvisitDate\";N;s:10:\"activation\";N;s:6:\"params\";N;s:6:\"groups\";a:1:{i:0;s:1:\"1\";}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:12:\"requireReset\";N;s:10:\"\\0\\0\\0_params\";O:9:\"JRegistry\":1:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}}s:14:\"\\0\\0\\0_authGroups\";a:1:{i:0;i:1;}s:14:\"\\0\\0\\0_authLevels\";a:2:{i:0;i:1;i:1;i:1;}s:15:\"\\0\\0\\0_authActions\";N;s:12:\"\\0\\0\\0_errorMsg\";N;s:10:\"\\0\\0\\0_errors\";a:0:{}s:3:\"aid\";i:0;}}'
, `time` = '1660479679'
WHERE `session_id` = '42cqs0kfirfthrkhp6ea286vn6'
id | select_type | table | partitions | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | UPDATE | twj14_session | NULL | range | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
updating | 0.1 ms |
end | 0.0 ms |
query end | 5.5 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.0 ms |
JROOT\libraries\joomla\session\storage\database.php:85
**5 × SELECT extension_id AS id, element AS "option", params, enabled
FROM twj14_extensions**
**3 × SELECT `m`.`tag_id`,`t`.*
FROM `twj14_contentitem_tag_map` AS m
INNER JOIN `twj14_tags` AS t
ON `m`.`tag_id` = `t`.`id`**
**1 × SELECT COUNT(*)
FROM twj14_content AS a
LEFT JOIN twj14_categories AS c
ON c.id = a.catid
LEFT JOIN twj14_users AS ua
ON ua.id = a.created_by
LEFT JOIN twj14_users AS uam
ON uam.id = a.modified_by
LEFT JOIN twj14_categories as parent
ON parent.id = c.parent_id
LEFT JOIN twj14_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt**
**1 × SELECT a.id, a.title, a.alias, a.introtext, a.fulltext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.language, LENGTH(a.fulltext) AS readmore,
CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM twj14_content AS a
LEFT JOIN twj14_categories AS c
ON c.id = a.catid
LEFT JOIN twj14_users AS ua
ON ua.id = a.created_by
LEFT JOIN twj14_users AS uam
ON uam.id = a.modified_by
LEFT JOIN twj14_categories as parent
ON parent.id = c.parent_id
LEFT JOIN twj14_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt**
**1 × SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM twj14_modules AS m
LEFT JOIN twj14_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN twj14_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id**
**1 × SELECT a.id, a.title, a.alias, a.introtext, a.fulltext, a.checked_out, a.checked_out_time, a.catid, a.created, a.created_by, a.created_by_alias,
CASE WHEN a.modified = '0000-00-00 00:00:00' THEN a.created ELSE a.modified END as modified, a.modified_by, uam.name as modified_by_name,
CASE WHEN a.publish_up = '0000-00-00 00:00:00' THEN a.created ELSE a.publish_up END as publish_up,a.publish_down, a.images, a.urls, a.attribs, a.metadata, a.metakey, a.metadesc, a.access, a.hits, a.xreference, a.featured, a.language, LENGTH(a.fulltext) AS readmore,
CASE WHEN badcats.id is not null THEN 0 ELSE a.state END AS state,c.title AS category_title, c.path AS category_route, c.access AS category_access, c.alias AS category_alias,
CASE WHEN a.created_by_alias > ' ' THEN a.created_by_alias ELSE ua.name END AS author,ua.email AS author_email,parent.title as parent_title, parent.id as parent_id, parent.path as parent_route, parent.alias as parent_alias,ROUND(v.rating_sum / v.rating_count, 0) AS rating, v.rating_count as rating_count,c.published,
CASE WHEN badcats.id is null THEN c.published ELSE 0 END AS parents_published
FROM twj14_content AS a
LEFT JOIN twj14_content_frontpage AS fp
ON fp.content_id = a.id
LEFT JOIN twj14_categories AS c
ON c.id = a.catid
LEFT JOIN twj14_users AS ua
ON ua.id = a.created_by
LEFT JOIN twj14_users AS uam
ON uam.id = a.modified_by
LEFT JOIN twj14_categories as parent
ON parent.id = c.parent_id
LEFT JOIN twj14_content_rating AS v
ON a.id = v.content_id
LEFT
OUTER JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt**
**1 × SELECT c.id, c.asset_id, c.access, c.alias, c.checked_out, c.checked_out_time, c.created_time, c.created_user_id, c.description, c.extension, c.hits, c.language, c.level, c.lft, c.metadata, c.metadesc, c.metakey, c.modified_time, c.note, c.params, c.parent_id, c.path, c.published, c.rgt, c.title, c.modified_user_id, c.version,
CASE WHEN CHAR_LENGTH(c.alias) != 0 THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as slug
FROM twj14_categories as c
LEFT JOIN twj14_categories AS s
ON (s.lft <= c.lft
AND s.rgt >= c.rgt) OR (s.lft > c.lft
AND s.rgt < c.rgt)
LEFT JOIN (SELECT cat.id as id
FROM twj14_categories AS cat JOIN twj14_categories AS parent
ON cat.lft BETWEEN parent.lft
AND parent.rgt**
**1 × SELECT b.rules
FROM twj14_assets AS a
LEFT JOIN twj14_assets AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt**
**1 × SELECT *
FROM `twj14_modules`**
**1 × SELECT *
FROM twj14_languages**
**1 × SELECT id, rules
FROM `twj14_viewlevels**
**1 × SELECT b.id
FROM twj14_usergroups AS a
LEFT JOIN twj14_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt**
**1 × SELECT `session_id`
FROM `twj14_session`**
**1 × SELECT folder AS type, element AS name, params
FROM twj14_extensions**
**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 twj14_menu AS m
LEFT JOIN twj14_extensions AS e
ON m.component_id = e.extension_id**
**1 × SELECT `data`
FROM `twj14_session`**
**1 × SELECT id, home, template, s.params
FROM twj14_template_styles as s
LEFT JOIN twj14_extensions as e
ON e.element=s.template
AND e.type='template'
AND e.client_id=s.client_id**
**1 × SELECT a.rules
FROM twj14_assets AS a**