Query Time: 0.35 ms
SELECT `data`
FROM `news_session`
WHERE `session_id` = '41nh0ra92s8tmff3a03mh5u0m0'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_session | const | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | NULL |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/joomla/session/storage/database.php:44
JROOT/libraries/joomla/session/session.php:665
JROOT/libraries/joomla/session/session.php:603
JROOT/libraries/cms/application/cms.php:739
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:399
JROOT/libraries/joomla/factory.php:125
JROOT/index.php:37
Query Time: 848.40 ms After last query: 4.62 ms
DELETE
FROM `news_session`
WHERE `time` < '1713876211'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_session | range | time | time | 45 | const | 1 | 100.00 | Using where |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/application/cms.php:756
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:399
JROOT/libraries/joomla/factory.php:125
JROOT/index.php:37
Query Time: 0.47 ms After last query: 0.28 ms
SELECT `session_id`
FROM `news_session`
WHERE `session_id` = '41nh0ra92s8tmff3a03mh5u0m0'
LIMIT 0, 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_session | const | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | Using index |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/application/cms.php:176
JROOT/libraries/cms/application/cms.php:765
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:399
JROOT/libraries/joomla/factory.php:125
JROOT/index.php:37
Query Time: 841.58 ms After last query: 0.28 ms
INSERT INTO `news_session`
(`session_id`, `client_id`, `time`)
VALUES
('41nh0ra92s8tmff3a03mh5u0m0', 0, '1713878012')
EXPLAIN not possible on query: INSERT INTO `news_session`
(`session_id`, `client_id`, `time`) VALUES
('41nh0ra92s8tmff3a03mh5u0m0', 0, '1713878012')
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/application/cms.php:208
JROOT/libraries/cms/application/cms.php:765
JROOT/libraries/cms/application/cms.php:131
JROOT/libraries/cms/application/site.php:63
JROOT/libraries/cms/application/cms.php:399
JROOT/libraries/joomla/factory.php:125
JROOT/index.php:37
Query Time: 12.73 ms After last query: 36.21 ms
SELECT b.id
FROM news_usergroups AS a
LEFT JOIN news_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)
JROOT/libraries/joomla/access/access.php:332
JROOT/libraries/joomla/access/access.php:401
JROOT/libraries/joomla/user/user.php:453
JROOT/libraries/cms/plugin/helper.php:296
JROOT/libraries/cms/plugin/helper.php:163
JROOT/libraries/cms/application/site.php:573
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.13 ms After last query: 1.04 ms
SELECT id, rules
FROM `news_viewlevels`
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_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)
JROOT/libraries/joomla/access/access.php:418
JROOT/libraries/joomla/user/user.php:453
JROOT/libraries/cms/plugin/helper.php:296
JROOT/libraries/cms/plugin/helper.php:163
JROOT/libraries/cms/application/site.php:573
JROOT/libraries/cms/application/site.php:209
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.51 ms After last query: 464.90 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 news_menu AS m
LEFT JOIN news_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 | 85 | 100.00 | Using index condition; Using where; Using filesort |
1 | SIMPLE | e | eq_ref | PRIMARY | PRIMARY | 4 | teluguwi_TewisheshV3.m.component_id | 1 | 100.00 | Using where |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/menu/site.php:45
JROOT/libraries/cms/menu/menu.php:64
JROOT/libraries/cms/menu/menu.php:118
JROOT/libraries/cms/application/cms.php:424
JROOT/libraries/cms/application/site.php:272
JROOT/libraries/cms/router/site.php:57
JROOT/libraries/cms/router/router.php:196
JROOT/libraries/cms/application/cms.php:520
JROOT/libraries/cms/application/site.php:407
JROOT/libraries/cms/application/cms.php:1088
JROOT/libraries/cms/application/site.php:747
JROOT/libraries/cms/application/site.php:215
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 527.30 ms After last query: 22.15 ms
UPDATE `news_extensions`
SET `params` = '{\"mediaversion\":\"67c60116e43134b4d2a48c7116e3cb0f\"}'
WHERE `type` = 'library'
AND `element` = 'joomla'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_extensions | range | element_clientid,element_folder_clientid,extension | extension | 364 | const,const | 1 | 100.00 | Using where |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/libraries/cms/library/helper.php:119
JROOT/libraries/cms/version/version.php:240
JROOT/libraries/cms/version/version.php:199
JROOT/libraries/joomla/factory.php:756
JROOT/libraries/joomla/factory.php:216
JROOT/plugins/system/k2/k2.php:52
JROOT/libraries/joomla/event/event.php:69
JROOT/libraries/joomla/event/dispatcher.php:160
JROOT/libraries/joomla/application/base.php:83
JROOT/libraries/cms/application/cms.php:1098
JROOT/libraries/cms/application/site.php:747
JROOT/libraries/cms/application/site.php:215
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.90 ms After last query: 185.93 ms
SELECT a.*, c.title as cattitle,c.description as catdesc, c.accessuserid as cataccessuserid, c.access as cataccess,c.metatags as cat_metatags,c.metakey as cat_metakey,c.metadesc as cat_metadesc,c.metatitle as cat_metatitle,parent_id,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug,
CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug
FROM news_phocagallery AS a
LEFT JOIN news_phocagallery_categories AS c
ON c.id = a.catid
WHERE a.id = 8812
AND a.published > 0
AND a.approved > 0
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 | c | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/components/com_phocagallery/models/detail.php:78
JROOT/components/com_phocagallery/models/detail.php:34
JROOT/components/com_phocagallery/views/detail/view.html.php:136
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.58 ms After last query: 5.06 ms
SELECT id
FROM news_phocagallery
WHERE catid = 838
AND published=1
order by ordering desc
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_phocagallery | ref | catid | catid | 5 | const,const | 18 | 100.00 | Using where; Using filesort |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:620
JROOT/components/com_phocagallery/views/detail/view.html.php:186
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.81 ms After last query: 0.35 ms
SELECT a.id, a.title as imgtitle,c.title,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug,
CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug
FROM news_phocagallery AS a
LEFT JOIN news_phocagallery_categories AS c
ON c.id = a.catid
WHERE a.catid = 838
AND a.ordering < 7
AND a.published = 1
ORDER BY a.ordering DESC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | ref | catid | catid | 5 | const,const | 18 | 100.00 | Using where; Using filesort |
1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
No SHOW PROFILE (maybe because there are more than 100 queries)
JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:411
JROOT/components/com_phocagallery/views/detail/view.html.php:195
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.10 ms After last query: 0.22 ms
SELECT id,title,alias
FROM news_phocagallery_categories
where parent_id in (137,255,432,313,314,315,228,316,138,139,317,259,318,269,280,276,319,140)
and id > 838
ORDER BY id DESC
LIMIT 0 , 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_phocagallery_categories | range | PRIMARY | PRIMARY | 4 | NULL | 95 | 100.00 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.0 ms |
checking privileges on cached | 0.0 ms |
checking permissions | 0.0 ms |
sending cached result to clien | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:420
JROOT/components/com_phocagallery/views/detail/view.html.php:195
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 1.01 ms After last query: 5.20 ms
SELECT a.id,a.title as imgtitle, c.title,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug,
CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug
FROM news_phocagallery AS a
LEFT JOIN news_phocagallery_categories AS c
ON c.id = a.catid
WHERE a.catid = 838
AND a.ordering > 7
AND a.published = 1
ORDER BY a.ordering ASC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | a | ref | catid | catid | 5 | const,const | 18 | 100.00 | Using where; Using filesort |
1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.1 ms |
init | 0.1 ms |
System lock | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.0 ms |
Sorting result | 0.1 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 |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
storing result in query cache | 0.0 ms |
cleaning up | 0.1 ms |
JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:335
JROOT/components/com_phocagallery/views/detail/view.html.php:196
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.16 ms After last query: 0.20 ms
SELECT id
FROM news_phocagallery_categories
where parent_id in (137,255,432,313,314,315,228,316,138,139,317,259,318,269,280,276,319,140)
and id < 838
ORDER BY id DESC
LIMIT 0 , 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_phocagallery_categories | range | PRIMARY | PRIMARY | 4 | NULL | 613 | 100.00 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.0 ms |
checking privileges on cached | 0.0 ms |
checking permissions | 0.0 ms |
sending cached result to clien | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:344
JROOT/components/com_phocagallery/views/detail/view.html.php:196
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.46 ms After last query: 0.09 ms
select max(p.id) as id,p.alias,c.id as catid,c.title as cattitle,c.alias as catalias
from news_phocagallery p,news_phocagallery_categories c
where c.id=p.catid
and catid = 833
group by c.id
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
1 | SIMPLE | p | ref | catid | catid | 4 | const | 14 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.1 ms |
init | 0.0 ms |
checking query cache for query | 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 |
Waiting for query cache lock | 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 |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
storing result in query cache | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/administrator/components/com_phocagallery/libraries/phocagallery/render/renderdetailbutton.php:349
JROOT/components/com_phocagallery/views/detail/view.html.php:196
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 156.65 ms After last query: 68.87 ms
SHOW FULL COLUMNS
FROM `news_phocagallery`
EXPLAIN not possible on query: SHOW FULL COLUMNS FROM `news_phocagallery`
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 155.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 |
Opening tables | 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 |
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 |
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 |
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 |
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 |
Sending data | 0.1 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
removing tmp table | 0.4 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.1 ms |
JROOT/libraries/joomla/table/table.php:241
JROOT/libraries/joomla/table/table.php:162
JROOT/administrator/components/com_phocagallery/tables/phocagallery.php:22
JROOT/libraries/joomla/table/table.php:305
JROOT/components/com_phocagallery/models/detail.php:96
JROOT/components/com_phocagallery/views/detail/view.html.php:245
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.86 ms After last query: 2.07 ms
UPDATE news_phocagallery
SET `hits` = (`hits` + 1)
WHERE `id` = '8812'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_phocagallery | range | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
updating | 0.2 ms |
end | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
end | 0.3 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.1 ms |
JROOT/libraries/joomla/table/table.php:1239
JROOT/components/com_phocagallery/models/detail.php:97
JROOT/components/com_phocagallery/views/detail/view.html.php:245
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.52 ms After last query: 0.26 ms
SELECT id,alias,title,description,catid,filename
FROM news_phocagallery
WHERE catid = 838
ORDER BY id DESC
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_phocagallery | ref | catid | catid | 4 | const | 18 | 100.00 | Using where; Using filesort |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.0 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
Waiting for query cache lock | 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 |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
storing result in query cache | 0.0 ms |
cleaning up | 0.1 ms |
JROOT/components/com_phocagallery/models/detail.php:308
JROOT/components/com_phocagallery/views/detail/view.html.php:257
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.18 ms After last query: 6.47 ms
select min(id) as max
from news_phocagallery_categories
where id > 838
and parent_id in(140,267,263,271,275,258)
limit 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_phocagallery_categories | range | PRIMARY | PRIMARY | 4 | NULL | 95 | 100.00 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.0 ms |
checking privileges on cached | 0.0 ms |
checking permissions | 0.0 ms |
sending cached result to clien | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/components/com_phocagallery/models/detail.php:319
JROOT/components/com_phocagallery/views/detail/tmpl/default_slideshows_detail.php:180
JROOT/libraries/legacy/view/legacy.php:670
JROOT/components/com_phocagallery/views/detail/tmpl/default.php:7
JROOT/libraries/legacy/view/legacy.php:670
JROOT/libraries/legacy/view/legacy.php:209
JROOT/components/com_phocagallery/views/detail/view.html.php:382
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.10 ms After last query: 0.11 ms
select max(id) as min
from news_phocagallery_categories
where id < 838
and parent_id in(140,267,263,271,275,258)
limit 1
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_phocagallery_categories | range | PRIMARY | PRIMARY | 4 | NULL | 613 | 100.00 | Using index condition; Using where |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.0 ms |
checking privileges on cached | 0.0 ms |
checking permissions | 0.0 ms |
sending cached result to clien | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/components/com_phocagallery/models/detail.php:323
JROOT/components/com_phocagallery/views/detail/tmpl/default_slideshows_detail.php:180
JROOT/libraries/legacy/view/legacy.php:670
JROOT/components/com_phocagallery/views/detail/tmpl/default.php:7
JROOT/libraries/legacy/view/legacy.php:670
JROOT/libraries/legacy/view/legacy.php:209
JROOT/components/com_phocagallery/views/detail/view.html.php:382
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 0.60 ms After last query: 0.09 ms
select max(p.id) as id,p.alias,c.image as image,max(p.filename) as filename,c.id as catid,c.title as cattitle,c.alias as catalias
from news_phocagallery p,news_phocagallery_categories c
where c.id=p.catid
and c.id in(831)
group by c.id
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | c | const | PRIMARY | PRIMARY | 4 | const | 1 | 100.00 | NULL |
1 | SIMPLE | p | ref | catid | catid | 4 | const | 13 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.1 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 |
Waiting for query cache lock | 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 |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
storing result in query cache | 0.0 ms |
cleaning up | 0.1 ms |
JROOT/components/com_phocagallery/models/detail.php:330
JROOT/components/com_phocagallery/views/detail/tmpl/default_slideshows_detail.php:180
JROOT/libraries/legacy/view/legacy.php:670
JROOT/components/com_phocagallery/views/detail/tmpl/default.php:7
JROOT/libraries/legacy/view/legacy.php:670
JROOT/libraries/legacy/view/legacy.php:209
JROOT/components/com_phocagallery/views/detail/view.html.php:382
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 156.47 ms After last query: 4.87 ms
select max(p.id) as id,p.alias,c.image as image,max(p.filename) as filename, c.id as catid,c.title as cattitle,c.alias as catalias
from news_phocagallery as p,news_phocagallery_categories as c
where c.id=p.catid
and c.parent_id =313
and catid !=838
group by c.id
order by c.id desc
limit 0,4
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | c | index | PRIMARY | PRIMARY | 4 | NULL | 1 | 70800.00 | Using where |
1 | SIMPLE | p | ref | catid | catid | 4 | teluguwi_TewisheshV3.c.id | 5 | 100.00 | NULL |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.1 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 |
Waiting for query cache lock | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 155.7 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
storing result in query cache | 0.1 ms |
cleaning up | 0.1 ms |
JROOT/components/com_phocagallery/models/detail.php:292
JROOT/components/com_phocagallery/views/detail/tmpl/default_slideshow_relatedslideshows.php:3
JROOT/libraries/legacy/view/legacy.php:670
JROOT/components/com_phocagallery/views/detail/tmpl/default_slideshows_detail.php:272
JROOT/libraries/legacy/view/legacy.php:670
JROOT/components/com_phocagallery/views/detail/tmpl/default.php:7
JROOT/libraries/legacy/view/legacy.php:670
JROOT/libraries/legacy/view/legacy.php:209
JROOT/components/com_phocagallery/views/detail/view.html.php:382
JROOT/libraries/legacy/controller/legacy.php:690
JROOT/components/com_phocagallery/controller.php:30
JROOT/libraries/legacy/controller/legacy.php:728
JROOT/components/com_phocagallery/phocagallery.php:55
JROOT/libraries/cms/component/helper.php:392
JROOT/libraries/cms/component/helper.php:372
JROOT/libraries/cms/application/site.php:191
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 1.21 ms After last query: 6.08 ms
SELECT *
FROM news_tagmeta_rules
WHERE ( ( ('/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP BINARY url)>0
AND (case_sensitive<>0)
AND (decode_url<>0)
AND (request_only<>0) ) OR ( ('/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP BINARY url)>0
AND (case_sensitive<>0)
AND (decode_url=0)
AND (request_only<>0) ) OR ( ('https://www.teluguwishesh.com/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP BINARY url)>0
AND (case_sensitive<>0)
AND (decode_url<>0)
AND (request_only=0) ) OR ( ('https://www.teluguwishesh.com/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP BINARY url)>0
AND (case_sensitive<>0)
AND (decode_url=0)
AND (request_only=0) ) OR ( ('/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP url)>0
AND (case_sensitive=0)
AND (decode_url<>0)
AND (request_only<>0) ) OR ( ('/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP url)>0
AND (case_sensitive=0)
AND (decode_url=0)
AND (request_only<>0) ) OR ( ('https://www.teluguwishesh.com/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP url)>0
AND (case_sensitive=0)
AND (decode_url<>0)
AND (request_only=0) ) OR ( ('https://www.teluguwishesh.com/slideshows/838:10-telugu-movies-of-2015-that-were-hyped-but-bombed/8812-coriear-boy-kalyan-movie.html?phocaslideshow=0' REGEXP url)>0
AND (case_sensitive=0)
AND (decode_url=0)
AND (request_only=0) ) )
AND published=1
ORDER BY ordering
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_tagmeta_rules | ALL | NULL | NO INDEX KEY COULD BE USED | NULL | NULL | 131 | 100.00 | Using where; Using filesort |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.1 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.1 ms |
System lock | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.0 ms |
preparing | 0.1 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 |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
storing result in query cache | 0.0 ms |
cleaning up | 0.1 ms |
JROOT/plugins/system/tagmeta/tagmeta.php:870
JROOT/libraries/joomla/event/event.php:69
JROOT/libraries/joomla/event/dispatcher.php:160
JROOT/libraries/joomla/application/base.php:83
JROOT/libraries/cms/application/site.php:196
JROOT/libraries/cms/application/site.php:230
JROOT/libraries/cms/application/cms.php:252
JROOT/index.php:40
Query Time: 4.47 ms After last query: 11.48 ms
SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM news_modules AS m
LEFT JOIN news_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN news_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 <= '2024-04-23 13:13:34')
AND (m.publish_down = '0000-00-00 00:00:00' OR m.publish_down >= '2024-04-23 13:13:34')
AND m.access IN (1,1,5)
AND m.client_id = 0
AND (mm.menuid = 179 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 | ALL | PRIMARY,published,newsfeeds | NO INDEX KEY COULD BE USED | NULL | NULL | 376 | 86.97 | Using where; Using filesort |
1 | SIMPLE | e | ref | element_clientid,element_folder_clientid | element_clientid | 303 | teluguwi_TewisheshV3.m.module,const | 1 | 100.00 | Using index condition; Using where |
1 | SIMPLE | mm | ref | PRIMARY | PRIMARY | 4 | teluguwi_TewisheshV3.m.id | 1 | 100.00 | Using where; Using index |
Status | Duration |
---|
starting | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
init | 0.0 ms |
checking query cache for query | 0.1 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 |
Waiting for query cache lock | 0.0 ms |
System lock | 0.0 ms |
optimizing | 0.0 ms |
statistics | 0.1 ms |
preparing | 0.1 ms |
Sorting result | 0.0 ms |
executing | 0.0 ms |
Sending data | 0.0 ms |
Creating sort index | 2.9 ms |
Waiting for query cache lock | 0.0 ms |
Creating sort index | 0.7 ms |
end | 0.0 ms |
query end | 0.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
freeing items | 0.0 ms |
storing result in query cache | 0.0 ms |
cleaning up | 0.0 ms |
JROOT/libraries/cms/module/helper.php:408
JROOT/libraries/cms/module/helper.php:351
JROOT/libraries/cms/module/helper.php:84
JROOT/libraries/joomla/document/html/renderer/modules.php:41
JROOT/libraries/joomla/document/html/html.php:411
JROOT/libraries/joomla/document/html/html.php:697
JROOT/libraries/joomla/document/html/html.php:477
JROOT/libraries/cms/application/cms.php:1059
JROOT/libraries/cms/application/site.php:729
JROOT/libraries/cms/application/cms.php:258
JROOT/index.php:40
Query Time: 1468.73 ms After last query: 763.60 ms
UPDATE `news_session`
SET `data` = '__default|a:9:{s:15:\"session.counter\";i:1;s:19:\"session.timer.start\";i:1713878011;s:18:\"session.timer.last\";i:1713878011;s:17:\"session.timer.now\";i:1713878011;s:22:\"session.client.browser\";s:103:\"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)\";s:8:\"registry\";O:24:\"Joomla\\Registry\\Registry\":2:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}s:9:\"separator\";s:1:\".\";}s:4:\"user\";O:5:\"JUser\":26:{s:9:\"\\0\\0\\0isRoot\";N;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:\"9\";}s:5:\"guest\";i:1;s:13:\"lastResetTime\";N;s:10:\"resetCount\";N;s:12:\"requireReset\";N;s:10:\"\\0\\0\\0_params\";O:24:\"Joomla\\Registry\\Registry\":2:{s:7:\"\\0\\0\\0data\";O:8:\"stdClass\":0:{}s:9:\"separator\";s:1:\".\";}s:14:\"\\0\\0\\0_authGroups\";N;s:14:\"\\0\\0\\0_authLevels\";a:3:{i:0;i:1;i:1;i:1;i:2;i:5;}s:15:\"\\0\\0\\0_authActions\";N;s:12:\"\\0\\0\\0_errorMsg\";N;s:13:\"\\0\\0\\0userHelper\";O:18:\"JUserWrapperHelper\":0:{}s:10:\"\\0\\0\\0_errors\";a:0:{}s:3:\"aid\";i:0;}s:29:\"com_rssfactory.pseudocron.key\";s:32:\"a85e7ee196a198d088779e17d3508e79\";s:13:\"session.token\";s:32:\"7a553d57369d66cc336cee5bfca59b78\";}'
, `time` = '1713878015'
WHERE `session_id` = '41nh0ra92s8tmff3a03mh5u0m0'
id | select_type | table | type | possible_keys | key | key_len | ref | rows | filtered | Extra |
---|
1 | SIMPLE | news_session | range | PRIMARY | PRIMARY | 602 | const | 1 | 100.00 | Using where |
Status | Duration |
---|
starting | 0.1 ms |
checking permissions | 0.0 ms |
Opening tables | 0.0 ms |
init | 0.0 ms |
System lock | 0.0 ms |
updating | 0.2 ms |
end | 0.0 ms |
Waiting for query cache lock | 0.0 ms |
end | 0.0 ms |
query end | 1468.0 ms |
closing tables | 0.0 ms |
freeing items | 0.0 ms |
cleaning up | 0.1 ms |
JROOT/libraries/joomla/session/storage/database.php:84
1 × select min(id) as max
from news_phocagallery_categories
1 × SELECT id,alias,title,description,catid,filename
FROM news_phocagallery
1 × select max(p.id) as id,p.alias,c.id as catid,c.title as cattitle,c.alias as catalias
from news_phocagallery p,news_phocagallery_categories c
1 × select max(id) as min
from news_phocagallery_categories
1 × select max(p.id) as id,p.alias,c.image as image,max(p.filename) as filename,c.id as catid,c.title as cattitle,c.alias as catalias
from news_phocagallery p,news_phocagallery_categories c
1 × SELECT m.id, m.title, m.module, m.position, m.content, m.showtitle, m.params, mm.menuid
FROM news_modules AS m
LEFT JOIN news_modules_menu AS mm
ON mm.moduleid = m.id
LEFT JOIN news_extensions AS e
ON e.element = m.module
AND e.client_id = m.client_id
1 × SELECT *
FROM news_tagmeta_rules
1 × select max(p.id) as id,p.alias,c.image as image,max(p.filename) as filename, c.id as catid,c.title as cattitle,c.alias as catalias
from news_phocagallery as p,news_phocagallery_categories as c
1 × SELECT id
FROM news_phocagallery_categories
1 × SELECT a.id,a.title as imgtitle, c.title,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug,
CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug
FROM news_phocagallery AS a
LEFT JOIN news_phocagallery_categories AS c
ON c.id = a.catid
1 × SELECT id, rules
FROM `news_viewlevels
1 × SELECT b.id
FROM news_usergroups AS a
LEFT JOIN news_usergroups AS b
ON b.lft <= a.lft
AND b.rgt >= a.rgt
1 × SELECT `session_id`
FROM `news_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 news_menu AS m
LEFT JOIN news_extensions AS e
ON m.component_id = e.extension_id
1 × SELECT a.*, c.title as cattitle,c.description as catdesc, c.accessuserid as cataccessuserid, c.access as cataccess,c.metatags as cat_metatags,c.metakey as cat_metakey,c.metadesc as cat_metadesc,c.metatitle as cat_metatitle,parent_id,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug,
CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug
FROM news_phocagallery AS a
LEFT JOIN news_phocagallery_categories AS c
ON c.id = a.catid
1 × SELECT id,title,alias
FROM news_phocagallery_categories
1 × SELECT a.id, a.title as imgtitle,c.title,
CASE WHEN CHAR_LENGTH(c.alias) THEN CONCAT_WS(':', c.id, c.alias) ELSE c.id END as catslug,
CASE WHEN CHAR_LENGTH(a.alias) THEN CONCAT_WS(':', a.id, a.alias) ELSE a.id END as slug
FROM news_phocagallery AS a
LEFT JOIN news_phocagallery_categories AS c
ON c.id = a.catid
1 × SELECT id
FROM news_phocagallery
1 × SELECT `data`
FROM `news_session`