Page Time: 0.0575s

Memory: 4.7156 MB (Peak: 11.2020 MB)

Queries (17, time: 0.0101s, 17.5%)

  1. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000179
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  2. SELECT thread.*
    	,
    		user.gender, user.avatar_date, user.gravatar,
    		NULL AS thread_read_date,
    		0 AS thread_reply_banned,
    		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: 6613
    Run Time: 0.000279
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
  3. 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: 8
    Run Time: 0.000287
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeconstPRIMARYPRIMARY4const1 
    SIMPLEforumconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  4. SELECT EWRporta2_articles.*, xf_thread.*, xf_post.*, xf_user.*, EWRporta2_authors.*
    FROM EWRporta2_articles
    	INNER JOIN xf_thread ON (xf_thread.thread_id = EWRporta2_articles.thread_id)
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.user_id = xf_thread.user_id)
    WHERE EWRporta2_articles.thread_id = ?
    Params: 6613
    Run Time: 0.000482
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  5. SELECT EWRporta2_articles.*, EWRporta2_authors.*, xf_thread.*, xf_post.*, xf_user.*
    FROM xf_thread
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.user_id = xf_thread.user_id)
    	LEFT JOIN EWRporta2_articles ON (EWRporta2_articles.thread_id = xf_thread.thread_id)
    WHERE xf_thread.thread_id = ?
    Params: 6613
    Run Time: 0.000431
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadconstPRIMARYPRIMARY4const1 
    SIMPLExf_postconstPRIMARYPRIMARY4const1 
    SIMPLExf_userconstPRIMARYPRIMARY4const1 
    SIMPLEEWRporta2_authorsconstPRIMARYPRIMARY4const0Unique row not found
    SIMPLEEWRporta2_articlesconstPRIMARYPRIMARY4const0Unique row not found
  6. SELECT post.*
    	,
    thread.*, thread.user_id AS thread_user_id, thread.username AS thread_username,
    thread.post_date AS thread_post_date,
    post.user_id, post.username, post.post_date,
    user.*, IF(user.username IS NULL, post.username, user.username) AS username,
    user_profile.*,
    user_privacy.*,
    session_activity.view_date AS last_view_date,
    0 AS like_date
    ,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (1,14,2,4,5,6,7,8,10)) as positive_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (11)) as negative_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = post.user_id and rating in (3,9)) as neutral_rating_count
    ,
    pr_cache.rating_cache,
    pr2.rating
    FROM xf_post AS post
    
    INNER JOIN xf_thread AS thread ON
    	(thread.thread_id = post.thread_id)
    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_privacy AS user_privacy ON
    	(user_privacy.user_id = post.user_id)
    LEFT JOIN xf_session_activity AS session_activity ON
    	(post.user_id > 0 AND session_activity.user_id = post.user_id AND session_activity.unique_key = CAST(post.user_id AS BINARY))
    left join dark_postrating_post_cache pr_cache ON (post.post_id = pr_cache.post_id)
    left join dark_postrating pr2 on (post.post_id = pr2.post_id and pr2.user_id = 0)
    WHERE post.thread_id = ?
    	AND (((post.message_state IN ('visible'))
    	 AND (post.position >= 0 AND post.position < 20) )
    	OR post.post_id = thread.first_post_id)
    ORDER BY post.position ASC, post.post_date ASC
    Params: 6613
    Run Time: 0.000838
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYpostrefPRIMARY,thread_id_post_date,thread_id_positionthread_id_post_date4const1Using where; Using filesort
    PRIMARYusereq_refPRIMARYPRIMARY4vetxray_vetx.post.user_id1 
    PRIMARYuser_profileeq_refPRIMARYPRIMARY4vetxray_vetx.post.user_id1 
    PRIMARYuser_privacyeq_refPRIMARYPRIMARY4vetxray_vetx.post.user_id1 
    PRIMARYsession_activityeq_refPRIMARYPRIMARY22vetxray_vetx.post.user_id,func1Using where
    PRIMARYpr_cacheeq_refPRIMARYPRIMARY4vetxray_vetx.post.post_id1 
    PRIMARYpr2eq_refpost_id_user_id,post_id_rating,user_id_ratingpost_id_user_id8vetxray_vetx.post.post_id,const1 
    PRIMARYthreadeq_refPRIMARYPRIMARY4vetxray_vetx.post.thread_id1Using where
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4vetxray_vetx.post.user_id1Using index condition
    DEPENDENT SUBQUERYdark_postrating_counteq_refuser_id_ratinguser_id_rating8vetxray_vetx.post.user_id,const1 
    DEPENDENT SUBQUERYdark_postrating_countrefuser_id_ratinguser_id_rating4vetxray_vetx.post.user_id1Using index condition
  7. INSERT DELAYED INTO xf_thread_view
    	(thread_id)
    VALUES
    	(?)
    Params: 6613
    Run Time: 0.000055
  8. SELECT EWRporta2_articles.*, xf_thread.*, xf_post.*, xf_user.*, EWRporta2_authors.*
    FROM EWRporta2_articles
    	INNER JOIN xf_thread ON (xf_thread.thread_id = EWRporta2_articles.thread_id)
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.user_id = xf_thread.user_id)
    WHERE EWRporta2_articles.thread_id = ?
    Params: 6613
    Run Time: 0.000414
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  9. SELECT EWRporta2_articles.*, EWRporta2_authors.*, xf_thread.*, xf_post.*, xf_user.*
    FROM xf_thread
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	LEFT JOIN EWRporta2_authors ON (EWRporta2_authors.user_id = xf_thread.user_id)
    	LEFT JOIN EWRporta2_articles ON (EWRporta2_articles.thread_id = xf_thread.thread_id)
    WHERE xf_thread.thread_id = ?
    Params: 6613
    Run Time: 0.000410
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadconstPRIMARYPRIMARY4const1 
    SIMPLExf_postconstPRIMARYPRIMARY4const1 
    SIMPLExf_userconstPRIMARYPRIMARY4const1 
    SIMPLEEWRporta2_authorsconstPRIMARYPRIMARY4const0Unique row not found
    SIMPLEEWRporta2_articlesconstPRIMARYPRIMARY4const0Unique row not found
  10. SELECT EWRporta2_catlinks.*, EWRporta2_categories.*, xf_user.*
    FROM EWRporta2_catlinks
    	INNER JOIN EWRporta2_categories ON (EWRporta2_categories.category_id = EWRporta2_catlinks.category_id)
    	LEFT JOIN xf_user ON (xf_user.user_id = EWRporta2_catlinks.user_id)
    WHERE EWRporta2_catlinks.thread_id = ?
    	
    ORDER BY EWRporta2_categories.category_name
    Params: 6613
    Run Time: 0.000522
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta2_catlinksrefthread_idthread_id4const1Using temporary; Using filesort
    SIMPLEEWRporta2_categorieseq_refPRIMARYPRIMARY4vetxray_vetx.EWRporta2_catlinks.category_id1 
    SIMPLExf_usereq_refPRIMARYPRIMARY4vetxray_vetx.EWRporta2_catlinks.user_id1 
  11. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: de061377afff9d8ba06b7587d659e8fa, a:6:{s:12:"sessionStart";i:1571893519;s:2:"ip";s:4:""̭-";s:11:"sessionCsrf";s:16:"n7jS7maA2kxpsqN3";s:9:"userAgent";s:40:"CCBot/2.0 (https://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;}, 1571897119
    Run Time: 0.000087
  12. 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, "̭-, "̭-, XenForo_ControllerPublic_Thread, Index, valid, thread_id=6613, 1571893519,
    Run Time: 0.000065
  13. SELECT *
    	FROM EWRporta2_layouts
    WHERE (layout_template = ?
    	OR layout_template = 'EWRporta2_ArticleList')
    	AND active = 1
    ORDER BY layout_priority ASC
    Params: EWRporta2_ArticleView
    Run Time: 0.000148
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta2_layoutsALLlayout_template   2Using where; Using filesort
  14. SELECT EWRporta2_widlinks.*, EWRporta2_widgets.widget_values, EWRporta2_widopts.widopt_values,
    	IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.widopt_id, 0) AS widopt_id,
    	IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.locked, EWRporta2_widgets.locked) AS locked,
    	IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.display, EWRporta2_widgets.display) AS display,
    	IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.groups, EWRporta2_widgets.groups) AS groups,
    	IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.ctime, EWRporta2_widgets.ctime) AS ctime,
    	IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.cdate, EWRporta2_widgets.cdate) AS cdate,
    	IF(EWRporta2_widopts.widopt_id, EWRporta2_widopts.cache, EWRporta2_widgets.cache) AS cache
    FROM EWRporta2_widlinks
    	INNER JOIN EWRporta2_widgets ON (EWRporta2_widgets.widget_id = EWRporta2_widlinks.widget_id)
    	LEFT JOIN EWRporta2_widopts ON (EWRporta2_widopts.widopt_id = EWRporta2_widlinks.widopt_id)
    WHERE layout_id = ?
    	AND EWRporta2_widgets.active = 1
    ORDER by widlink_order
    Params: article_list
    Run Time: 0.000502
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta2_widgetsALLPRIMARY   9Using where; Using temporary; Using filesort
    SIMPLEEWRporta2_widlinksreflayout_id,widget_idwidget_id302vetxray_vetx.EWRporta2_widgets.widget_id1Using where
    SIMPLEEWRporta2_widoptseq_refPRIMARYPRIMARY4vetxray_vetx.EWRporta2_widlinks.widopt_id1 
  15. SELECT session_activity.*
    	,
    	user.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    WHERE (session_activity.view_date > 1571623519)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.002479
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 1068Using where
    SIMPLEusereq_refPRIMARYPRIMARY4vetxray_vetx.session_activity.user_id1 
  16. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	last_post_user.gender AS last_post_gender,
    	last_post_user.avatar_date AS last_post_avatar_date,
    	last_post_user.gravatar AS last_post_gravatar,
    	IF(last_post_user.username IS NULL, thread.last_post_username, last_post_user.username) AS last_post_username,
    	node.title AS node_title, node.node_name,
    	forum.*,
    	forum.last_post_id AS forum_last_post_id,
    	forum.last_post_date AS forum_last_post_date,
    	forum.last_post_user_id AS forum_last_post_user_id,
    	forum.last_post_username AS forum_last_post_username,
    	forum.last_thread_title AS forum_last_thread_title,
    	thread.last_post_id,
    	thread.last_post_date,
    	thread.last_post_user_id,
    	thread.last_post_username,
    	NULL AS thread_read_date,
    	0 AS thread_is_watched,
    	0 AS user_post_count,
    permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = thread.user_id)
    	LEFT JOIN xf_user AS last_post_user ON
    		(last_post_user.user_id = thread.last_post_user_id)
    	LEFT JOIN xf_node AS node ON
    		(node.node_id = thread.node_id)
    	LEFT JOIN xf_forum AS forum ON
    		(forum.node_id = thread.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 = thread.node_id)
    WHERE (thread.discussion_type <> 'redirect') AND (thread.discussion_state IN ('visible')) AND (thread.last_post_date > 1568178319) AND (forum.find_new = 1) AND thread.node_id IN ('2', '5', '6', '8', '10', '9')
    ORDER BY thread.last_post_date DESC
     LIMIT 40
    Run Time: 0.002549
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangenode_id_last_post_date,node_id_sticky_state_last_post,last_post_datelast_post_date4 125Using index condition; Using where; Using temporary; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4vetxray_vetx.thread.user_id1 
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4vetxray_vetx.thread.last_post_user_id1 
    SIMPLEforumALLPRIMARY   6Using where; Using join buffer (flat, BNL join)
    SIMPLEnodeeq_refPRIMARYPRIMARY4vetxray_vetx.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,vetxray_vetx.thread.node_id1Using where
  17. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'bb_code_tag_code', 'bb_code_tag_php', 'bb_code_tag_html', 'bb_code_tag_quote', 'bb_code_tag_attach', 'bb_code_tag_spoiler', 'EWRwidget_RawHtml', 'EWRwidget_UsersOnline', 'EWRwidget_Threads', 'EWRporta2_ArticleView', 'EWRporta2_Navtabs', 'dark_postrating', 'dark_postrating_member', 'dark_postrating_member_totals', 'message_user_info_extra', 'user_criteria_content', 'thread_list_item_icon_key', 'dark_postrating_member_notable_tabs', 'dark_postrating_account_wrapper', 'dark_postrating_navigation_visitor_tab', 'dark_postrating_visitor_panel', 'dark_postrating_member_card', 'dark_postrating_member_info', 'dark_postrating_message_user_info', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 1
    Run Time: 0.000334
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 26Using where

