Page Time: 0.2524s

Memory: 14.9860 MB (Peak: 22.6174 MB)

Queries (18, time: 0.0183s, 7.2%)

  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.000541
    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.000176
    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.000762
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEprofile_postindex post_date4 10Using where
    SIMPLEposting_usereq_refPRIMARYPRIMARY4terrylove_xenforo.profile_post.user_id1 
    SIMPLEreceiving_usereq_refPRIMARYPRIMARY4terrylove_xenforo.profile_post.profile_user_id1 
    SIMPLEreceiving_user_privacyeq_refPRIMARYPRIMARY4terrylove_xenforo.profile_post.profile_user_id1 
    SIMPLEreceiving_user_followeq_refPRIMARY,follow_user_idPRIMARY8terrylove_xenforo.profile_post.profile_user_id,const1Using index
  4. 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,
    	uix_last_post_user.avatar_date AS uix_last_post_user_avatar_date,
    	uix_last_post_user.username AS uix_last_post_user_username,
    	uix_last_post_user.avatar_width AS uix_last_post_user_avatar_width,
    	uix_last_post_user.avatar_height AS uix_last_post_user_avatar_height,
    	uix_last_post_user.gravatar AS uix_last_post_user_gravatar,
    	uix_last_post_user.gender AS uix_last_post_user_gender,
    	uix_last_post_user.is_banned AS uix_last_post_user_is_banned
    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)LEFT JOIN xf_user AS uix_last_post_user ON (uix_last_post_user.user_id = thread.last_post_user_id)
    WHERE (thread.discussion_type <> 'redirect') AND (thread.discussion_state IN ('visible')) AND (thread.last_post_date > 1472187693) AND (forum.find_new = 1)
    ORDER BY thread.last_post_date DESC
     LIMIT 10
    Run Time: 0.001877
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangelast_post_datelast_post_date4 438Using where
    SIMPLEforumeq_refPRIMARYPRIMARY4terrylove_xenforo.thread.node_id1Using where
    SIMPLElast_post_usereq_refPRIMARYPRIMARY4terrylove_xenforo.thread.last_post_user_id1 
    SIMPLEnodeeq_refPRIMARYPRIMARY4terrylove_xenforo.forum.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,terrylove_xenforo.forum.node_id1 
    SIMPLEuix_last_post_usereq_refPRIMARYPRIMARY4terrylove_xenforo.thread.last_post_user_id1 
  5. SELECT *
    FROM xf_node
    WHERE display_in_list = 1
    ORDER BY lft ASC
    Run Time: 0.000242
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_noderefdisplay_in_listdisplay_in_list1const18Using where
  6. SELECT content_id, cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = 'node'
    Params: 1
    Run Time: 0.000175
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentrefPRIMARYPRIMARY31const,const72Using where
  7. 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 (6, 3, 37, 38, 39, 5, 4, 22, 21, 16, 17, 18, 19, 7, 26, 27, 28, 30, 31, 29, 9, 13, 12, 10, 35, 32, 24, 11, 34, 23, 33, 8)
    Run Time: 0.000382
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEforumALLPRIMARY   34Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4terrylove_xenforo.forum.node_id1Using index
  8. SELECT user.user_id, username,avatar_date,gravatar,gender,is_banned
    FROM xf_user AS user
    WHERE user.user_id IN (75652, 75611, 75330, 7, 61686, 61511, 75447, 75651, 1, 49190, 36675, 44039, 64767, 75636, 71041, 74508, 31486, 74073, 74509, 75649, 74981, 75099, 71583, 24)
    Run Time: 0.000195
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuserrangePRIMARYPRIMARY4 24Using where
  9. 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 > 1474750893)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.010989
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityrangeview_dateview_date4 1624Using where
    SIMPLEusereq_refPRIMARYPRIMARY4terrylove_xenforo.session_activity.user_id1 
  10. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: boardTotals
    Run Time: 0.000198
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  11. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 4e87bebf827afb18a69131c63e7b5df9, a:8:{s:12:"sessionStart";i:1474779693;s:2:"ip";s:4:"6";s:11:"sessionCsrf";s:16:"FZeWFiqcIJEIpL9I";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:1474349086;}s:15:"isIpDiscouraged";a:2:{s:6:"result";b:0;s:7:"version";i:1470843870;}}, 1474783293
    Run Time: 0.000298
  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, 6, 6, XenForo_ControllerPublic_Forum, Index, valid, node_name=, 1474779693,
    Run Time: 0.000219
  13. SELECT resource.*
    	,
    	category.*, category.last_update AS category_last_update, resource.last_update,
    	version.version_string,
    	version.release_date,
    	version.download_url,
    	version.rating_count AS version_rating_count,
    	version.rating_sum AS version_rating_sum,
    	version.download_count AS version_download_count,
    	user.*, user_profile.*, IF(user.username IS NULL, resource.username, user.username) AS username,
    permission.cache_value AS category_permission_cache
    FROM xf_resource AS resource
    
    	LEFT JOIN xf_resource_category AS category ON
    		(category.resource_category_id = resource.resource_category_id)
    	LEFT JOIN xf_resource_version AS version ON
    		(version.resource_version_id = resource.current_version_id)
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = resource.user_id)
    	LEFT JOIN xf_user_profile AS user_profile ON
    		(user_profile.user_id = resource.user_id)
    LEFT JOIN xf_permission_cache_content AS permission
    	ON (permission.permission_combination_id = 1
    		AND permission.content_type = 'resource_category'
    		AND permission.content_id = resource.resource_category_id)
    WHERE (resource.resource_state IN ('visible'))
    ORDER BY resource.last_update DESC
     LIMIT 10
    Run Time: 0.001161
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourceALL    8Using where; Using filesort
    SIMPLEcategoryeq_refPRIMARYPRIMARY4terrylove_xenforo.resource.resource_category_id1 
    SIMPLEversioneq_refPRIMARYPRIMARY4terrylove_xenforo.resource.current_version_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4terrylove_xenforo.resource.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4terrylove_xenforo.resource.user_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY35const,const,terrylove_xenforo.resource.resource_category_id1 
  14. SELECT cache_value
    FROM xf_permission_cache_content
    WHERE permission_combination_id = ?
    	AND content_type = ?
    	AND content_id = ?
    Params: 1, resource_category, 2
    Run Time: 0.000144
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_cache_contentconstPRIMARYPRIMARY35const,const,const1 
  15. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: uix_nodeCache
    Run Time: 0.000135
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  16. SELECT *
    FROM uix_node_layout
    Run Time: 0.000169
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEuix_node_layoutALL    2 
  17. SELECT node.*,
    	node_field.uix_node_icons,
    	node_field.uix_styling,
    	node_field.collapsed
    FROM xf_node AS node
    LEFT JOIN uix_node_fields AS node_field ON (node.node_id = node_field.node_id)
    Run Time: 0.000379
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEnodeALL    36 
    SIMPLEnode_fieldeq_refPRIMARYPRIMARY4terrylove_xenforo.node.node_id1 
  18. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'node_forum_level_1', 'node_forum_level_2', 'node_category_level_1', 'forum_list', 'resources_tab_links', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 7, 1
    Run Time: 0.000258
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY60 7Using where

