Page Time: 0.3215s

Memory: 10.1890 MB (Peak: 10.9975 MB)

Queries (20, time: 0.0461s, 14.3%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'cron', 'simpleCache', 'routesPublic', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.005360
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY77 20Using where
  2. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('ads', 'adPositions', 'adTypes')
    Run Time: 0.000909
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryrangePRIMARYPRIMARY77 3Using where
  3. SELECT cache_value
    FROM xf_permission_combination
    WHERE permission_combination_id = ?
    Params: 1
    Run Time: 0.001074
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  4. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 7711bf404fde402c897a948b5b23cfa5, a:5:{s:12:"sessionStart";i:1501057917;s:2:"ip";i:911292670;s:9:"userAgent";s:39:"CCBot/2.0 (http://commoncrawl.org/faq/)";s:7:"isRobot";b:0;s:16:"previousActivity";i:0;}, 1501061517
    Run Time: 0.000863
  5. INSERT INTO xf_session_activity
    	(user_id, unique_key, ip, controller_name, controller_action, view_state, params, view_date)
    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)
    Params: 0, 911292670, 911292670, EWRporta_ControllerPublic_Portal, Index, valid, , 1501057917
    Run Time: 0.001165
  6. SELECT *
    	FROM EWRporta_layouts
    WHERE layout_id = ?
    Params: portal
    Run Time: 0.001140
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_layoutsconstPRIMARYPRIMARY77const1 
  7. SELECT *, 'disabled' AS position
    	FROM EWRporta_blocks
    WHERE active = 1
    ORDER BY block_id ASC
    Run Time: 0.001269
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_blocksindex PRIMARY77 10Using where
  8. SELECT * FROM EWRporta_caches
    Run Time: 0.001572
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_cachesALL    9 
  9. SELECT * FROM EWRporta_options
    Run Time: 0.001441
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRporta_optionsALL    29 
  10. SELECT xf_thread.*, xf_user.*, xf_post.message, xf_post.attach_count, xf_node.title AS node_title, 
    	IF(xf_user.username IS NULL, xf_thread.username, xf_user.username) AS username,
    	IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) AS promote_date,
    	EWRporta_promotes.promote_icon, EWRporta_promotes.promote_data
    FROM xf_thread
    	LEFT JOIN xf_user ON (xf_user.user_id = xf_thread.user_id)
    	INNER JOIN xf_post ON (xf_post.post_id = xf_thread.first_post_id)
    	INNER JOIN xf_node ON (xf_node.node_id = xf_thread.node_id)
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE (xf_thread.node_id IN ('1', '2') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    ORDER BY sticky DESC,  promote_date DESC
    LIMIT ?, ?
    Params: 1501057917, 1501057917, 10, 5
    Run Time: 0.014034
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_nodeALLPRIMARY   9Using temporary; Using filesort
    SIMPLExf_threadrefnode_id_last_post_date,node_id_sticky_last_post_datenode_id_last_post_date4olyc_xf_db.xf_node.node_id1Using where
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4olyc_xf_db.xf_thread.thread_id1Using where
    SIMPLExf_posteq_refPRIMARYPRIMARY4olyc_xf_db.xf_thread.first_post_id1 
    SIMPLExf_usereq_refPRIMARYPRIMARY4olyc_xf_db.xf_thread.user_id1 
  11. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (256)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.002171
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date81const,const7Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4olyc_xf_db.attachment.data_id1 
  12. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (255)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.001477
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date81const,const8Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4olyc_xf_db.attachment.data_id1 
  13. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (252)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.001498
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date81const,const2Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4olyc_xf_db.attachment.data_id1 
  14. SELECT attachment.*,
    	data.filename, data.file_size, data.file_hash, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xf_attachment AS attachment
    INNER JOIN xf_attachment_data AS data ON
    	(data.data_id = attachment.data_id)
    WHERE attachment.content_type = ?
    	AND attachment.content_id IN (251)
    ORDER BY attachment.content_id, attachment.attach_date
    Params: post
    Run Time: 0.001562
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEattachmentrefcontent_type_id_datecontent_type_id_date81const,const5Using where
    SIMPLEdataeq_refPRIMARYPRIMARY4olyc_xf_db.attachment.data_id1 
  15. SELECT COUNT(*) AS total
    	FROM xf_thread
    	LEFT JOIN EWRporta_promotes ON (EWRporta_promotes.thread_id = xf_thread.thread_id)
    
    WHERE (xf_thread.node_id IN ('1', '2') OR EWRporta_promotes.promote_date < ?)
    	AND xf_thread.discussion_state = 'visible'
    	AND IF(EWRporta_promotes.promote_date IS NULL, xf_thread.post_date, EWRporta_promotes.promote_date) < ?
    Params: 1501057917, 1501057917
    Run Time: 0.001817
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_threadALLnode_id_last_post_date,node_id_sticky_last_post_date   19Using where
    SIMPLEEWRporta_promoteseq_refPRIMARYPRIMARY4olyc_xf_db.xf_thread.thread_id1Using where
  16. SELECT thread.*
    	,
    	user.*, IF(user.username IS NULL, thread.username, user.username) AS username,
    	node.title AS node_title,
    	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)
    	INNER JOIN xf_node AS node ON
    		(node.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_state IN ('visible')) AND (thread.last_post_date > 1498638717)
    ORDER BY thread.last_post_date DESC
     LIMIT 5
    Run Time: 0.002305
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEthreadrangenode_id_last_post_date,node_id_sticky_last_post_date,last_post_datelast_post_date4 1Using where
    SIMPLEnodeeq_refPRIMARYPRIMARY4olyc_xf_db.thread.node_id1 
    SIMPLEpermissioneq_refPRIMARYPRIMARY85const,const,olyc_xf_db.node.node_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4olyc_xf_db.thread.user_id1 
  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', 'EWRblock_RecentNews', 'EWRblock_SharePage', 'EWRblock_FaceBook', 'EWRblock_Twitter', 'EWRblock_RecentThreads', 'EWRporta_Portal', 'EWRporta_Navtabs', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.003440
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY160 11Using where
  18. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('home')
    Params: 1
    Run Time: 0.000609
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY231const,const1 
  19. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('xfa_dynamic_favicon_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 2, 1
    Run Time: 0.001698
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  20. SELECT *
    FROM merc_ad_last_view
    ORDER BY view_date ASC
    Run Time: 0.000673
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmerc_ad_last_viewsystem    0const row not found

Included Files (117, XenForo Classes: 49)

  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.php
  17. library/XenForo/Model/DataRegistry.php
  18. library/XenForo/CodeEvent.php
  19. library/Zend/Db.php
  20. library/Zend/Db/Adapter/Mysqli.php
  21. library/Zend/Db/Adapter/Abstract.php
  22. library/Zend/Db/Select.php
  23. library/Zend/Db/Expr.php
  24. library/Zend/Db/Profiler.php
  25. library/Zend/Db/Statement/Mysqli.php
  26. library/Zend/Db/Statement.php
  27. library/Zend/Db/Statement/Interface.php
  28. library/Zend/Db/Profiler/Query.php
  29. library/XenForo/Options.php
  30. library/XenForo/Link.php
  31. library/XenForo/Template/Helper/Core.php
  32. library/EWRporta/Listener/Init.php
  33. library/EWRporta/Helper/Index.php
  34. library/Merc/AdManager/Listener/InitDependencies.php
  35. library/XenPlus/Listener/InitDependencies.php
  36. library/XenPlus/Listener/Abstract.php
  37. library/XenForo/Router.php
  38. library/XenForo/Route/ResponseSuffix.php
  39. library/XenForo/Route/Interface.php
  40. library/XenForo/Route/Prefix.php
  41. library/EWRporta/Route/Index.php
  42. library/XenForo/Route/BuilderInterface.php
  43. library/EWRporta/Listener/Route.php
  44. library/XenForo/RouteMatch.php
  45. library/NodesAsTabs/Listen.php
  46. library/EWRporta/ControllerPublic/Portal.php
  47. library/XenForo/ControllerPublic/Abstract.php
  48. library/XenForo/Controller.php
  49. library/EWRporta/Listener/Controller.php
  50. library/EWRutiles/Listener/Controller.php
  51. library/XenForo/Input.php
  52. library/XenForo/Session.php
  53. library/XenForo/Visitor.php
  54. library/XenForo/Model/User.php
  55. library/EWRporta/Listener/Model.php
  56. library/Merc/AdManager/Listener/LoadClass.php
  57. library/XenPlus/Listener/LoadClass.php
  58. library/EWRutiles/Listener/Model.php
  59. library/XenForo/Permission.php
  60. library/XenForo/Phrase.php
  61. library/XenForo/Locale.php
  62. library/EWRporta/Model/Perms.php
  63. library/EWRporta/Route/Portal.php
  64. library/EWRporta/Route/Custom.php
  65. library/XenForo/ControllerResponse/View.php
  66. library/XenForo/ControllerResponse/Abstract.php
  67. library/XenForo/Helper/Cookie.php
  68. library/XenForo/ViewRenderer/HtmlPublic.php
  69. library/XenForo/ViewRenderer/Abstract.php
  70. library/XenForo/Template/Public.php
  71. library/XenForo/Template/Abstract.php
  72. library/EWRporta/ViewPublic/Portal.php
  73. library/XenForo/ViewPublic/Base.php
  74. library/XenForo/View.php
  75. library/EWRporta/Listener/ViewPublic.php
  76. library/EWRporta/ViewPublic/Custom.php
  77. library/EWRporta/Model/Blocks.php
  78. library/EWRporta/Model/Layouts.php
  79. library/EWRporta/Model/Caches.php
  80. library/EWRporta/Model/Options.php
  81. library/EWRporta/Block/RecentNews.php
  82. library/XenForo/Model/Attachment.php
  83. library/EWRporta/Model/Attachment.php
  84. library/Merc/AdManager/Model/Attachment.php
  85. library/XenForo/Route/Prefix/Attachments.php
  86. library/XenForo/Helper/String.php
  87. library/XenForo/BbCode/Parser.php
  88. library/XenForo/BbCode/Formatter/Base.php
  89. library/EWRporta/Listener/BbCode.php
  90. library/EWRutiles/Listener/BbCode.php
  91. library/EWRporta/BbCode/Formatter.php
  92. library/EWRutiles/BbCode/Formatter.php
  93. library/XenForo/ViewPublic/Helper/Message.php
  94. library/XenForo/BbCode/TextWrapper.php
  95. library/XfAddOns/DynamicFavicon/Template/Hook.php
  96. library/EWRporta/Block/Twitter.php
  97. library/EWRporta/Block/RecentThreads.php
  98. library/XenForo/Model/Thread.php
  99. library/XenForo/Route/Prefix/Members.php
  100. library/EWRporta/Listener/NavTabs.php
  101. library/NodesAsTabs/NavTabs.php
  102. library/NodesAsTabs/Model/Options.php
  103. library/XenForo/Model/Node.php
  104. library/XenForo/Route/Prefix/Pages.php
  105. library/XenForo/Route/Prefix/Threads.php
  106. library/EWRporta/Route/Thread.php
  107. library/quickReplyPreview/Listen.php
  108. library/Merc/AdManager/Listener/TemplatePostRender.php
  109. library/XenPlus/Listener/TemplatePostRender.php
  110. library/Merc/AdManager/Listener/TemplateHook.php
  111. library/XenPlus/Listener/TemplateHook.php
  112. library/EWRporta/Listener/Template.php
  113. library/XenPlus/Helper/Listener.php
  114. library/EWRutiles/Listener/Template.php
  115. library/XenForo/Debug.php
  116. library/Merc/AdManager/Model/Ad.php
  117. library/XenForo/ViewRenderer/Json.php