Included Files (111, XenForo Classes: 58)

  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/EWRporta2/Listener/Init.php
  29. library/XenForo/Router.php
  30. library/XenForo/Route/Filter.php
  31. library/XenForo/Route/Interface.php
  32. library/XenForo/Route/ResponseSuffix.php
  33. library/XenForo/Route/Prefix.php
  34. library/XenForo/Route/Prefix/Threads.php
  35. library/XenForo/RouteMatch.php
  36. library/XenForo/ControllerPublic/Thread.php
  37. library/XenForo/ControllerPublic/Abstract.php
  38. library/XenForo/Controller.php
  39. library/Dark/PostRating/EventListener.php
  40. library/EWRporta2/Listener/Controller.php
  41. library/EWRporta2/ControllerPublic/Thread.php
  42. library/XenForo/Input.php
  43. library/XenForo/Session.php
  44. library/Zend/Db.php
  45. library/Zend/Db/Adapter/Mysqli.php
  46. library/Zend/Db/Adapter/Abstract.php
  47. library/Zend/Db/Select.php
  48. library/Zend/Db/Expr.php
  49. library/Zend/Db/Profiler.php
  50. library/Zend/Db/Statement/Mysqli.php
  51. library/Zend/Db/Statement.php
  52. library/Zend/Db/Statement/Interface.php
  53. library/XenForo/Helper/Ip.php
  54. library/XenForo/Visitor.php
  55. library/XenForo/Model/User.php
  56. library/EWRporta2/Listener/Model.php
  57. library/Dark/PostRating/Model/User.php
  58. library/EWRporta2/Model/User.php
  59. library/Zend/Db/Profiler/Query.php
  60. library/XenForo/Permission.php
  61. library/XenForo/Helper/Php.php
  62. library/XenForo/Phrase.php
  63. library/XenForo/Locale.php
  64. library/EWRporta2/Model/Perms.php
  65. library/XenForo/ControllerHelper/ForumThreadPost.php
  66. library/XenForo/ControllerHelper/Abstract.php
  67. library/XenForo/Model/Thread.php
  68. library/Dark/PostRating/Model/Thread.php
  69. library/XenForo/Model/Forum.php
  70. library/XenForo/Helper/String.php
  71. library/XenForo/Model/Post.php
  72. library/Dark/PostRating/Model/Post.php
  73. library/EWRporta2/Model/Post.php
  74. library/EWRporta2/Model/Articles.php
  75. library/Dark/PostRating/Model.php
  76. library/XenForo/Model/Attachment.php
  77. library/XenForo/Model/Node.php
  78. library/XenForo/Route/Prefix/Forums.php
  79. library/XenForo/ControllerResponse/View.php
  80. library/XenForo/ControllerResponse/Abstract.php
  81. library/EWRporta2/Model/Catlinks.php
  82. library/EWRporta2/Model/Categories.php
  83. library/XenForo/Helper/Cookie.php
  84. library/XenForo/ViewRenderer/HtmlPublic.php
  85. library/XenForo/ViewRenderer/Abstract.php
  86. library/XenForo/Template/Public.php
  87. library/XenForo/Template/Abstract.php
  88. library/EWRporta2/ViewPublic/ArticleView.php
  89. library/XenForo/ViewPublic/Base.php
  90. library/XenForo/View.php
  91. library/EWRporta2/Listener/ViewPublic.php
  92. library/EWRporta2/ViewPublic/Global.php
  93. library/EWRporta2/Model/Layouts.php
  94. library/EWRporta2/Model/Widlinks.php
  95. library/XenForo/BbCode/Parser.php
  96. library/XenForo/BbCode/Formatter/Base.php
  97. library/EWRporta2/Listener/BbCode.php
  98. library/EWRporta2/BbCode/Formatter.php
  99. library/EWRporta2/Widget/UsersOnline.php
  100. library/XenForo/Model/Session.php
  101. library/Dark/PostRating/Model/Session.php
  102. library/EWRporta2/Widget/Threads.php
  103. library/XenForo/ViewPublic/Helper/Message.php
  104. library/XenForo/BbCode/TextWrapper.php
  105. library/XenForo/Route/Prefix/Members.php
  106. library/EWRporta2/Listener/NavTabs.php
  107. library/EWRporta2/Listener/Template.php
  108. library/XenForo/Route/Prefix/Posts.php
  109. library/XenForo/Model/Avatar.php
  110. library/XenForo/Debug.php
  111. library/XenForo/ViewRenderer/Json.php