Included Files (103, 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/Audentio/UIX/Listener/CodeEvent.php
  33. library/XenResource/Listener/Proxy.php
  34. library/XenForo/Router.php
  35. library/XenForo/Route/Filter.php
  36. library/XenForo/Route/Interface.php
  37. library/XenForo/Route/ResponseSuffix.php
  38. library/XenForo/Route/Prefix.php
  39. library/XenForo/Route/Prefix/Index.php
  40. library/Dark/vB4Redir/EventListener/LoadClassRoutePrefix.php
  41. library/XenForo/RouteMatch.php
  42. library/XenForo/ControllerPublic/Index.php
  43. library/XenForo/ControllerPublic/Abstract.php
  44. library/XenForo/Controller.php
  45. library/XenForo/Input.php
  46. library/XenForo/Session.php
  47. library/XenForo/Helper/Ip.php
  48. library/XenForo/Visitor.php
  49. library/XenForo/Model/User.php
  50. library/Audentio/UIX/Model/User.php
  51. library/XenResource/Listener/Proxy/ModelUser.php
  52. library/XenForo/Permission.php
  53. library/XenForo/Helper/Php.php
  54. library/XenForo/Phrase.php
  55. library/XenForo/Locale.php
  56. library/XenForo/ControllerResponse/ReroutePath.php
  57. library/XenForo/ControllerResponse/Abstract.php
  58. library/XenForo/Route/Prefix/Forums.php
  59. library/Dark/vB4Redir/Route/Prefix/Forums.php
  60. library/XenForo/ControllerPublic/Forum.php
  61. library/Andy/SimilarThreads/Listener.php
  62. library/Audentio/UIX/ControllerPublic/Forum.php
  63. library/Andy/SimilarThreads/ControllerPublic/Forum.php
  64. library/XenForo/Model/ProfilePost.php
  65. library/XenForo/Model/UserProfile.php
  66. library/XenForo/Model/Thread.php
  67. library/Audentio/UIX/Model/Thread.php
  68. library/XenForo/Model/Forum.php
  69. library/XenForo/Helper/String.php
  70. library/XenForo/Model/Node.php
  71. library/Audentio/UIX/Model/Node.php
  72. library/XenForo/NodeHandler/Forum.php
  73. library/XenForo/NodeHandler/Abstract.php
  74. library/XenForo/NodeHandler/Category.php
  75. library/XenForo/Model/Category.php
  76. library/XenForo/Model/Session.php
  77. library/XenForo/ControllerResponse/View.php
  78. library/XenForo/Helper/Cookie.php
  79. library/XenResource/Listener/Template.php
  80. library/XenResource/Model/Resource.php
  81. library/XenResource/Model/Category.php
  82. library/XenResource/Model/Update.php
  83. library/XenResource/Model/Version.php
  84. library/XenForo/Model/PermissionCache.php
  85. library/XenForo/ViewRenderer/HtmlPublic.php
  86. library/XenForo/ViewRenderer/Abstract.php
  87. library/XenForo/Template/Public.php
  88. library/XenForo/Template/Abstract.php
  89. library/XenForo/ViewPublic/Forum/List.php
  90. library/XenForo/ViewPublic/Base.php
  91. library/XenForo/View.php
  92. library/XenForo/ViewPublic/Helper/Node.php
  93. library/Audentio/UIX/Model/NodeLayout.php
  94. library/XenForo/Route/Prefix/Members.php
  95. library/XenForo/Model/StyleProperty.php
  96. library/XenForo/Route/Prefix/Posts.php
  97. library/XenForo/Route/Prefix/Categories.php
  98. library/XenForo/Model/Avatar.php
  99. library/XenForo/Route/Prefix/ProfilePosts.php
  100. library/XenResource/Route/Prefix/Resources.php
  101. library/XenResource/ViewPublic/Helper/Resource.php
  102. library/XenForo/Debug.php
  103. library/XenForo/ViewRenderer/Json.php