Page Time: 0.2177s

Memory: 6.3621 MB (Peak: 7.4636 MB)

Queries (12, time: 0.0336s, 15.4%)

  1. SELECT data_key, data_value
    FROM xf_data_registry
    WHERE data_key IN ('options', 'languages', 'contentTypes', 'codeEventListeners', 'deferredRun', 'simpleCache', 'addOns', 'defaultStyleProperties', 'routesPublic', 'routeFiltersIn', 'routeFiltersOut', 'nodeTypes', 'bannedIps', 'discouragedIps', 'styles', 'displayStyles', 'userBanners', 'smilies', 'bbCode', 'threadPrefixes', 'trophyUserTitles', 'reportCounts', 'moderationCounts', 'userModerationCounts', 'notices', 'userFieldsInfo')
    Run Time: 0.001379
    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.000220
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT
    	user.*,
    	user_profile.*,
    	user_privacy.*,
    	news_feed.*
    FROM 
    (
        SELECT xf_news_feed.*
        FROM xf_news_feed  FORCE INDEX (event_date)
        INNER JOIN 
        (
            SELECT xf_news_feed.user_id, Max(xf_news_feed.news_feed_id) AS max_news_feed_id
            FROM xf_news_feed
            GROUP BY xf_news_feed.user_id
        )
        max_news 
        ON xf_news_feed.news_feed_id = max_news.max_news_feed_id
    )
    AS news_feed
    
    
    INNER JOIN xf_user AS user ON
    	(user.user_id = news_feed.user_id)
    INNER JOIN xf_user_profile AS user_profile ON
    	(user_profile.user_id = user.user_id)
    LEFT JOIN xf_user_follow AS user_follow ON
    	(user_follow.user_id = user.user_id
    	AND user_follow.follow_user_id = 0)
    INNER JOIN xf_user_privacy AS user_privacy ON
    	(user_privacy.user_id = user.user_id
    		
    			AND (user.user_id = 0
    				OR (
    					user_privacy.allow_receive_news_feed <> 'none'
    					AND IF(user_privacy.allow_receive_news_feed = 'members', 0, 1)
    					AND IF(user_privacy.allow_receive_news_feed = 'followed', user_follow.user_id IS NOT NULL, 1)
    				)
    			)
    		
    	)
    WHERE (user.user_state IN ('valid', 'email_confirm_edit')) AND (user.is_banned = 0)
            and content_type in ("post","profile_post","thread","wiki")
            and action not in ("like")
    --        and action in ("insert","location","avatar_change","update","occupation")
    ORDER BY news_feed.event_date DESC
     LIMIT 15
    Run Time: 0.001470
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY       Impossible WHERE noticed after reading const tables
    DERIVED       no matching row in const table
    DERIVED       no matching row in const table
  4. SELECT count_tr.thread_id, count_tr.cou, xf_thread.title, xf_thread.last_post_id
    FROM 
      (
        SELECT news_pt.thread_id, Count(*) AS cou
        FROM 
          (
            SELECT * FROM 
              (
                SELECT xf_news_feed.news_feed_id, xf_post.thread_id
                FROM xf_news_feed INNER JOIN xf_post ON xf_news_feed.content_id = xf_post.post_id
                WHERE (xf_news_feed.content_type="post")
              ) as news_post
            UNION SELECT * FROM 
              (
                SELECT xf_news_feed.news_feed_id, xf_thread.thread_id
                FROM xf_news_feed INNER JOIN xf_thread ON xf_news_feed.content_id = xf_thread.thread_id
                WHERE (xf_news_feed.content_type="thread")
              ) as news_tread
          ) as news_pt
        GROUP BY news_pt.thread_id
      ) as count_tr 
    INNER JOIN xf_thread ON count_tr.thread_id=xf_thread.thread_id
    ORDER BY count_tr.cou DESC
    Run Time: 0.000298
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY       Impossible WHERE noticed after reading const tables
    DERIVED       no matching row in const table
    DERIVED       no matching row in const table
    DERIVED       no matching row in const table
    UNION       no matching row in const table
    DERIVED       no matching row in const table
    UNION RESULT<union3,5>ALL      
  5. SELECT session_activity.*
    	,
    	user.*,
    	user_profile.*,
    	user_option.*
    FROM xf_session_activity AS session_activity
    
    	LEFT JOIN xf_user AS user ON
    		(user.user_id = session_activity.user_id)
    	LEFT JOIN xf_user_profile AS user_profile ON
    		(user_profile.user_id = user.user_id)
    	LEFT JOIN xf_user_option AS user_option ON
    		(user_option.user_id = user.user_id)
    WHERE (session_activity.view_date > 1714808132)
    ORDER BY session_activity.view_date DESC
    Run Time: 0.001143
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEsession_activityALLview_date   19Using where; Using filesort
    SIMPLEusereq_refPRIMARYPRIMARY4XENFORO.session_activity.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4XENFORO.user.user_id1 
    SIMPLEuser_optioneq_refPRIMARYPRIMARY4XENFORO.user.user_id1 
  6. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: e02ff4771c8664bf579129fe5cf06085, a:7:{s:12:"sessionStart";i:1714809032;s:2:"ip";i:58797404;s:9:"userAgent";s:103:"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)";s:7:"robotId";s:0:"";s:16:"previousActivity";i:0;s:10:"isIpBanned";b:0;s:13:"isDiscouraged";b:0;}, 1714812632
    Run Time: 0.000206
  7. 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, 58797404, 58797404, MyNewsFeed_ControllerPublic_RecentActivity, Index, valid, , 1714809032,
    Run Time: 0.000149
  8. SELECT page_name FROM EWRcarta_pages WHERE page_slug = 'index'
    Run Time: 0.000182
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEEWRcarta_pagesconstpage_slugpage_slug302const1 
  9. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('page_nav', 'ragtek_invite_visitortab', 'news_feed_page_my', 'EWRcarta_Navtabs', 'PAGE_CONTAINER')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 3
    Run Time: 0.019358
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledrangePRIMARYPRIMARY160 4Using where
  10. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('wiki')
    Params: 3
    Run Time: 0.000214
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY81const,const1 
  11. SELECT title, template_compiled
    FROM xf_template_compiled
    WHERE title IN ('bbm_js')
    	AND style_id = ?
    	AND language_id = ?
    Params: 1, 3
    Run Time: 0.000227
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_template_compiledconstPRIMARYPRIMARY160const,const,const1 
  12. SELECT xf_user.user_id, xf_user.username, xf_user.email, fam.field_value AS lname, name_fio.field_value AS fname, otch_fio.field_value AS mname
    FROM ((xf_user LEFT JOIN (SELECT user_id, field_id, field_value FROM xf_user_field_value WHERE field_id="fam") AS fam ON xf_user.user_id = fam.user_id) LEFT JOIN (SELECT user_id, field_id, field_value FROM xf_user_field_value WHERE field_id="name_fio") AS name_fio ON xf_user.user_id = name_fio.user_id) LEFT JOIN (SELECT user_id, field_id, field_value FROM xf_user_field_value WHERE field_id="otch_fio") AS otch_fio ON xf_user.user_id = otch_fio.user_id
    WHERE 
    (
      xf_user.user_id In (
        SELECT user_id FROM xf_user_group_relation WHERE user_group_id In (6)
      )
    ) 
    And (
      xf_user.user_id Not In (
        SELECT xf_user_field_value.user_id FROM xf_user_field_value 
          WHERE (xf_user_field_value.field_id="idhtline") AND (Length(Trim(field_value))>0)
      )
      or
      xf_user.user_id Not In (
        SELECT xf_user_field_value.user_id FROM xf_user_field_value 
          WHERE (xf_user_field_value.field_id="uid_ht_line") AND (Length(Trim(field_value))>0)
      )
    )
    Run Time: 0.008788
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARYxf_userALL    378Using where
    PRIMARY<derived2>ALL    369 
    PRIMARY<derived3>ALL    369 
    PRIMARY<derived4>ALL    369 
    DEPENDENT SUBQUERYxf_user_field_valueunique_subqueryPRIMARY,field_idPRIMARY81func,const1Using where
    DEPENDENT SUBQUERYxf_user_field_valueunique_subqueryPRIMARY,field_idPRIMARY81func,const1Using where
    DEPENDENT SUBQUERYxf_user_group_relationunique_subqueryPRIMARY,user_group_id_is_primaryPRIMARY8func,const1Using index; Using where
    DERIVEDxf_user_field_valuereffield_idfield_id77 377Using where
    DERIVEDxf_user_field_valuereffield_idfield_id77 371Using where
    DERIVEDxf_user_field_valuereffield_idfield_id77 379Using where

