Page Time: 0.0718s

Memory: 12.9871 MB (Peak: 14.9863 MB)

Queries (13, time: 0.0107s, 14.9%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routesPublic', 'routeFiltersIn', 'routeFiltersOut', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000626
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using where
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000147
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000124
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_is_watched,
    		'' AS draft_message, NULL AS draft_extra
    FROM xf_thread AS thread
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = thread.user_id)
    WHERE thread.thread_id = ?
    Params: 55380
    Run Time: 0.000183
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  5. SELECT node.*, forum.*
    	,
    	permission.cache_value AS node_permission_cache,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    	LEFT JOIN xf_permission_cache_content AS permission
    		ON (permission.permission_combination_id = 1
    			AND permission.content_type = 'node'
    			AND permission.content_id = forum.node_id)
    WHERE node.node_id = ?
    Params: 35
    Run Time: 0.000226
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  6. SELECT post.*
    	,
    		user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    		user_profile.*,
    		user_option.*,
    		0 AS like_date,
    pr2.rating, 
    	pr.*, post.post_id, session.view_date
    FROM xf_post AS post
    
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = post.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = post.user_id)
    		LEFT JOIN xf_user_option AS user_option ON
    			(user_option.user_id = post.user_id)
    LEFT JOIN dark_postrating pr2 ON (post.post_id = pr2.post_id and pr2.user_id = 0)
    LEFT JOIN (
    select 
    pivot_pr.post_id
    , sum(case when pivot_pr.rating = 1 then 1 else 0 end) dark_postrating_1_count
    , sum(case when pivot_pr.rating = 14 then 1 else 0 end) dark_postrating_14_count
    , sum(case when pivot_pr.rating = 2 then 1 else 0 end) dark_postrating_2_count
    , sum(case when pivot_pr.rating = 3 then 1 else 0 end) dark_postrating_3_count
    , sum(case when pivot_pr.rating = 4 then 1 else 0 end) dark_postrating_4_count
    , sum(case when pivot_pr.rating = 5 then 1 else 0 end) dark_postrating_5_count
    , sum(case when pivot_pr.rating = 6 then 1 else 0 end) dark_postrating_6_count
    , sum(case when pivot_pr.rating = 7 then 1 else 0 end) dark_postrating_7_count
    , sum(case when pivot_pr.rating = 8 then 1 else 0 end) dark_postrating_8_count
    , sum(case when pivot_pr.rating = 9 then 1 else 0 end) dark_postrating_9_count
    , sum(case when pivot_pr.rating = 10 then 1 else 0 end) dark_postrating_10_count
    , sum(case when pivot_pr.rating = 11 then 1 else 0 end) dark_postrating_11_count
    , sum(case when pivot_pr.rating = 12 then 1 else 0 end) dark_postrating_12_count
    
    		
    from dark_postrating pivot_pr 
    use index (`post_id_rating`)
    left join xf_post pivot_post on (pivot_pr.post_id = pivot_post.post_id)
    where pivot_post.thread_id = 55380
    group by pivot_pr.post_id
    ) pr on (pr.post_id = post.post_id)
    
    LEFT OUTER JOIN xf_session_activity AS session ON post.user_id = session.user_id
    WHERE post.thread_id = ?
    	 AND (post.position >= 0 AND post.position < 10) 
    	AND (post.message_state IN ('visible'))
    ORDER BY post.position ASC, post.post_date ASC
    Params: 55380
    Run Time: 0.004220
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY<derived2>system    0const row not found
    PRIMARYpostrangethread_id_post_date,thread_id_positionthread_id_position8 9Using where; Using temporary; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4jfuqua_xenforo.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4jfuqua_xenforo.post.user_id1 
    PRIMARYuser_optioneq_refPRIMARYPRIMARY4jfuqua_xenforo.post.user_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8jfuqua_xenforo.post.post_id,const1 
    PRIMARYsessionALLPRIMARY   4 
    DERIVEDpivot_postrefPRIMARY,thread_id_post_date,thread_id_positionthread_id_post_date4 66Using where; Using index; Using temporary; Using filesort
    DERIVEDpivot_prrefpost_id_ratingpost_id_rating4jfuqua_xenforo.pivot_post.post_id1Using index
  7. SELECT `user_id`, `position`
     	FROM `xf_post`
     	WHERE `thread_id` = ?
    ORDER BY `position` ASC
    Params: 55380
    Run Time: 0.004887
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_postrefthread_id_post_date,thread_id_positionthread_id_position4const66Using where
  8. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 55380
    Run Time: 0.000057
  9. SELECT option_value FROM xf_option WHERE option_id = 'currentVersionId'
    Run Time: 0.000091
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_optionconstPRIMARYPRIMARY52const1 
  10. INSERT INTO `xf_error_log` (`exception_date`, `user_id`, `ip_address`, `exception_type`, `message`, `filename`, `line`, `trace_string`, `request_state`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
    Params: 1409223902, 0, , Zend_Db_Statement_Mysqli_Exception, Mysqli statement execute error : Duplicate entry '1409227502' for key 'expiry_date', library/Zend/Db/Statement/Mysqli.php, 214, #0 /home/jfuqua/public_html/library/Zend/Db/Statement.php(317): Zend_Db_Statement_Mysqli->_execute(Array) #1 /home/jfuqua/public_html/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/jfuqua/public_html/library/Zend/Db/Adapter/Abstract.php(574): Zend_Db_Adapter_Abstract->query('INSERT INTO `xf...', Array) #3 /home/jfuqua/public_html/library/XenForo/Session.php(784): Zend_Db_Adapter_Abstract->insert('xf_session', Array) #4 /home/jfuqua/public_html/library/XenForo/Session.php(518): XenForo_Session->saveSessionToSource('e9b4860b06a02f7...', false) #5 /home/jfuqua/public_html/library/XenForo/Controller.php(412): XenForo_Session->save() #6 /home/jfuqua/public_html/library/XenForo/Controller.php(356): XenForo_Controller->updateSession(Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'Index') #7 /home/jfuqua/public_html/library/XenForo/FrontController.php(354): XenForo_Controller->postDispatch(Object(XenForo_ControllerResponse_View), 'XenForo_Control...', 'Index') #8 /home/jfuqua/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch)) #9 /home/jfuqua/public_html/index.php(13): XenForo_FrontController->run() #10 {main}, a:3:{s:3:"url";s:54:"http://www.gotitans.com/threads/avatar.55380/?_debug=1";s:4:"_GET";a:1:{s:6:"_debug";s:1:"1";}s:5:"_POST";a:0:{}}
    Run Time: 0.000096
  11. SELECT option_value FROM xf_option WHERE option_id = 'currentVersionId'
    Run Time: 0.000059
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_optionconstPRIMARYPRIMARY52const1 

Included Files (153, XenForo Classes: 60)

  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/Db.php
  19. library/Zend/Db/Adapter/Mysqli.php
  20. library/Zend/Db/Adapter/Abstract.php
  21. library/Zend/Db/Select.php
  22. library/Zend/Db/Expr.php
  23. library/Zend/Db/Profiler.php
  24. library/Zend/Db/Statement/Mysqli.php
  25. library/Zend/Db/Statement.php
  26. library/Zend/Db/Statement/Interface.php
  27. library/Zend/Db/Profiler/Query.php
  28. library/XenForo/CodeEvent.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/Waindigo/Listener/InitDependencies.php
  33. library/Waindigo/Listener/InitDependencies/20140401.php
  34. library/Waindigo/Listener/ControllerPreDispatch/20140326.php
  35. library/NFLJ/Sportsbook/Listener/Proxy.php
  36. library/WidgetFramework/Listener.php
  37. library/WidgetFramework/Option.php
  38. library/NodesAsTabs/Listen.php
  39. library/bdTagMe/Listener.php
  40. library/bdTagMe/Helper/Template.php
  41. library/bdBank/Listeners.php
  42. library/bdBank/Exception.php
  43. library/Zend/Exception.php
  44. library/bdBank/Model/Bank.php
  45. library/Dark/PostRating/EventListener.php
  46. library/bdPaygate/Listener.php
  47. library/RegFormTimer/Listener.php
  48. library/Asp/OnlineStatus/Plugin/Plugin.php
  49. library/FhTools/SigOnce/EventListener/LoadClassModel.php
  50. library/XenForo/CacheRebuilder/Abstract.php
  51. library/XenForo/Router.php
  52. library/XenForo/Route/Filter.php
  53. library/XenForo/Route/Interface.php
  54. library/XenForo/Route/ResponseSuffix.php
  55. library/XenForo/Route/Prefix.php
  56. library/WidgetFramework/Route/Filter/PageX.php
  57. library/XenForo/Route/Prefix/Threads.php
  58. library/XenForo/RouteMatch.php
  59. library/XenForo/ControllerPublic/Thread.php
  60. library/XenForo/ControllerPublic/Abstract.php
  61. library/XenForo/Controller.php
  62. library/AddPoll/Listener.php
  63. library/Sedo/MobileStyleSelector/Listener/ControllerPublic.php
  64. library/DigitalPointAdPositioning/Listener/LoadClassControllerPublic/Thread.php
  65. library/AddPoll/ControllerPublic/Thread.php
  66. library/WidgetFramework/XenForo/ControllerPublic/Thread.php
  67. library/NodesAsTabs/ControllerPublic/Thread.php
  68. library/bdBank/XenForo/ControllerPublic/Thread.php
  69. library/DigitalPointAdPositioning/ControllerPublic/Thread.php
  70. library/XenForo/Input.php
  71. library/XenForo/Session.php
  72. library/XenForo/Helper/Ip.php
  73. library/XenForo/Visitor.php
  74. library/XenForo/Model/User.php
  75. library/NFLJ/Survivor/Listener/Proxy.php
  76. library/NFLJ/Pickem/Listener/Proxy.php
  77. library/WidgetFramework/XenForo/Model/User.php
  78. library/Dark/PostRating/Model/User.php
  79. library/bdTagMe/XenForo/Model/User.php
  80. library/XenForo/Permission.php
  81. library/XenForo/Phrase.php
  82. library/XenForo/Locale.php
  83. library/Sedo/MobileStyleSelector/Listener/Visitor.php
  84. library/DigitalPointAdPositioning/Listener/ControllerPreDispatch.php
  85. library/Sedo/MobileStyleSelector/Listener/ControllerPreDispatch.php
  86. library/GritterNotifications/Listener.php
  87. library/XenForo/ControllerHelper/ForumThreadPost.php
  88. library/XenForo/ControllerHelper/Abstract.php
  89. library/XenForo/Model/Thread.php
  90. library/Waindigo/MasterForums/Listener/LoadClass.php
  91. library/Waindigo/Listener/LoadClass.php
  92. library/Waindigo/Listener/LoadClass/20131003.php
  93. library/Waindigo/MasterForums/Extend/XenForo/Model/Thread.php
  94. library/WidgetFramework/XenForo/Model/Thread.php
  95. library/Dark/PostRating/Model/Thread.php
  96. library/bdBank/XenForo/Model/Thread.php
  97. library/Dark/PostRating/Model.php
  98. library/XenForo/Model/Forum.php
  99. library/XenForo/Helper/String.php
  100. library/XenForo/Helper/Discussion.php
  101. library/XenForo/Model/Post.php
  102. library/Dark/PostRating/Model/Post.php
  103. library/Asp/OnlineStatus/Model/AspPost.php
  104. library/FhTools/SigOnce/Model/Post.php
  105. library/XenForo/Model/Attachment.php
  106. library/bdBank/XenForo/Model/Attachment.php
  107. library/XenForo/Model/Node.php
  108. library/XenForo/Route/Prefix/Categories.php
  109. library/XenForo/Route/Prefix/Forums.php
  110. library/XenForo/ControllerResponse/View.php
  111. library/XenForo/ControllerResponse/Abstract.php
  112. library/Zend/Db/Statement/Mysqli/Exception.php
  113. library/Zend/Db/Statement/Exception.php
  114. library/Zend/Db/Exception.php
  115. library/XenForo/Error.php
  116. library/XenForo/Db.php
  117. library/XenForo/Helper/File.php
  118. library/XenForo/ControllerPublic/Error.php
  119. library/XenForo/ViewRenderer/HtmlPublic.php
  120. library/XenForo/ViewRenderer/Abstract.php
  121. library/XenForo/Template/Public.php
  122. library/XenForo/Template/Abstract.php
  123. library/WidgetFramework/Core.php
  124. library/XenForo/Model/Moderator.php
  125. library/NFLJ/Survivor/Listener/Proxy/ModelModerator.php
  126. library/NFLJ/Sportsbook/Listener/Proxy/ModelModerator.php
  127. library/NFLJ/Pickem/Listener/Proxy/ModelModerator.php
  128. library/NFLJ/Sportsbook/Listener/WidgetFramework.php
  129. library/NFLJ/Pickem/Listener/WidgetFramework.php
  130. library/WidgetFramework/Model/Widget.php
  131. library/WidgetFramework/Helper/Sort.php
  132. library/WidgetFramework/WidgetRenderer.php
  133. library/XenForo/ViewPublic/Error/ServerError.php
  134. library/XenForo/ViewPublic/Base.php
  135. library/XenForo/View.php
  136. library/WidgetFramework/XenForo/View1.php
  137. library/XenForo/Route/Prefix/Members.php
  138. library/bdTagMe/XenForo/Route/Prefix/Members.php
  139. library/NFLJ/Sportsbook/Listener/Template.php
  140. library/NFLJ/Survivor/Listener/Template.php
  141. library/NFLJ/Pickem/Listener/Template.php
  142. library/NodesAsTabs/NavTabs.php
  143. library/NodesAsTabs/Model/Options.php
  144. library/WidgetFramework/Template/Extended.php
  145. library/XenForo/Helper/Criteria.php
  146. library/XenForo/Debug.php
  147. library/XenForo/Template/FileHandler.php
  148. internal_data/templates/S.6,L.1,PAGE_CONTAINER.php
  149. library/GritterNotifications/Template/Callback.php
  150. library/GritterNotifications/Model/Notification.php
  151. internal_data/templates/S.6,L.1,GritterNotifications.php
  152. library/XenForo/ViewRenderer/Json.php
  153. internal_data/templates/S.6,L.1,nat_bodyjs.php