SELECT cache_value
FROM xf_permission_combination
WHERE permission_combination_id = ?
Params: 1
Run Time: 0.000126
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_xa_ams_comment`.*, `xf_xa_ams_article_Article_1`.*, `xf_user_User_2`.*
FROM `xf_xa_ams_comment`
LEFT JOIN `xf_xa_ams_article` AS `xf_xa_ams_article_Article_1` ON (`xf_xa_ams_article_Article_1`.`article_id` = `xf_xa_ams_comment`.`article_id`)
LEFT JOIN `xf_user` AS `xf_user_User_2` ON (`xf_user_User_2`.`user_id` = `xf_xa_ams_comment`.`user_id`)
WHERE (`xf_xa_ams_comment`.`comment_id` = '1979')
LIMIT 1
Run Time: 0.000438
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_xa_ams_comment | const | PRIMARY,comment_id_comment_date | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_xa_ams_article_Article_1 | const | PRIMARY | PRIMARY | 4 | const | 1 | |
SIMPLE | xf_user_User_2 | const | PRIMARY | PRIMARY | 4 | const | 0 | unique row not found |
- 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/addons/XenAddons/AMS/Pub/Controller/AbstractController.php at line 124
- XenAddons\AMS\Pub\Controller\AbstractController->assertViewableComment() in src/addons/XenAddons/AMS/Pub/Controller/Comment.php at line 420
- XenAddons\AMS\Pub\Controller\Comment->actionReactions() 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_xa_ams_category`.*
FROM `xf_xa_ams_category`
WHERE (`xf_xa_ams_category`.`category_id` = 1)
LIMIT 1
Run Time: 0.000167
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_xa_ams_category | 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/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/Mvc/Entity/Manager.php at line 359
- XF\Mvc\Entity\Manager->getRelation() in src/XF/Mvc/Entity/Entity.php at line 397
- XF\Mvc\Entity\Entity->getRelation() in src/XF/Mvc/Entity/Entity.php at line 189
- XF\Mvc\Entity\Entity->get() in src/XF/Mvc/Entity/Entity.php at line 112
- XF\Mvc\Entity\Entity->__get() in src/addons/XenAddons/AMS/Entity/ArticleItem.php at line 122
- XenAddons\AMS\Entity\ArticleItem->canView() in src/addons/XenAddons/AMS/Entity/Comment.php at line 52
- XenAddons\AMS\Entity\Comment->canView() in src/addons/XenAddons/AMS/Pub/Controller/AbstractController.php at line 130
- XenAddons\AMS\Pub\Controller\AbstractController->assertViewableComment() in src/addons/XenAddons/AMS/Pub/Controller/Comment.php at line 420
- XenAddons\AMS\Pub\Controller\Comment->actionReactions() 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 cache_value
FROM xf_permission_cache_content
WHERE permission_combination_id = ?
AND content_type = ?
AND content_id = ?
Params: 1, ams_category, 1
Run Time: 0.000068
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_permission_cache_content | const | PRIMARY | PRIMARY | 35 | const,const,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 83
- XF\PermissionCache->getContentPerms() in src/XF/PermissionSet.php at line 51
- XF\PermissionSet->hasContentPermission() in src/addons/XenAddons/AMS/XF/Entity/User.php at line 82
- XenAddons\AMS\XF\Entity\User->hasAmsArticleCategoryPermission() in src/addons/XenAddons/AMS/Entity/Category.php at line 177
- XenAddons\AMS\Entity\Category->hasPermission() in src/addons/XenAddons/AMS/Entity/Category.php at line 54
- XenAddons\AMS\Entity\Category->canView() in src/addons/XenAddons/AMS/Entity/ArticleItem.php at line 122
- XenAddons\AMS\Entity\ArticleItem->canView() in src/addons/XenAddons/AMS/Entity/Comment.php at line 52
- XenAddons\AMS\Entity\Comment->canView() in src/addons/XenAddons/AMS/Pub/Controller/AbstractController.php at line 130
- XenAddons\AMS\Pub\Controller\AbstractController->assertViewableComment() in src/addons/XenAddons/AMS/Pub/Controller/Comment.php at line 420
- XenAddons\AMS\Pub\Controller\Comment->actionReactions() 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_reaction_content`.*, `xf_reaction_Reaction_1`.*, `xf_user_ReactionUser_2`.*, `xf_user_profile_Profile_3`.*, `xf_user_option_Option_4`.*
FROM `xf_reaction_content`
INNER JOIN `xf_reaction` AS `xf_reaction_Reaction_1` ON (`xf_reaction_Reaction_1`.`reaction_id` = `xf_reaction_content`.`reaction_id`)
INNER JOIN `xf_user` AS `xf_user_ReactionUser_2` ON (`xf_user_ReactionUser_2`.`user_id` = `xf_reaction_content`.`reaction_user_id`)
INNER JOIN `xf_user_profile` AS `xf_user_profile_Profile_3` ON (`xf_user_profile_Profile_3`.`user_id` = `xf_user_ReactionUser_2`.`user_id`)
INNER JOIN `xf_user_option` AS `xf_user_option_Option_4` ON (`xf_user_option_Option_4`.`user_id` = `xf_user_ReactionUser_2`.`user_id`)
WHERE (`xf_reaction_content`.`content_type` = 'ams_comment' AND `xf_reaction_content`.`content_id` = 1979 AND `xf_reaction_Reaction_1`.`active` = 1)
ORDER BY `xf_reaction_content`.`reaction_date` DESC
LIMIT 51
Run Time: 0.005529
Select Type | Table | Type | Possible Keys | Key | Key Len | Ref | Rows | Extra |
---|
SIMPLE | xf_reaction_content | ref | content_type_id_user_id,content_type_id_reaction_date,reaction_user_id | content_type_id_reaction_date | 31 | const,const | 8 | Using where |
SIMPLE | xf_reaction_Reaction_1 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_reaction_content.reaction_id | 1 | Using where |
SIMPLE | xf_user_ReactionUser_2 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_reaction_content.reaction_user_id | 1 | |
SIMPLE | xf_user_profile_Profile_3 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_reaction_content.reaction_user_id | 1 | |
SIMPLE | xf_user_option_Option_4 | eq_ref | PRIMARY | PRIMARY | 4 | admin_xen.xf_reaction_content.reaction_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/XF/ControllerPlugin/Reaction.php at line 182
- XF\ControllerPlugin\Reaction->actionReactions() in src/addons/XenAddons/AMS/Pub/Controller/Comment.php at line 428
- XenAddons\AMS\Pub\Controller\Comment->actionReactions() 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, "