Included Files (102, 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/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/EWRcarta/Listener/Init.php
  33. library/XenForo/DataWriter/User.php
  34. library/XenForo/DataWriter.php
  35. library/BBM/Listeners/AllInOne.php
  36. library/XenForo/Router.php
  37. library/XenForo/Route/Filter.php
  38. library/XenForo/Route/Interface.php
  39. library/XenForo/Route/ResponseSuffix.php
  40. library/XenForo/Route/Prefix.php
  41. library/XenForo/Route/Prefix/Index.php
  42. library/mylogin/Listener/LoadClassController.php
  43. library/Myspisok/Listener/LoadClassController.php
  44. library/Sedo/TinyQuattro/Listener/LoadClass.php
  45. library/Mypod/Listener/LoadClassController.php
  46. library/MyProfilePost/Listener/LoadClassController.php
  47. library/MyObrMess/Listener/LoadClassController.php
  48. library/MyLogFb/Listener/LoadClassController.php
  49. library/XenForo/RouteMatch.php
  50. library/BBM/Protection/Helper/ContentProtection.php
  51. library/XenForo/ControllerPublic/Index.php
  52. library/XenForo/ControllerPublic/Abstract.php
  53. library/XenForo/Controller.php
  54. library/Social/Listener.php
  55. library/Ragtek/Invite/StaticMethods.php
  56. library/Sedo/TinyQuattro/Listener/ControllerPublic.php
  57. library/XenForo/Input.php
  58. library/XenForo/Session.php
  59. library/XenForo/Visitor.php
  60. library/XenForo/Model/User.php
  61. library/EWRcarta/Listener/Model.php
  62. library/XenForo/Permission.php
  63. library/XenForo/Phrase.php
  64. library/XenForo/Locale.php
  65. library/XenForo/Helper/Cookie.php
  66. library/Ragtek/Invite/Model/Invite.php
  67. library/XenForo/ControllerResponse/ReroutePath.php
  68. library/XenForo/ControllerResponse/Abstract.php
  69. library/MyNewsFeed/Route/Prefix/RecentActivity.php
  70. library/MyNewsFeed/ControllerPublic/RecentActivity.php
  71. library/MyNewsFeed/Model/NewsFeed.php
  72. library/XenForo/Model/Session.php
  73. library/XenForo/ControllerResponse/View.php
  74. library/XenForo/ViewRenderer/HtmlPublic.php
  75. library/XenForo/ViewRenderer/Abstract.php
  76. library/XenForo/Template/Public.php
  77. library/XenForo/Template/Abstract.php
  78. library/Dark/TaigaChat/EventListener/FrontControllerPreView.php
  79. library/MyNewsFeed/ViewPublic/NewsFeed/View.php
  80. library/XenForo/ViewPublic/Base.php
  81. library/XenForo/View.php
  82. library/Sedo/TinyQuattro/Listener/ViewPublic.php
  83. library/XenForo/ViewPublic/Helper/NewsFeed.php
  84. library/Sedo/TinyQuattro/Listener/Templates/Preloader.php
  85. library/XenForo/Route/Prefix/Members.php
  86. library/Dark/TaigaChat/EventListener/NavigationTabs.php
  87. library/Ragtek/Invite/Helper.php
  88. library/Myspisok/Tabs/MainTab.php
  89. library/EWRcarta/Listener/NavTabs.php
  90. library/EWRcarta/Model/Perms.php
  91. library/EWRcarta/Model/Lists.php
  92. library/XenForo/Helper/Criteria.php
  93. library/XenForo/Debug.php
  94. library/XenForo/Helper/String.php
  95. library/EWRcarta/Listener/Template.php
  96. library/MySinch/Listener/LoadClassController.php
  97. library/BBM/Listeners/Templates/Public.php
  98. library/XenForo/Route/Prefix/Pages.php
  99. library/XenForo/ViewRenderer/Json.php
  100. library/MySinch/ControllerAdmin/Index.php
  101. library/XenForo/ControllerAdmin/Abstract.php
  102. library/MySinch/Model/Index.php