Page Time: 0.1204s

Memory: 2.5966 MB (Peak: 2.6317 MB)

Queries (6, time: 0.1066s, 88.5%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000093
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT user.*
    	
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,7,8,10)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,4,5,7,8,10)) + like_count) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,11,12,13)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,6,9)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    , rating.fb_percent, rating.fb_positive, xc_trade_preference.*
    FROM xf_user AS user
    
    LEFT JOIN xc_trade_user AS rating ON rating.user_id=user.user_id
    LEFT JOIN xc_trade_preference AS xc_trade_preference ON xc_trade_preference.pr_user_id=user.user_id
    
    WHERE user.user_id = ?
    Params: 81310
    Run Time: 0.004740
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYratingconstPRIMARYPRIMARY4const0unique row not found
    PRIMARYxc_trade_preferenceconstPRIMARYPRIMARY4const0unique row not found
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const1 
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 3Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 4Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 7Using index condition
    SUBQUERYdark_postrating_countrangeuser_id_ratinguser_id_rating8 7Using index condition
  3. SELECT search_index.content_type, search_index.content_id
    FROM xf_search_index AS search_index
    
    WHERE MATCH(search_index.title, search_index.metadata) AGAINST (? IN BOOLEAN MODE)
    	
    
    ORDER BY search_index.item_date desc
    LIMIT 200
    Params: +(_md_user_81310) +_md_content_thread
    Run Time: 0.100252
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsearch_indexfulltexttitle_metadatatitle_metadata0 1Using where; Using filesort
  4. SELECT thread.*
    	,
    		user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    		node.title AS node_title, node.node_name,
    		post.message, post.attach_count,
    		NULL AS thread_read_date,
    		0 AS user_post_count,
    	permission.cache_value AS node_permission_cache,
    	last_post_user.avatar_date AS last_post_user_avatar_date, last_post_user.gravatar AS last_post_user_gravatar, last_post_user.gender AS last_post_user_gender, (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 1) as dark_postrating_1_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 14) as dark_postrating_14_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 2) as dark_postrating_2_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 3) as dark_postrating_3_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 4) as dark_postrating_4_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 5) as dark_postrating_5_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 6) as dark_postrating_6_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 7) as dark_postrating_7_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 8) as dark_postrating_8_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 9) as dark_postrating_9_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 10) as dark_postrating_10_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 11) as dark_postrating_11_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 12) as dark_postrating_12_count, 1 as dark_postrating_has_fetched_max
    , (select count(*) from dark_postrating pr USE INDEX (`post_id_rating`) where pr.post_id = thread.first_post_id and pr.rating = 13) as dark_postrating_13_count, 1 as dark_postrating_has_fetched_max
    
    FROM xf_thread AS thread
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    		LEFT JOIN xf_node AS node ON
    			(node.node_id = thread.node_id)
    		LEFT JOIN xf_post AS post ON
    			(post.post_id = thread.first_post_id)
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'node'
    			AND permission.content_id = thread.node_id)
    	LEFT JOIN xf_user AS last_post_user ON
    		(last_post_user.user_id = thread.last_post_user_id)
    WHERE thread.thread_id IN (1563044)
    Run Time: 0.001092
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYthreadconstPRIMARYPRIMARY4const1 
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYnodeconstPRIMARYPRIMARY4const1 
    PRIMARYpostconstPRIMARYPRIMARY4const1 
    PRIMARYpermissionconstPRIMARYPRIMARY35const,const,const1 
    PRIMARYlast_post_userconstPRIMARYPRIMARY4const1 
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
    SUBQUERYprrefpost_id_ratingpost_id_rating8const,const1Using index
  5. INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    Params: [["thread",1563044]], 1, user, , {"user_id":81310,"content":"thread"}, date, 0, , [], 0, 1711692369, 6bbd395b13c6e255d47c85eca986fe05
    Run Time: 0.000348
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 2113a06e9cc5a88acdd1dfaf50eeb8ac, , 1711695969
    Run Time: 0.000109

