Page Time: 0.0149s

Memory: 6.4011 MB (Peak: 6.5179 MB)

Queries (15, time: 0.0033s, 22.4%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000087
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT media.*
    	,
    		album.*, albumviewperm.*,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, media.username, user.username) AS username,
                        attachment.attachment_id, attachment.data_id, attachment.attach_date,data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xengallery_media AS media
    	
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission as albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    		LEFT JOIN xengallery_category AS category FORCE INDEX (PRIMARY) ON
    			(category.category_id = media.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = media.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = media.user_id)
                        LEFT JOIN xf_attachment AS attachment ON
                            (attachment.content_type = 'xengallery_media' AND attachment.attachment_id = media.attachment_id)
                        LEFT JOIN xf_attachment_data AS data ON
                            (data.data_id = attachment.data_id)
    WHERE media.media_id = ?
    Params: 7230
    Run Time: 0.000818
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaconstPRIMARYPRIMARY4const1 
    SIMPLEalbumconstPRIMARYPRIMARY4const1 
    SIMPLEalbumviewpermconstPRIMARYPRIMARY5const,const1 
    SIMPLEcategoryconstPRIMARYPRIMARY4const0unique row not found
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEattachmentconstPRIMARY,content_type_id_datePRIMARY4const1 
    SIMPLEdataconstPRIMARYPRIMARY4const1 
  3. SELECT *
    FROM xengallery_album_permission
    WHERE album_id = ?
    Params: 881
    Run Time: 0.000179
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_album_permissionrefPRIMARYPRIMARY4const1 
  4. INSERT DELAYED INTO xengallery_media_view
    	(media_id)
    VALUES
    	(?)
    Params: 7230
    Run Time: 0.000104
  5. SELECT *
    FROM xengallery_user_tag
    WHERE media_id = ?
    Params: 7230
    Run Time: 0.000182
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_user_tagrefmedia_idmedia_id4const1 
  6. SELECT *
    FROM xf_liked_content
    WHERE content_type = ?
    	AND content_id = ?
    	AND like_user_id = ?
    Params: xengallery_media, 7230, 0
    Run Time: 0.000153
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  7. SELECT category_id
    FROM xengallery_category_map
    WHERE view_user_group_id IN (1)
    Run Time: 0.000044
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_category_mapindex PRIMARY8 13Using where; Using index
  8. SELECT media.media_id, media.media_title, media.media_type, media.last_edit_date,
    media.media_description, media.user_id, media.username, media.position, media.media_date
    	,
    		album.*, albumviewperm.*
    FROM xengallery_media AS media
    
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission as albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    WHERE media.media_id > ?
    	AND media.album_id = ?
    	AND (
    			
    			media.media_privacy = 'public'
    			OR IF(media.category_id > 0, media.category_id IN (1), NULL)) AND (media.media_state IN ('visible')) AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    	ORDER BY media.media_id ASC
     LIMIT 1
    Params: 7230, 881
    Run Time: 0.000384
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediarefPRIMARY,album_id_media_datealbum_id_media_date4const20Using index condition; Using where; Using filesort
    SIMPLEalbumeq_refPRIMARYPRIMARY4valinor_xf.media.album_id1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5valinor_xf.album.album_id,const1Using where
  9. SELECT media.media_id, media.media_title, media.media_type, media.last_edit_date,
    media.media_description, media.user_id, media.username, media.position, media.media_date
    	,
    		album.*, albumviewperm.*
    FROM xengallery_media AS media
    
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission as albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    WHERE media.media_id < ?
    	AND media.album_id = ?
    	AND (
    			
    			media.media_privacy = 'public'
    			OR IF(media.category_id > 0, media.category_id IN (1), NULL)) AND (media.media_state IN ('visible')) AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    	ORDER BY media.media_id DESC
     LIMIT 1
    Params: 7230, 881
    Run Time: 0.000308
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediarefPRIMARY,album_id_media_datealbum_id_media_date4const20Using index condition; Using where; Using filesort
    SIMPLEalbumeq_refPRIMARYPRIMARY4valinor_xf.media.album_id1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5valinor_xf.album.album_id,const1Using where
  10. SELECT comment.*
    	,
    		media.media_id, media.media_title, media.media_description, media.media_type, media.media_state,
    		media.comment_count, media.user_id AS media_user_id, media.username AS media_username, media.media_date, media.album_id, media.media_tag,
    		user.*, user_profile.*, IF(user.username IS NULL, comment.username, user.username) AS username,
    		category.*,
    		album.album_id, album.album_title, album.album_state,
    		album.album_user_id, album.album_username, albumviewperm.*,
    		rating.content_id, rating.rating_id, rating.rating, rating.rating_date
    FROM xengallery_comment AS comment
    	
    		LEFT JOIN xengallery_media AS media ON
    			(media.media_id = comment.content_id AND comment.content_type = 'media')
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = comment.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = comment.user_id)
    		LEFT JOIN xengallery_category AS category ON
    			(category.category_id = media.category_id)
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission AS albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    		LEFT JOIN xengallery_rating AS rating ON
    			(rating.rating_id = comment.rating_id)
    	WHERE (comment.content_id = 7230) AND (comment.content_type = 'media') AND (comment.comment_state IN ('visible'))
    	ORDER BY comment.comment_date ASC
     LIMIT 10
    Run Time: 0.000507
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcommentrefcontent_type_content_id_comment_datecontent_type_content_id_comment_date5const,const1Using index condition; Using where
    SIMPLEmediaconstPRIMARYPRIMARY4const1Using where
    SIMPLEusereq_refPRIMARYPRIMARY4valinor_xf.comment.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4valinor_xf.comment.user_id1 
    SIMPLEcategoryeq_refPRIMARYPRIMARY4valinor_xf.media.category_id1Using where
    SIMPLEalbumeq_refPRIMARYPRIMARY4valinor_xf.media.album_id1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5valinor_xf.album.album_id,const1Using where
    SIMPLEratingeq_refPRIMARYPRIMARY4valinor_xf.comment.rating_id1 
  11. SELECT COUNT(*)
    FROM xengallery_comment AS comment
    
    WHERE (comment.content_id = 7230) AND (comment.content_type = 'media') AND (comment.comment_state IN ('visible'))
    Run Time: 0.000132
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEcommentrefcontent_type_content_id_comment_datecontent_type_content_id_comment_date5const,const1Using index condition; Using where
  12. SELECT *
    FROM xf_draft
    WHERE draft_key = ? AND user_id = ?
    Params: media-7230, 0
    Run Time: 0.000135
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  13. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: eafb140fe8596475975e9d478bed0d95, a:6:{s:12:"sessionStart";i:1560993015;s:2:"ip";s:4:"6[Gl";s:11:"sessionCsrf";s:16:"mLlWPlHGrcqZdFm3";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;}, 1560996615
    Run Time: 0.000104
  14. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date, robot_key)
    VALUES
    	(?, ?, ?, ?, ?, ?, ?, ?, ?)
    ON DUPLICATE KEY UPDATE
    	ip = VALUES(ip),
    	controller_name = VALUES(controller_name),
    	controller_action = VALUES(controller_action),
    	view_state = VALUES(view_state),
    	params = VALUES(params),
    	view_date = VALUES(view_date),
    	robot_key = VALUES(robot_key)
    Params: 0, 6[Gl, 6[Gl, XenGallery_ControllerPublic_Media, View, valid, media_id=7230, 1560993015,
    Run Time: 0.000065
  15. SELECT *
    FROM bbm
    ORDER BY tag
    Run Time: 0.000144
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEbbmALL    10Using filesort

Included Files (169, XenForo Classes: 0)

  1. wordfence-waf.php
  2. wp-content/plugins/wordfence/waf/bootstrap.php
  3. wp-content/plugins/wordfence/waf/wfWAFUserIPRange.php
  4. wp-content/plugins/wordfence/waf/wfWAFIPBlocksController.php
  5. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/init.php
  6. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/waf.php
  7. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/utils.php
  8. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/xmlrpc.php
  9. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage.php
  10. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/storage/file.php
  11. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/config.php
  12. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/rules.php
  13. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/parser/lexer.php
  14. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/parser/parser.php
  15. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/parser/sqli.php
  16. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/request.php
  17. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/http.php
  18. wp-content/plugins/wordfence/vendor/wordfence/wf-waf/src/lib/view.php
  19. wp-content/wflogs/rules.php
  20. wp-content/plugins/wordfence/lib/wfIPWhitelist.php
  21. forum/index.php
  22. forum/library/XenForo/Autoloader.php
  23. forum/library/XenForo/Application.php
  24. forum/library/Zend/Registry.php
  25. forum/library/Lgpl/utf8.php
  26. forum/library/Zend/Config.php
  27. forum/library/config.php
  28. forum/library/SV/RedisCache/Installer.php
  29. forum/library/SV/RedisCache/RedisDataRegistry.php
  30. forum/library/XenForo/Model.php
  31. forum/library/XenForo/FrontController.php
  32. forum/library/XenForo/Dependencies/Public.php
  33. forum/library/XenForo/Dependencies/Abstract.php
  34. forum/library/Zend/Controller/Request/Http.php
  35. forum/library/Zend/Controller/Request/Abstract.php
  36. forum/library/Zend/Uri.php
  37. forum/library/Zend/Controller/Response/Http.php
  38. forum/library/Zend/Controller/Response/Abstract.php
  39. forum/library/Zend/Cache.php
  40. forum/library/Zend/Cache/Backend/Redis.php
  41. forum/library/Redis/lib/Credis/Client.php
  42. forum/library/Redis/lib/Credis/Sentinel.php
  43. forum/library/Redis/Cm/Cache/Backend/Redis.php
  44. forum/library/Zend/Cache/Backend.php
  45. forum/library/Zend/Cache/Backend/ExtendedInterface.php
  46. forum/library/Zend/Cache/Backend/Interface.php
  47. forum/library/Zend/Cache/Core.php
  48. forum/library/XenForo/CodeEvent.php
  49. forum/library/XenForo/Options.php
  50. forum/library/XenForo/Link.php
  51. forum/library/XenForo/Template/Helper/Core.php
  52. forum/library/MobileRead/ProfileBbCode/Listener/InitDependencies.php
  53. forum/library/BBM/Listeners/AllInOne.php
  54. forum/library/XenGallery/Listener.php
  55. forum/library/XfAddOns/Blogs/Listener.php
  56. forum/library/Waindigo/Listener/InitDependencies.php
  57. forum/library/Waindigo/Listener/InitDependencies/20150212.php
  58. forum/library/Waindigo/Listener/ControllerPreDispatch/20150212.php
  59. forum/library/XfAddOns/Blogs/Install/Version.php
  60. forum/library/XenForo/Router.php
  61. forum/library/XenForo/Route/Filter.php
  62. forum/library/XenForo/Route/Interface.php
  63. forum/library/XenForo/Route/ResponseSuffix.php
  64. forum/library/XenForo/Route/Prefix.php
  65. forum/library/XenForo/RouteMatch.php
  66. forum/library/XenGallery/Route/Prefix/Media.php
  67. forum/library/BBM/Protection/Helper/ContentProtection.php
  68. forum/library/XenGallery/ControllerPublic/Media.php
  69. forum/library/XenGallery/ControllerPublic/Abstract.php
  70. forum/library/XenForo/ControllerPublic/Abstract.php
  71. forum/library/XenForo/Controller.php
  72. forum/library/Awedo/PostAreas/Listener/LoadClassController.php
  73. forum/library/Dark/PostRating/EventListener.php
  74. forum/library/WMTech/UserSelfDeleteLite/Listener.php
  75. forum/library/UserEss/Listener/Proxy.php
  76. forum/library/XenForo/Input.php
  77. forum/library/XenForo/Session.php
  78. forum/library/Zend/Db.php
  79. forum/library/Zend/Db/Adapter/Mysqli.php
  80. forum/library/Zend/Db/Adapter/Abstract.php
  81. forum/library/Zend/Db/Select.php
  82. forum/library/Zend/Db/Expr.php
  83. forum/library/Zend/Db/Profiler.php
  84. forum/library/Zend/Db/Statement/Mysqli.php
  85. forum/library/Zend/Db/Statement.php
  86. forum/library/Zend/Db/Statement/Interface.php
  87. forum/library/XenForo/Helper/Ip.php
  88. forum/library/XenForo/Visitor.php
  89. forum/library/XenForo/Model/User.php
  90. forum/library/Waindigo/JoinUserGroup/Listener/LoadClass.php
  91. forum/library/Waindigo/Listener/LoadClass.php
  92. forum/library/Waindigo/Listener/LoadClass/20150518.php
  93. forum/library/RastaLulz/LoggedInCookie/Listener/LoadClass.php
  94. forum/library/Waindigo/JoinUserGroup/Extend/XenForo/Model/User.php
  95. forum/library/Dark/PostRating/Model/User.php
  96. forum/library/UserEss/XenForo/Model/User.php
  97. forum/library/XfAddOns/Blogs/Override/Model/User.php
  98. forum/library/RastaLulz/LoggedInCookie/Model/User.php
  99. forum/library/XenGallery/Model/User.php
  100. forum/library/Zend/Db/Profiler/Query.php
  101. forum/library/XenForo/Permission.php
  102. forum/library/XenForo/Helper/Php.php
  103. forum/library/XenForo/Phrase.php
  104. forum/library/XenForo/Locale.php
  105. forum/library/RastaLulz/LoggedInCookie/Listener/VisitorSetup.php
  106. forum/library/XenForo/Helper/Cookie.php
  107. forum/library/XenGallery/Model/Media.php
  108. forum/library/UserEss/Listener/PreDispatch.php
  109. forum/library/Waindigo/JoinUserGroup/Listener/ControllerPreDispatch.php
  110. forum/library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  111. forum/library/XenForo/ControllerResponse/Reroute.php
  112. forum/library/XenForo/ControllerResponse/Abstract.php
  113. forum/library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.php
  114. forum/library/UserEss/Listener/PostDispatch.php
  115. forum/library/XenGallery/Model/Album.php
  116. forum/library/XenGallery/Model/UserTag.php
  117. forum/library/XenGallery/Model/Comment.php
  118. forum/library/XenGallery/Model/Watermark.php
  119. forum/library/XenGallery/ControllerHelper/Media.php
  120. forum/library/XenForo/ControllerHelper/Abstract.php
  121. forum/library/XenForo/Model/Attachment.php
  122. forum/library/XenForo/Route/Prefix/Attachments.php
  123. forum/library/XenForo/Helper/String.php
  124. forum/library/XenGallery/Model/Field.php
  125. forum/library/SV/RedisCache/Listener.php
  126. forum/library/SV/RedisCache/XenForo/Model/DataRegistry.php
  127. forum/library/XenForo/Model/Like.php
  128. forum/library/Dark/PostRating/Model/Like.php
  129. forum/library/UserEss/Model/Like.php
  130. forum/library/XenGallery/Model/Category.php
  131. forum/library/XenForo/Model/Draft.php
  132. forum/library/XenForo/ControllerResponse/View.php
  133. forum/library/XenForo/ViewRenderer/HtmlPublic.php
  134. forum/library/XenForo/ViewRenderer/Abstract.php
  135. forum/library/XenForo/Template/Public.php
  136. forum/library/XenForo/Template/Abstract.php
  137. forum/library/XenGallery/ViewPublic/Media/View.php
  138. forum/library/XenForo/ViewPublic/Base.php
  139. forum/library/XenForo/View.php
  140. forum/library/XenForo/BbCode/Parser.php
  141. forum/library/XenForo/BbCode/Formatter/Base.php
  142. forum/library/MobileRead/ProfileBbCode/Listener/Proxy.php
  143. forum/library/WMTech/DoublePost/Listener.php
  144. forum/library/MobileRead/ProfileBbCode/BbCode/Formatter/Restricted.php
  145. forum/library/BBM/BbCode/Formatter/Base.php
  146. forum/library/BBM/BbCode/Formatter/Extensions/PreCacheBase.php
  147. forum/library/WMTech/DoublePost/BbCode/Formatter/Base.php
  148. forum/library/BBM/Helper/Bbm.php
  149. forum/library/BBM/Model/BbCodes.php
  150. forum/library/UserEss/Listener/Hook.php
  151. forum/library/XfAddOns/Blogs/Template/Hook.php
  152. forum/library/Sedo/Dice/Listener.php
  153. forum/library/XenForo/BbCode/TextWrapper.php
  154. forum/library/XenForo/Route/Prefix/Members.php
  155. forum/library/XfAddOns/Blogs/Template/Navigation.php
  156. forum/library/XenForo/Template/FileHandler.php
  157. forum/library/XenForo/Helper/File.php
  158. forum/internal_data/templates/S.2,L.2,xengallery_media_view.php
  159. forum/library/XenGallery/Template/Helper/Core.php
  160. forum/library/XenForo/Model/Avatar.php
  161. forum/library/Tinhte/MoreCurrency/Listener.php
  162. forum/library/XenForo/Helper/Criteria.php
  163. forum/library/XenForo/Debug.php
  164. forum/internal_data/templates/S.2,L.2,PAGE_CONTAINER.php
  165. forum/library/BBM/Helper/BbCodes.php
  166. forum/library/BBM/Listeners/Templates/Public.php
  167. forum/internal_data/templates/S.2,L.2,bbm_js.php
  168. forum/internal_data/templates/S.2,L.2,xengallery_tab_links.php
  169. forum/library/XenForo/ViewRenderer/Json.php