Page Time: 0.0842s

Memory: 2.9125 MB (Peak: 8.3417 MB)

Queries (8, time: 0.0201s, 23.8%)

  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.000299
    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.000122
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExf_permission_combinationconstPRIMARYPRIMARY4const1 
  3. SELECT *
    FROM xf_search
    WHERE search_id = ?
    Params: 12601384
    Run Time: 0.000330
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLE       Impossible WHERE noticed after reading const tables
  4. SELECT category_id
    FROM xengallery_category_map
    WHERE view_user_group_id IN (1)
    Run Time: 0.000063
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLExengallery_category_mapindex PRIMARY8 575Using where; Using index
  5. SELECT media.*
    	,
    		album.*, albumviewperm.*,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, media.username, user.username) AS username,
                        attachment.attachment_id, attachment.data_id, attachment.attach_date,data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xengallery_media AS media
    	
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission as albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    		LEFT JOIN xengallery_category AS category ON
    			(category.category_id = media.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = media.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = media.user_id)
                        LEFT JOIN xf_attachment AS attachment ON
                            (attachment.content_type = 'xengallery_media' AND attachment.attachment_id = media.attachment_id)
                        LEFT JOIN xf_attachment_data AS data ON
                            (data.data_id = attachment.data_id)
    	WHERE (
    			
    			media.media_privacy = 'public'
    			OR IF(media.category_id > 0, media.category_id IN (1, 2, 500, 501, 502, 504, 505, 506, 507, 508, 509, 510, 511, 512, 515, 516, 519, 522, 523, 525, 529, 530, 533, 546, 548, 549, 550, 551, 552, 553, 554, 556, 565, 567, 569, 573, 583, 590, 592, 593, 600, 608, 611, 616, 620, 668), NULL)) AND (media.media_state IN ('visible')) AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    	ORDER BY media.media_date DESC, media.media_id DESC			
     LIMIT 200
    Run Time: 0.002198
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediaindex media_date4 200Using where
    SIMPLEalbumeq_refPRIMARYPRIMARY4xen.media.album_id1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5xen.album.album_id,const1 
    SIMPLEcategoryeq_refPRIMARYPRIMARY4xen.media.category_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4xen.media.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xen.media.user_id1 
    SIMPLEattachmenteq_refPRIMARY,content_type_id_datePRIMARY4xen.media.attachment_id1 
    SIMPLEdataeq_refPRIMARYPRIMARY4xen.attachment.data_id1 
  6. SELECT media.*
    	,
    		album.*, albumviewperm.*,
    		category.*,
    		user.*, user_profile.*, IF(user.username IS NULL, media.username, user.username) AS username,
                        attachment.attachment_id, attachment.data_id, attachment.attach_date,data.filename, data.file_size, data.file_hash, data.file_path, data.width, data.height, data.thumbnail_width, data.thumbnail_height
    FROM xengallery_media AS media
    	
    		LEFT JOIN xengallery_album AS album ON
    			(album.album_id = media.album_id)
    		LEFT JOIN xengallery_album_permission as albumviewperm ON
    			(album.album_id = albumviewperm.album_id AND albumviewperm.permission = 'view')
    		
    		LEFT JOIN xengallery_category AS category ON
    			(category.category_id = media.category_id)
    		LEFT JOIN xf_user AS user ON
    			(user.user_id = media.user_id)
    		LEFT JOIN xf_user_profile AS user_profile ON
    			(user_profile.user_id = media.user_id)
                        LEFT JOIN xf_attachment AS attachment ON
                            (attachment.content_type = 'xengallery_media' AND attachment.attachment_id = media.attachment_id)
                        LEFT JOIN xf_attachment_data AS data ON
                            (data.data_id = attachment.data_id)
    	WHERE (media.media_id IN (34127, 34126, 34125, 34124, 34123, 34122, 34121, 34120, 34119, 34118, 34117, 34116, 34115, 34114, 34113, 34112, 34111, 34110, 34109, 34108, 34107, 34106, 34105, 34104, 34103, 34102, 34101, 34100, 34099, 34098, 34097, 34096, 34095, 34094, 34093, 34092, 34091, 34090, 34089, 34088, 34087, 34086, 34085, 34084, 34083, 34082, 34081, 34080, 34079, 34078, 34077, 34076, 34075, 34074, 34073, 34072, 34071, 34070, 34069, 34068, 34067, 34066, 34065, 34064, 34063, 34062, 34061, 34060, 34059, 34058, 34057, 34056, 34055, 34054, 34053, 34052, 34051, 34050, 34049, 34048, 34047, 34046, 34045, 34044, 34043, 34042, 34041, 34040, 34039, 34038, 34037, 34036, 34035, 34034, 34033, 34032, 34031, 34030, 34029, 34028, 34027, 34026, 34025, 34024, 34023, 34022, 34021, 34020, 34019, 34018, 34016, 34015, 34014, 34013, 34012, 34011, 34010, 34009, 34008, 34007, 34006, 34005, 34004, 34003, 34002, 34001, 34000, 33999, 33998, 33997, 33996, 33995, 33994, 33993, 33992, 33991, 33990, 33989, 33988, 33987, 33986, 33985, 33984, 33983, 33982, 33981, 33980, 33979, 33978, 33977, 33976, 33975, 33974, 33973, 33972, 33971, 33970, 33969, 33968, 33967, 33965, 33964, 33963, 33962, 33961, 33960, 33959, 33958, 33957, 33956, 33955, 33954, 33953, 33952, 33951, 33950, 33949, 33948, 33947, 33946, 33945, 33944, 33943, 33942, 33941, 33940, 33939, 33938, 33937, 33936, 33935, 33934, 33933, 33931, 33930, 33929, 33928, 33927, 33926, 33925)) AND (media.media_state = 'visible') AND (IF(media.album_id > 0, album.album_state = 'visible', 1=1))
    Run Time: 0.002197
    Select TypeTableTypePossible KeysKeyKey LenRefRowsExtra
    SIMPLEmediarangePRIMARYPRIMARY4 200Using where
    SIMPLEalbumeq_refPRIMARYPRIMARY4xen.media.album_id1Using where
    SIMPLEalbumviewpermeq_refPRIMARYPRIMARY5xen.album.album_id,const1 
    SIMPLEcategoryeq_refPRIMARYPRIMARY4xen.media.category_id1 
    SIMPLEusereq_refPRIMARYPRIMARY4xen.media.user_id1 
    SIMPLEuser_profileeq_refPRIMARYPRIMARY4xen.media.user_id1 
    SIMPLEattachmenteq_refPRIMARY,content_type_id_datePRIMARY4xen.media.attachment_id1 
    SIMPLEdataeq_refPRIMARYPRIMARY4xen.attachment.data_id1 
  7. INSERT INTO `xf_search` (`search_results`, `result_count`, `search_type`, `search_query`, `search_constraints`, `search_order`, `search_grouping`, `user_results`, `warnings`, `user_id`, `search_date`, `query_hash`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
    Params: [["xengallery_media",34127],["xengallery_media",34126],["xengallery_media",34125],["xengallery_media",34124],["xengallery_media",34123],["xengallery_media",34122],["xengallery_media",34121],["xengallery_media",34120],["xengallery_media",34119],["xengallery_media",34118],["xengallery_media",34117],["xengallery_media",34116],["xengallery_media",34115],["xengallery_media",34114],["xengallery_media",34113],["xengallery_media",34112],["xengallery_media",34111],["xengallery_media",34110],["xengallery_media",34109],["xengallery_media",34108],["xengallery_media",34107],["xengallery_media",34106],["xengallery_media",34105],["xengallery_media",34104],["xengallery_media",34103],["xengallery_media",34102],["xengallery_media",34101],["xengallery_media",34100],["xengallery_media",34099],["xengallery_media",34098],["xengallery_media",34097],["xengallery_media",34096],["xengallery_media",34095],["xengallery_media",34094],["xengallery_media",34093],["xengallery_media",34092],["xengallery_media",34091],["xengallery_media",34090],["xengallery_media",34089],["xengallery_media",34088],["xengallery_media",34087],["xengallery_media",34086],["xengallery_media",34085],["xengallery_media",34084],["xengallery_media",34083],["xengallery_media",34082],["xengallery_media",34081],["xengallery_media",34080],["xengallery_media",34079],["xengallery_media",34078],["xengallery_media",34077],["xengallery_media",34076],["xengallery_media",34075],["xengallery_media",34074],["xengallery_media",34073],["xengallery_media",34072],["xengallery_media",34071],["xengallery_media",34070],["xengallery_media",34069],["xengallery_media",34068],["xengallery_media",34067],["xengallery_media",34066],["xengallery_media",34065],["xengallery_media",34064],["xengallery_media",34063],["xengallery_media",34062],["xengallery_media",34061],["xengallery_media",34060],["xengallery_media",34059],["xengallery_media",34058],["xengallery_media",34057],["xengallery_media",34056],["xengallery_media",34055],["xengallery_media",34054],["xengallery_media",34053],["xengallery_media",34052],["xengallery_media",34051],["xengallery_media",34050],["xengallery_media",34049],["xengallery_media",34048],["xengallery_media",34047],["xengallery_media",34046],["xengallery_media",34045],["xengallery_media",34044],["xengallery_media",34043],["xengallery_media",34042],["xengallery_media",34041],["xengallery_media",34040],["xengallery_media",34039],["xengallery_media",34038],["xengallery_media",34037],["xengallery_media",34036],["xengallery_media",34035],["xengallery_media",34034],["xengallery_media",34033],["xengallery_media",34032],["xengallery_media",34031],["xengallery_media",34030],["xengallery_media",34029],["xengallery_media",34028],["xengallery_media",34027],["xengallery_media",34026],["xengallery_media",34025],["xengallery_media",34024],["xengallery_media",34023],["xengallery_media",34022],["xengallery_media",34021],["xengallery_media",34020],["xengallery_media",34019],["xengallery_media",34018],["xengallery_media",34016],["xengallery_media",34015],["xengallery_media",34014],["xengallery_media",34013],["xengallery_media",34012],["xengallery_media",34011],["xengallery_media",34010],["xengallery_media",34009],["xengallery_media",34008],["xengallery_media",34007],["xengallery_media",34006],["xengallery_media",34005],["xengallery_media",34004],["xengallery_media",34003],["xengallery_media",34002],["xengallery_media",34001],["xengallery_media",34000],["xengallery_media",33999],["xengallery_media",33998],["xengallery_media",33997],["xengallery_media",33996],["xengallery_media",33995],["xengallery_media",33994],["xengallery_media",33993],["xengallery_media",33992],["xengallery_media",33991],["xengallery_media",33990],["xengallery_media",33989],["xengallery_media",33988],["xengallery_media",33987],["xengallery_media",33986],["xengallery_media",33985],["xengallery_media",33984],["xengallery_media",33983],["xengallery_media",33982],["xengallery_media",33981],["xengallery_media",33980],["xengallery_media",33979],["xengallery_media",33978],["xengallery_media",33977],["xengallery_media",33976],["xengallery_media",33975],["xengallery_media",33974],["xengallery_media",33973],["xengallery_media",33972],["xengallery_media",33971],["xengallery_media",33970],["xengallery_media",33969],["xengallery_media",33968],["xengallery_media",33967],["xengallery_media",33965],["xengallery_media",33964],["xengallery_media",33963],["xengallery_media",33962],["xengallery_media",33961],["xengallery_media",33960],["xengallery_media",33959],["xengallery_media",33958],["xengallery_media",33957],["xengallery_media",33956],["xengallery_media",33955],["xengallery_media",33954],["xengallery_media",33953],["xengallery_media",33952],["xengallery_media",33951],["xengallery_media",33950],["xengallery_media",33949],["xengallery_media",33948],["xengallery_media",33947],["xengallery_media",33946],["xengallery_media",33945],["xengallery_media",33944],["xengallery_media",33943],["xengallery_media",33942],["xengallery_media",33941],["xengallery_media",33940],["xengallery_media",33939],["xengallery_media",33938],["xengallery_media",33937],["xengallery_media",33936],["xengallery_media",33935],["xengallery_media",33934],["xengallery_media",33933],["xengallery_media",33931],["xengallery_media",33930],["xengallery_media",33929],["xengallery_media",33928],["xengallery_media",33927],["xengallery_media",33926],["xengallery_media",33925]], 200, xengallery_media, , ["findNew"], date, 0, , [], 0, 1561406327, 36479db84cc074f46b51a4d21e63f89a
    Run Time: 0.014671
  8. INSERT INTO `xf_session` (`session_id`, `session_data`, `expiry_date`) VALUES (?, ?, ?)
    Params: ca442c2849e95f643449c64415db3fc8, , 1561409927
    Run Time: 0.000194

Included Files (69, XenForo Classes: 40)

  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/XenGallery/Listener.php
  33. library/XenForo/Router.php
  34. library/XenForo/Route/Filter.php
  35. library/XenForo/Route/Interface.php
  36. library/XenForo/Route/ResponseSuffix.php
  37. library/XenForo/Route/Prefix.php
  38. library/XenForo/Route/Prefix/FindNew.php
  39. library/EWRporta/Listener/Route.php
  40. library/XenForo/RouteMatch.php
  41. library/XenForo/ControllerPublic/FindNew.php
  42. library/XenForo/ControllerPublic/Abstract.php
  43. library/XenForo/Controller.php
  44. library/EWRporta/Listener/Controller.php
  45. library/KingK/BbCodeManager/EventListener/BbCode.php
  46. library/XenGallery/ControllerPublic/FindNew.php
  47. library/XenForo/Input.php
  48. library/XenForo/Session.php
  49. library/XenForo/Helper/Ip.php
  50. library/XenForo/Visitor.php
  51. library/XenForo/Model/User.php
  52. library/EWRporta/Listener/Model.php
  53. library/XenGallery/Model/User.php
  54. library/XenForo/Permission.php
  55. library/XenForo/Helper/Php.php
  56. library/XenForo/Phrase.php
  57. library/XenForo/Locale.php
  58. library/XenGallery/Model/Media.php
  59. library/XenForo/Model/Search.php
  60. library/XenGallery/Model/Category.php
  61. library/XenForo/Model/Attachment.php
  62. library/XenForo/ControllerResponse/Redirect.php
  63. library/XenForo/ControllerResponse/Abstract.php
  64. library/XenForo/Helper/Cookie.php
  65. library/XenForo/ViewRenderer/HtmlPublic.php
  66. library/XenForo/ViewRenderer/Abstract.php
  67. library/XenForo/Template/Public.php
  68. library/XenForo/Template/Abstract.php
  69. library/XenForo/Debug.php