Page Time: 0.0349s

Memory: 4.7189 MB (Peak: 5.8714 MB)

Queries (8, time: 0.0038s, 11.0%)

  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.000951
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY27 26Using index condition
  2. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.000222
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT resource.*
    	,
    		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,
    		attachment.attachment_id,
    		attachment.view_count AS attachment_view_count,
    		attachment_data.filename AS attachment_filename,
    		attachment_data.file_size AS attachment_file_size,
    		feature.feature_date,
    		0 AS is_watched,
    		0 AS last_download_date
    FROM xf_resource AS resource
    	
    		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_attachment AS attachment ON
    			(attachment.content_type = 'resource_version' AND attachment.content_id = version.resource_version_id)
    		LEFT JOIN xf_attachment_data AS attachment_data ON
    			(attachment_data.data_id = attachment.data_id)
    		LEFT JOIN xf_resource_feature AS feature ON
    			(feature.resource_id = resource.resource_id)
    WHERE resource.resource_id = ?
    Params: 6
    Run Time: 0.001220
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourceconstPRIMARYPRIMARY4const1 
    SIMPLEversionconstPRIMARYPRIMARY4const1 
    SIMPLEuserconstPRIMARYPRIMARY4const1 
    SIMPLEuser_profileconstPRIMARYPRIMARY4const1 
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,const1Using where
    SIMPLEattachment_dataeq_refPRIMARYPRIMARY4SFN_xenforo.attachment.data_id1 
    SIMPLEfeatureconstPRIMARYPRIMARY4const1 
  4. SELECT resource_category.*
    	,
    	permission.cache_value AS category_permission_cache
    FROM xf_resource_category AS resource_category
    
    	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_category.resource_category_id)
    WHERE resource_category.resource_category_id = ?
    Params: 3
    Run Time: 0.000324
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresource_categoryconstPRIMARYPRIMARY4const1 
    SIMPLEpermissionconstPRIMARYPRIMARY35const,const,const1 
  5. SELECT version.*
    	,
    	attachment.attachment_id,
    	attachment.view_count AS attachment_view_count,
    	attachment_data.filename AS attachment_filename,
    	attachment_data.file_size AS attachment_file_size,
    	resource.*,
    	resource.download_count AS resource_download_count, version.download_count,
    	resource.rating_count AS resource_rating_count, version.rating_count,
    	resource.rating_sum AS resource_rating_sum, version.rating_sum
    FROM xf_resource_version AS version
    
    	LEFT JOIN xf_attachment AS attachment ON
    		(attachment.content_type = 'resource_version' AND attachment.content_id = version.resource_version_id)
    	LEFT JOIN xf_attachment_data AS attachment_data ON
    		(attachment_data.data_id = attachment.data_id)
    	INNER JOIN xf_resource AS resource ON
    		(resource.resource_id = version.resource_id)
    WHERE (version.resource_id = 6) AND (version.version_state IN ('visible'))
    ORDER BY version.release_date DESC
    Run Time: 0.000564
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEresourceconstPRIMARYPRIMARY4const1 
    SIMPLEversionrefresource_id_release_dateresource_id_release_date4const1Using where
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date31const,SFN_xenforo.version.resource_version_id3Using where
    SIMPLEattachment_dataeq_refPRIMARYPRIMARY4SFN_xenforo.attachment.data_id1 
  6.             SELECT field.*
                ,
                    field_value.field_value
                FROM xf_resource_field AS field
                
                    LEFT JOIN xf_resource_field_value AS field_value ON
                    (field_value.field_id = field.field_id AND field_value.resource_id = 6)
                WHERE (field.viewable_information = 1)
                ORDER BY field.materialized_order
    Run Time: 0.000280
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEfield_valuesystemPRIMARY,field_id   0const row not found
    SIMPLEfieldALL    1Using where; Using filesort
  7. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: b8f613599ef3611fa932b44a6e155fc5, , 1511289941
    Run Time: 0.000159
  8. 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, , , XenResource_ControllerPublic_Resource, History, valid, resource_id=6, 1511286341,
    Run Time: 0.000107

