Page Time: 0.0235s

Memory: 3.4571 MB (Peak: 5.4209 MB)

Queries (7, time: 0.0091s, 38.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.006592
    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.000156
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT data_value
    FROM xf_data_registry
    WHERE data_key = ?
    Params: dark_postrating_ratings
    Run Time: 0.000124
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_data_registryconstPRIMARYPRIMARY27const1 
  4. SELECT user.*
    	,
    		user_profile.*,
    		user_option.*,
    		user_privacy.*,
    		permission_combination.cache_value AS global_permission_cache,
    		IF (session_activity.view_date IS NULL, user.last_activity, session_activity.view_date) AS effective_last_activity,
    		session_activity.view_date, session_activity.controller_name, session_activity.controller_action, session_activity.params, session_activity.ip,
    		0 AS following_0
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,6,7,8,11)) as positive_rating_count
    
    		, ((select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (1,2,6,7,8,11)) + user.like_count) as positive_rating_count_incl_likes
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (14,4,5,9,12)) as negative_rating_count
    
    	,(select sum(count_received) from dark_postrating_count where user_id = user.user_id and rating in (3,10)) as neutral_rating_count
    
    ,(select sum(count_received) from dark_postrating_count where user_id = user.user_id) as total_rating_count
    
    FROM xf_user AS user
    
    		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)
    		LEFT JOIN xf_user_privacy AS user_privacy ON
    			(user_privacy.user_id = user.user_id)
    		LEFT JOIN xf_permission_combination AS permission_combination ON
    			(permission_combination.permission_combination_id = user.permission_combination_id)
    		LEFT JOIN xf_session_activity AS session_activity ON
    			(session_activity.user_id = user.user_id AND session_activity.unique_key = CAST(user.user_id AS BINARY))
    WHERE user.user_id = ?
    Params: 12530
    Run Time: 0.001543
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    PRIMARY       Impossible WHERE noticed after reading const tables
    SUBQUERY       Impossible WHERE noticed after reading const tables
    SUBQUERY       Impossible WHERE noticed after reading const tables
    SUBQUERY       Impossible WHERE noticed after reading const tables
    SUBQUERY       Impossible WHERE noticed after reading const tables
    SUBQUERY       Impossible WHERE noticed after reading const tables
  5. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: 744095a0b776f282a26d52cace1c5ff8, , 1516358746
    Run Time: 0.000277
  6. 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, , , XenForo_ControllerPublic_Member, Member, error, user_id=12530, 1516355146,
    Run Time: 0.000276
  7. SELECT title, phrase_text
    FROM xf_phrase_compiled
    WHERE language_id = ?
    	AND title IN ('requested_member_not_found')
    Params: 1
    Run Time: 0.000130
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_phrase_compiledconstPRIMARYPRIMARY106const,const1 

Included Files (71, XenForo Classes: 45)

  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/Members.php
  38. library/XenForo/RouteMatch.php
  39. library/XenForo/ControllerPublic/Member.php
  40. library/XenForo/ControllerPublic/Abstract.php
  41. library/XenForo/Controller.php
  42. library/Dark/PostRating/EventListener.php
  43. library/Dark/PostRating/ControllerPublic/Member.php
  44. library/XenForo/Input.php
  45. library/XenForo/Session.php
  46. library/XenForo/Helper/Ip.php
  47. library/XenForo/Visitor.php
  48. library/XenForo/Model/User.php
  49. library/Dark/PostRating/Model/User.php
  50. library/XenForo/Permission.php
  51. library/XenForo/Helper/Php.php
  52. library/XenForo/Phrase.php
  53. library/XenForo/Locale.php
  54. library/XenForo/ControllerResponse/Reroute.php
  55. library/XenForo/ControllerResponse/Abstract.php
  56. library/XenForo/ControllerHelper/UserProfile.php
  57. library/XenForo/ControllerHelper/Abstract.php
  58. library/Dark/PostRating/Model.php
  59. library/XenForo/ControllerResponse/Error.php
  60. library/XenForo/ControllerResponse/Exception.php
  61. library/XenForo/Helper/Cookie.php
  62. library/XenForo/ViewRenderer/HtmlPublic.php
  63. library/XenForo/ViewRenderer/Abstract.php
  64. library/XenForo/Template/Public.php
  65. library/XenForo/Template/Abstract.php
  66. library/XenForo/Template/FileHandler.php
  67. library/XenForo/Helper/File.php
  68. internal_data/templates/S.6,L.1,error.php
  69. library/XenForo/Debug.php
  70. internal_data/templates/S.6,L.1,PAGE_CONTAINER.php
  71. library/XenForo/ViewRenderer/Json.php