Page Time: 0.1225s

Memory: 12.5010 MB (Peak: 15.0777 MB)

Queries (14, time: 0.0070s, 5.7%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routeFiltersIn', 'routeFiltersOut', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'userTitleLadder', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.000355
    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.000167
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT profile_post.*
    	,
    	posting_user.*,
    	IF(posting_user.username IS NULL, profile_post.username, posting_user.username) AS username,
    	receiving_user.username
    		AS profile_username,
    	receiving_user.gender
    		AS profile_gender,
    	receiving_user.user_state
    		AS profile_user_state,
    	receiving_user.user_group_id
    		AS profile_user_group_id,
    	receiving_user.secondary_group_ids
    		AS profile_secondary_group_ids,
    	receiving_user.display_style_group_id
    		AS profile_display_style_group_id,
    	receiving_user.is_banned
    		AS profile_is_banned,
    	receiving_user.is_admin
    		AS profile_is_admin,
    	receiving_user.is_moderator
    		AS profile_is_moderator,
    	receiving_user.avatar_date
    		AS profile_avatar_date,
    	receiving_user.gravatar
    		AS profile_gravatar,
    	receiving_user.warning_points
    		AS profile_warning_points,
    	receiving_user.permission_combination_id
    		AS profile_permission_combination_id,
    	receiving_user_privacy.allow_view_profile
    		AS profile_allow_view_profile,
    	receiving_user_privacy.allow_post_profile
    		AS profile_allow_post_profile,
    	receiving_user_privacy.allow_send_personal_conversation
    		AS profile_allow_send_personal_conversation,
    	receiving_user_privacy.allow_view_identities
    		AS profile_allow_view_identities,
    	receiving_user_privacy.allow_receive_news_feed
    		AS profile_allow_allow_receive_news_feed,
    	IF (receiving_user_follow.follow_user_id, 1, 0)
    		AS following_0
    FROM xf_profile_post AS profile_post
    
    	LEFT JOIN xf_user AS posting_user ON
    		(posting_user.user_id = profile_post.user_id)
    	LEFT JOIN xf_user AS receiving_user ON
    		(receiving_user.user_id = profile_post.profile_user_id)
    	LEFT JOIN xf_user_privacy AS receiving_user_privacy ON
    		(receiving_user_privacy.user_id = profile_post.profile_user_id)
    	LEFT JOIN xf_user_follow AS receiving_user_follow ON
    		(receiving_user_follow.user_id = profile_post.profile_user_id AND follow_user_id = 0)
    WHERE (profile_post.message_state IN ('visible'))
    ORDER BY profile_post.post_date DESC
     LIMIT 10
    Run Time: 0.001337
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postindex post_date4 10Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4ih54800_lasers.profile_post.user_id1 
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4ih54800_lasers.profile_post.profile_user_id1 
    SIMPLEreceiving_user_privacyeq_refPRIMARYPRIMARY4ih54800_lasers.profile_post.profile_user_id1 
    SIMPLEreceiving_user_followeq_refPRIMARY,follow_user_idPRIMARY8ih54800_lasers.profile_post.profile_user_id,const1Using index
  4. SELECT user_ban.*,
    	user.username,
    	banning_user.username AS banning_username
    FROM xf_user_ban AS user_ban
    LEFT JOIN xf_user AS user ON (user.user_id = user_ban.user_id)
    LEFT JOIN xf_user AS banning_user ON (banning_user.user_id = user_ban.ban_user_id)
    WHERE user_ban.user_id = ?
    Params: 17255
    Run Time: 0.000320
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_banconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEbanning_userconstPRIMARYPRIMARY4const1 
  5. SELECT user_ban.*,
    	user.username,
    	banning_user.username AS banning_username
    FROM xf_user_ban AS user_ban
    LEFT JOIN xf_user AS user ON (user.user_id = user_ban.user_id)
    LEFT JOIN xf_user AS banning_user ON (banning_user.user_id = user_ban.ban_user_id)
    WHERE user_ban.user_id = ?
    Params: 17255
    Run Time: 0.000183
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuser_banconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEbanning_userconstPRIMARYPRIMARY4const1 
  6. SELECT thread.*
    	,
    	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,
    permission.cache_value AS node_permission_cache
    FROM xf_thread AS thread FORCE INDEX (last_post_date)
    
    	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 > 1526969996) AND (forum.find_new = 1)
    ORDER BY thread.last_post_date DESC
     LIMIT 10
    Run Time: 0.001135
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangelast_post_datelast_post_date4 14Using where
    SIMPLEforumeq_refPRIMARYPRIMARY4ih54800_lasers.thread.node_id1Using where
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4ih54800_lasers.thread.last_post_user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4ih54800_lasers.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,ih54800_lasers.thread.node_id1Using where
  7. SELECT *
    FROM xf_node
    WHERE display_in_list = 1
    ORDER BY lft ASC
    Run Time: 0.000224
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLdisplay_in_list   63Using where; Using filesort
  8. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.000191
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const73Using where
  9. SELECT forum.*
    	,
    		NULL AS forum_read_date
    FROM xf_forum AS forum
    INNER JOIN xf_node AS node ON (node.node_id = forum.node_id)
    
    WHERE forum.node_id IN (52, 47, 50, 51, 53, 13, 14, 15, 16, 17, 18, 19, 20, 70, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 66, 67, 57, 56, 55, 58, 59, 60, 62, 61, 63, 64, 68, 33, 40, 34, 35, 36, 37, 38, 39, 42, 74, 75, 6, 9, 73, 8, 11, 10)
    Run Time: 0.000842
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   56Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4ih54800_lasers.forum.node_id1Using index
  10. 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 > 1529561096)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001086
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 16Using where
    SIMPLEusereq_refPRIMARYPRIMARY4ih54800_lasers.session_activity.user_id1 
  11. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000210
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  12. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 22974f10ecfe3eaa0aed4076ede3ce30, a:7:{s:12:"sessionStart";i:1529561996;s:2:"ip";s:4:"6";s:11:"sessionCsrf";s:16:"bM2-cG8-ZWzXJMRF";s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";a:2:{s:6:"result";b:0;s:7:"version";i:1522947735;}}, 1529565596
    Run Time: 0.000246
  13. 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, 6, XenForo_ControllerPublic_Forum, Index, valid, node_name=, 1529561996,
    Run Time: 0.000162
  14. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'node_forum_level_n', 'node_category_level_2', 'node_forum_level_2', 'node_category_level_1', 'forum_list', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 15, 2
    Run Time: 0.000557
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 7Using where

Included Files (85, XenForo Classes: 64)

  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/XenForo/Router.php
  33. library/XenForo/Route/Filter.php
  34. library/XenForo/Route/Interface.php
  35. library/XenForo/Route/ResponseSuffix.php
  36. library/XenForo/Route/Prefix.php
  37. library/XenForo/Route/Prefix/Index.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Index.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/ExternalExtended/Listener.php
  43. library/XenForo/Input.php
  44. library/XenForo/Session.php
  45. library/XenForo/Helper/Ip.php
  46. library/XenForo/Visitor.php
  47. library/XenForo/Model/User.php
  48. library/XenForo/Permission.php
  49. library/XenForo/Helper/Php.php
  50. library/XenForo/Phrase.php
  51. library/XenForo/Locale.php
  52. library/XenForo/ControllerResponse/ReroutePath.php
  53. library/XenForo/ControllerResponse/Abstract.php
  54. library/XenForo/Route/Prefix/Forums.php
  55. library/XenForo/ControllerPublic/Forum.php
  56. library/XenForo/Model/ProfilePost.php
  57. library/XenForo/Model/UserProfile.php
  58. library/XenForo/Model/Banning.php
  59. library/XenForo/Model/Thread.php
  60. library/XenForo/Model/Forum.php
  61. library/XenForo/Helper/String.php
  62. library/XenForo/Helper/Discussion.php
  63. library/XenForo/Model/Node.php
  64. library/XenForo/NodeHandler/Category.php
  65. library/XenForo/NodeHandler/Abstract.php
  66. library/XenForo/NodeHandler/Forum.php
  67. library/XenForo/Model/Category.php
  68. library/XenForo/Model/Session.php
  69. library/XenForo/ControllerResponse/View.php
  70. library/XenForo/Helper/Cookie.php
  71. library/XenForo/ViewRenderer/HtmlPublic.php
  72. library/XenForo/ViewRenderer/Abstract.php
  73. library/XenForo/Template/Public.php
  74. library/XenForo/Template/Abstract.php
  75. library/XenForo/ViewPublic/Forum/List.php
  76. library/XenForo/ViewPublic/Base.php
  77. library/XenForo/View.php
  78. library/XenForo/ViewPublic/Helper/Node.php
  79. library/XenForo/Route/Prefix/Members.php
  80. library/XenForo/Route/Prefix/Categories.php
  81. library/XenForo/Route/Prefix/Posts.php
  82. library/XenForo/Model/Avatar.php
  83. library/XenForo/Route/Prefix/ProfilePosts.php
  84. library/XenForo/Debug.php
  85. library/XenForo/ViewRenderer/Json.php