Included Files (132, XenForo Classes: 52)

  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/20140612.php
  34. library/Waindigo/Listener/ControllerPreDispatch/20140603.php
  35. library/WidgetFramework/Listener.php
  36. library/WidgetFramework/Option.php
  37. library/XenResource/Listener/Proxy.php
  38. library/NodesAsTabs/Listen.php
  39. library/bdImage/Listener.php
  40. library/Siropu/AdsManager/Listener.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/WidgetFramework/Route/Filter/PageX.php
  47. library/XenResource/Route/Prefix/Resources.php
  48. library/XenForo/RouteMatch.php
  49. library/XenResource/ControllerPublic/Resource.php
  50. library/XenForo/ControllerPublic/Abstract.php
  51. library/XenForo/Controller.php
  52. library/Waindigo/CustomFields/Listener/LoadClass.php
  53. library/Waindigo/Listener/LoadClass.php
  54. library/Waindigo/Listener/LoadClass/20140604.php
  55. library/Dark/PostRating/EventListener.php
  56. library/Waindigo/CustomFields/Extend/XenResource/ControllerPublic/Resource.php
  57. library/XenForo/Input.php
  58. library/XenForo/Session.php
  59. library/XenForo/Helper/Ip.php
  60. library/XenForo/Visitor.php
  61. library/XenForo/Model/User.php
  62. library/Dark/PostRating/Model/User.php
  63. library/WidgetFramework/XenForo/Model/User.php
  64. library/XenResource/Listener/Proxy/ModelUser.php
  65. library/XenForo/Permission.php
  66. library/XenForo/Phrase.php
  67. library/XenForo/Locale.php
  68. library/XenResource/Model/Resource.php
  69. library/Waindigo/CustomFields/Extend/XenResource/Model/Resource.php
  70. library/Waindigo/Listener/Template/20140612.php
  71. library/Waindigo/Listener/TemplateHook/20130522.php
  72. library/Waindigo/Listener/TemplatePostRender/20130522.php
  73. library/Waindigo/Listener/TemplateCreate/20130522.php
  74. library/XenResource/ControllerHelper/Resource.php
  75. library/XenForo/ControllerHelper/Abstract.php
  76. library/XenResource/Model/Category.php
  77. library/XenForo/Helper/String.php
  78. library/XenResource/Model/Update.php
  79. library/XenResource/Model/Version.php
  80. library/XenForo/Model/Attachment.php
  81. library/XenForo/Route/Prefix/Attachments.php
  82. library/XenForo/ControllerResponse/View.php
  83. library/XenForo/ControllerResponse/Abstract.php
  84. library/Waindigo/CustomFields/Model/ResourceField.php
  85. library/XenForo/Helper/Cookie.php
  86. library/XenForo/ViewRenderer/HtmlPublic.php
  87. library/XenForo/ViewRenderer/Abstract.php
  88. library/XenForo/Template/Public.php
  89. library/XenForo/Template/Abstract.php
  90. library/WidgetFramework/Core.php
  91. library/XenForo/Model/Moderator.php
  92. library/XenResource/Listener/Proxy/ModelModerator.php
  93. library/WidgetFramework/Model/Widget.php
  94. library/WidgetFramework/Helper/Sort.php
  95. library/WidgetFramework/WidgetRenderer.php
  96. library/XenForo/ViewPublic/Base.php
  97. library/XenForo/View.php
  98. library/WidgetFramework/XenForo/View1.php
  99. library/Waindigo/CustomFields/Listener/TemplateCreate.php
  100. library/XenResource/Listener/Template.php
  101. library/Waindigo/CustomFields/Extend/XenResource/ViewPublic/Resource/View.php
  102. library/WidgetFramework/XenForo/View2.php
  103. library/XenForo/Route/Prefix/Members.php
  104. library/Siropu/AdsManager/Helper/General.php
  105. library/NodesAsTabs/NavTabs.php
  106. library/NodesAsTabs/Model/Options.php
  107. library/XenForo/Model/Node.php
  108. library/XenForo/Template/FileHandler.php
  109. library/XenForo/Helper/File.php
  110. internal_data/templates/S.4,L.1,nat_childlinks.php
  111. library/XenForo/Route/Prefix/Categories.php
  112. library/XenForo/Route/Prefix/Forums.php
  113. library/Waindigo/CustomFields/Listener/TemplatePostRender.php
  114. library/XenForo/Route/Prefix/Pages.php
  115. library/XenForo/Route/Prefix/LinkForums.php
  116. library/WidgetFramework/Route/Prefix/WidgetPages.php
  117. library/WidgetFramework/Template/Extended.php
  118. internal_data/templates/S.4,L.1,resource_view.php
  119. library/XenResource/ViewPublic/Helper/Resource.php
  120. library/Waindigo/CustomFields/Listener/TemplateHook.php
  121. library/Siropu/AdsManager/Model/Ads.php
  122. internal_data/templates/S.4,L.1,resource_history.php
  123. library/WidgetFramework/WidgetRenderer/Empty.php
  124. library/XenForo/Debug.php
  125. internal_data/templates/S.4,L.1,PAGE_CONTAINER.php
  126. library/XenForo/Helper/Criteria.php
  127. internal_data/templates/S.4,L.1,siropu_ads_manager_ad_type_banner.php
  128. internal_data/templates/S.4,L.1,siropu_ads_manager_ad_type_code.php
  129. internal_data/templates/S.4,L.1,resources_tab_links.php
  130. internal_data/templates/S.4,L.1,nat_linkstemplate.php
  131. library/XenForo/ViewRenderer/Json.php
  132. internal_data/templates/S.4,L.1,nat_bodyjs.php