Page Time: 0.1341s

Memory: 2.6043 MB (Peak: 3.6024 MB)

Queries (6, time: 0.1150s, 85.8%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000186
    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: 33343
    Run Time: 0.001115
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYuserconstPRIMARYPRIMARY4const1 
    PRIMARYratingconstPRIMARYPRIMARY4const1 
    PRIMARYxc_trade_preferenceconstPRIMARYPRIMARY4const0unique row not found
    SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4const3 
    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_33343) +_md_content_thread
    Run Time: 0.109691
    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 (1568739, 1568652, 1567044, 1567043, 1565166, 1563365, 1562601, 1561637, 1561284, 1560449, 1558555, 1556353, 1552893, 1548760, 1545357, 1545171, 1545170, 1544932, 1544386, 1544081, 1544079, 1542681, 1542349, 1542154, 1542105, 1542103, 1542099, 1532641, 1532211, 1531239, 1531238, 1527907, 1527903, 1525224, 1525103, 1525101, 1501303, 933068)
    Run Time: 0.003551
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYthreadrangePRIMARYPRIMARY4 38Using where
    PRIMARYusereq_refPRIMARYPRIMARY4foromtb_www.thread.user_id1 
    PRIMARYnodeeq_refPRIMARYPRIMARY4foromtb_www.thread.node_id1 
    PRIMARYposteq_refPRIMARYPRIMARY4foromtb_www.thread.first_post_id1 
    PRIMARYpermissioneq_refPRIMARYPRIMARY35const,const,foromtb_www.thread.node_id1Using where
    PRIMARYlast_post_usereq_refPRIMARYPRIMARY4foromtb_www.thread.last_post_user_id1 
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,const1Using index
    DEPENDENT SUBQUERYprrefpost_id_ratingpost_id_rating8foromtb_www.thread.first_post_id,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",1568739],["thread",1568652],["thread",1567044],["thread",1567043],["thread",1562601],["thread",1561637],["thread",1558555],["thread",1556353],["thread",1552893],["thread",1548760],["thread",1545357],["thread",1545171],["thread",1545170],["thread",1544932],["thread",1544386],["thread",1544081],["thread",1544079],["thread",1542681],["thread",1542349],["thread",1542154],["thread",1542105],["thread",1542103],["thread",1542099],["thread",1532211],["thread",1531239],["thread",1531238],["thread",1527907],["thread",1527903],["thread",1525224],["thread",1525103],["thread",1525101],["thread",1501303],["thread",933068]], 33, user, , {"user_id":33343,"content":"thread"}, date, 0, , [], 0, 1714127094, 9b57b6e7001700d50485e632cbbd223e
    Run Time: 0.000399
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 47fea20411c0d3f7c32cb19ed0b97962, , 1714130694
    Run Time: 0.000105

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