SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000145
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_combination | const | PRIMARY | PRIMARY | 4 | const | 1 | |
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
- XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152
- XF\Db\AbstractAdapter->fetchOne() in src/XF/PermissionCache.php at line 34
- XF\PermissionCache->getGlobalPerms() in src/XF/PermissionSet.php at line 35
- XF\PermissionSet->hasGlobalPermission() in src/XF/Entity/User.php at line 1197
- XF\Entity\User->hasPermission() in src/addons/Snog/Forms/XF/Entity/User.php at line 16
- Snog\Forms\XF\Entity\User->canViewAdvancedForms() in src/addons/Snog/Forms/Listener.php at line 131
- Snog\Forms\Listener::appPubStartEnd() in src/XF/Extension.php at line 69
- XF\Extension->fire() in src/XF/App.php at line 2853
- XF\App->fire() in src/XF/Pub/App.php at line 201
- XF\Pub\App->start() in src/XF/App.php at line 2347
- XF\App->run() in src/XF.php at line 517
- XF::runApp() in index.php at line 20
SELECT `xf_thread`.*, `xf_user_User_1`.*, `xf_snog_forms_forms_Form_2`.*, `xf_forum_Forum_3`.*, `xf_tl_group_forum_GroupForum_4`.*, `xf_node_Node_5`.*, `xf_permission_cache_content_Permissions_6`.*
FROM `xf_thread`
LEFT JOIN `xf_user` AS `xf_user_User_1` ON (`xf_user_User_1`.`user_id` = `xf_thread`.`user_id`)
LEFT JOIN `xf_snog_forms_forms` AS `xf_snog_forms_forms_Form_2` ON (`xf_snog_forms_forms_Form_2`.`oldthread` > '0' AND `xf_snog_forms_forms_Form_2`.`oldthread` = `xf_thread`.`thread_id`)
LEFT JOIN `xf_forum` AS `xf_forum_Forum_3` ON (`xf_forum_Forum_3`.`node_id` = `xf_thread`.`node_id`)
LEFT JOIN `xf_tl_group_forum` AS `xf_tl_group_forum_GroupForum_4` ON (`xf_tl_group_forum_GroupForum_4`.`node_id` = `xf_forum_Forum_3`.`node_id`)
LEFT JOIN `xf_node` AS `xf_node_Node_5` ON (`xf_node_Node_5`.`node_id` = `xf_forum_Forum_3`.`node_id`)
LEFT JOIN `xf_permission_cache_content` AS `xf_permission_cache_content_Permissions_6` ON (`xf_permission_cache_content_Permissions_6`.`content_type` = 'node' AND `xf_permission_cache_content_Permissions_6`.`content_id` = `xf_node_Node_5`.`node_id` AND `xf_permission_cache_content_Permissions_6`.`permission_combination_id` = '1')
WHERE (`xf_thread`.`thread_id` = '148040')
LIMIT 1
Run Time: 0.000886
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_user_User_1 | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_snog_forms_forms_Form_2 | ref | oldthread | oldthread | 4 | const | 1 | Using where |
SIMPLE | xf_forum_Forum_3 | eq_ref | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_tl_group_forum_GroupForum_4 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_forum_Forum_3.node_id | 1 | Using where |
SIMPLE | xf_node_Node_5 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_forum_Forum_3.node_id | 1 | Using where |
SIMPLE | xf_permission_cache_content_Permissions_6 | eq_ref | PRIMARY | PRIMARY | 35 | const,const,admin_xen.xf_node_Node_5.node_id | 1 | Using where |
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
- XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1354
- XF\Mvc\Entity\Finder->fetchOne() in src/XF/Mvc/Entity/Manager.php at line 151
- XF\Mvc\Entity\Manager->find() in src/XF/Pub/Controller/Thread.php at line 1717
- XF\Pub\Controller\Thread->assertViewableThread() in src/addons/SV/WhoReplied/XF/Pub/Controller/Thread.php at line 17
- SV\WhoReplied\XF\Pub\Controller\Thread->actionWhoReplied() in src/XF/Mvc/Dispatcher.php at line 352
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
- XF\App->run() in src/XF.php at line 517
- XF::runApp() in index.php at line 20
SELECT COUNT(*)
FROM `xf_user`
INNER JOIN `xf_thread_user_post` AS `xf_thread_user_post_ThreadUserPost_1` ON (`xf_thread_user_post_ThreadUserPost_1`.`user_id` = `xf_user`.`user_id` AND `xf_thread_user_post_ThreadUserPost_1`.`thread_id` = '148040')
Run Time: 0.001164
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread_user_post_ThreadUserPost_1 | ref | PRIMARY,user_id | PRIMARY | 4 | const | 2 | Using index |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_thread_user_post_ThreadUserPost_1.user_id | 1 | Using index |
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
- XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 152
- XF\Db\AbstractAdapter->fetchOne() in src/XF/Mvc/Entity/Finder.php at line 1342
- XF\Mvc\Entity\Finder->total() in src/addons/SV/WhoReplied/XF/Pub/Controller/Thread.php at line 51
- SV\WhoReplied\XF\Pub\Controller\Thread->actionWhoReplied() in src/XF/Mvc/Dispatcher.php at line 352
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
- XF\App->run() in src/XF.php at line 517
- XF::runApp() in index.php at line 20
SELECT `xf_user`.*, `xf_thread_user_post_ThreadUserPost_1`.*
FROM `xf_user`
INNER JOIN `xf_thread_user_post` AS `xf_thread_user_post_ThreadUserPost_1` ON (`xf_thread_user_post_ThreadUserPost_1`.`user_id` = `xf_user`.`user_id` AND `xf_thread_user_post_ThreadUserPost_1`.`thread_id` = '148040')
ORDER BY `xf_thread_user_post_ThreadUserPost_1`.`post_count` DESC, `xf_user`.`user_id` ASC
LIMIT 50
Run Time: 0.000931
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_thread_user_post_ThreadUserPost_1 | ref | PRIMARY,user_id | PRIMARY | 4 | const | 2 | Using temporary; Using filesort |
SIMPLE | xf_user | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_thread_user_post_ThreadUserPost_1.user_id | 1 | |
- XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
- XF\Db\AbstractAdapter->query() in src/XF/Mvc/Entity/Finder.php at line 1387
- XF\Mvc\Entity\Finder->fetch() in src/addons/SV/WhoReplied/XF/Pub/Controller/Thread.php at line 52
- SV\WhoReplied\XF\Pub\Controller\Thread->actionWhoReplied() in src/XF/Mvc/Dispatcher.php at line 352
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
- XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2351
- XF\App->run() in src/XF.php at line 517
- XF::runApp() in index.php at line 20
SELECT view_date
FROM xf_session_activity
WHERE user_id = ? AND unique_key = ?
Params: 0, "