Included Files (116, XenForo Classes: 46)

  1. index.php
  2. library/XenForo/Autoloader.php
  3. library/XenForo/Application.php
  4. library/Zend/Registry.php
  5. library/Lgpl/utf8.php
  6. library/Zend/Config.php
  7. library/config.php
  8. library/XenForo/FrontController.php
  9. library/XenForo/Dependencies/Public.php
  10. library/XenForo/Dependencies/Abstract.php
  11. library/Zend/Controller/Request/Http.php
  12. library/Zend/Controller/Request/Abstract.php
  13. library/Zend/Uri.php
  14. library/Zend/Controller/Response/Http.php
  15. library/Zend/Controller/Response/Abstract.php
  16. library/XenForo/Model/DataRegistry.php
  17. library/XenForo/Model.php
  18. library/Zend/Cache.php
  19. library/Zend/Cache/Backend/File.php
  20. library/Zend/Cache/Backend/ExtendedInterface.php
  21. library/Zend/Cache/Backend/Interface.php
  22. library/Zend/Cache/Backend.php
  23. library/Zend/Cache/Core.php
  24. library/XenForo/CodeEvent.php
  25. library/XenForo/Options.php
  26. library/XenForo/Link.php
  27. library/XenForo/Template/Helper/Core.php
  28. library/NFLJ/Showcase/Listener/Proxy.php
  29. library/Waindigo/Listener/InitDependencies.php
  30. library/Waindigo/Listener/InitDependencies/20141020.php
  31. library/Waindigo/Listener/ControllerPreDispatch/20141011.php
  32. library/BannedAvatar/Listener.php
  33. library/XenCentral/Trade/Hooks.php
  34. library/XenCentral/Trade/Model/Options.php
  35. library/XenCentral/Trade/Model/Abstract.php
  36. library/XenCentral/Framework/Hooks.php
  37. library/Tapatalk/Listener/LoadClassModel.php
  38. library/UserEss/Listener/Proxy.php
  39. library/Dark/PostRating/EventListener.php
  40. library/Bookmarks/Listener/Proxy.php
  41. library/XenForo/Router.php
  42. library/XenForo/Route/Filter.php
  43. library/XenForo/Route/Interface.php
  44. library/XenForo/Route/ResponseSuffix.php
  45. library/XenForo/Route/Prefix.php
  46. library/XenForo/Route/Prefix/Search.php
  47. library/XenForo/RouteMatch.php
  48. library/XenForo/ControllerPublic/Search.php
  49. library/XenForo/ControllerPublic/Abstract.php
  50. library/XenForo/Controller.php
  51. library/Waindigo/CustomFields/Listener/LoadClass.php
  52. library/Waindigo/Listener/LoadClass.php
  53. library/Waindigo/Listener/LoadClass/20141202.php
  54. library/Vinavb/CustomNodeIcon/Listener.php
  55. library/GritterNotifications/Listener.php
  56. library/XenES/Listener.php
  57. library/Waindigo/CustomFields/Extend/XenForo/ControllerPublic/Search.php
  58. library/XenES/Proxy/ControllerSearch.php
  59. library/XenForo/Input.php
  60. library/XenForo/Session.php
  61. library/Zend/Db.php
  62. library/Zend/Db/Adapter/Mysqli.php
  63. library/Zend/Db/Adapter/Abstract.php
  64. library/Zend/Db/Select.php
  65. library/Zend/Db/Expr.php
  66. library/Zend/Db/Profiler.php
  67. library/Zend/Db/Statement/Mysqli.php
  68. library/Zend/Db/Statement.php
  69. library/Zend/Db/Statement/Interface.php
  70. library/XenForo/Helper/Ip.php
  71. library/XenForo/Visitor.php
  72. library/XenForo/Model/User.php
  73. library/Waindigo/LoginAsUser/Listener/LoadClass.php
  74. library/Waindigo/LoginAsUser/Extend/XenForo/Model/User.php
  75. library/Dark/PostRating/Model/User.php
  76. library/XenCentral/Trade/Model/XfUser.php
  77. library/Zend/Db/Profiler/Query.php
  78. library/XenForo/Permission.php
  79. library/XenForo/Helper/Php.php
  80. library/XenForo/Phrase.php
  81. library/XenForo/Locale.php
  82. library/Waindigo/LoginAsUser/Listener/VisitorSetup.php
  83. library/Waindigo/Listener/VisitorSetup.php
  84. library/Waindigo/Listener/VisitorSetup/20130615.php
  85. library/Waindigo/LoginAsUser/Extend/XenForo/Visitor.php
  86. library/Waindigo/InstallUpgrade/Listener/ControllerPreDispatch.php
  87. library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  88. library/Dark/PostRating/Model.php
  89. library/XenForo/Model/Search.php
  90. library/Waindigo/CustomFields/Extend/XenForo/Model/Search.php
  91. library/Tapatalk/Model/Search.php
  92. library/XenForo/Search/Searcher.php
  93. library/XenForo/Search/SourceHandler/Abstract.php
  94. library/XenForo/Search/SourceHandler/MySqlFt.php
  95. library/XenForo/Search/DataHandler/Thread.php
  96. library/XenForo/Search/DataHandler/Abstract.php
  97. library/XenForo/Model/Thread.php
  98. library/Waindigo/LastPostAvatar/Listener/LoadClass.php
  99. library/Waindigo/LastPostAvatar/Extend/XenForo/Model/Thread.php
  100. library/Waindigo/CustomFields/Extend/XenForo/Model/Thread.php
  101. library/UserEss/Model/Thread.php
  102. library/Dark/PostRating/Model/Thread.php
  103. library/Bookmarks/Model/Thread.php
  104. library/XenForo/Model/Forum.php
  105. library/UserEss/Model/Forum.php
  106. library/XenForo/ControllerResponse/Redirect.php
  107. library/XenForo/ControllerResponse/Abstract.php
  108. library/XenForo/Helper/Cookie.php
  109. library/DigitalPointAdPositioning/Listener/ControllerPostDispatch.php
  110. library/Tapatalk/Listener/ControllerPostDispatch.php
  111. library/XenForo/ViewRenderer/HtmlPublic.php
  112. library/XenForo/ViewRenderer/Abstract.php
  113. library/XenForo/Template/Public.php
  114. library/XenForo/Template/Abstract.php
  115. library/XenCentral/Framework/Navigation/Admin.php
  116. library/XenForo/Debug.php