Quicklists (0)

logo

  • Videos
  • Photos
  • Channels
  • Collections
  • Channels
  • Collections
  • Photos
  • Videos
  • Login


Loading

Most Recent
  • Most Recent
  • Most Old
  • Most Viewed
  • Top Rated
  • Most Comments
  • Viewed recently
  • Featured
  • Alpbabetical
  • Reverse alpbabetical
All Time
  • All Time
  • Today
  • Yesterday
  • This Week
  • Last Week
  • This Month
  • Last Month
  • This Year
  • Last Year
No results found
  • About Us
  • Terms of service
  • Help
  • English
  • Français
  • Deutsche
  • Portuguesa
  • Español
©ClipBucket, maintained by Oxygenz
close

Select Queries (15)

Array
(
    [0] => Array
        (
            [q] => SELECT * FROM cb_config
            [timetook] => 0.0019619464874268
            [memBefore] => 0.51764678955078
            [memAfter] => 0.55990600585938
            [memUsed] => 0.042259216308594
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/my_queries.class.php(36): db_select()
#5 /var/www/html/clipbucket-v5/upload/includes/common.php(101): myquery->Get_Website_Details()
#6 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#7 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [1] => Array
        (
            [q] => SELECT * FROM cb_sessions WHERE session ='lg61lfcr8uuhdloimntotoq2k0'  
            [timetook] => 0.00080585479736328
            [memBefore] => 0.55990600585938
            [memAfter] => 0.83866119384766
            [memUsed] => 0.27875518798828
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(99): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5392): Session->get_sessions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1055): userquery->get_sessions()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(996): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/functions.php(503): userquery->getInstance()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(188): user_id()
#10 /var/www/html/clipbucket-v5/upload/includes/common.php(159): User->getInstance()
#11 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#12 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [2] => Array
        (
            [q] => SELECT * FROM cb_sessions WHERE  session_string='guest' AND  session ='lg61lfcr8uuhdloimntotoq2k0'  
            [timetook] => 0.00057697296142578
            [memBefore] => 0.82756042480469
            [memAfter] => 0.84433746337891
            [memUsed] => 0.016777038574219
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(88): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(44): Session->get_user_session()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5399): Session->add_session()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1055): userquery->get_sessions()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(996): userquery->init()
#9 /var/www/html/clipbucket-v5/upload/includes/functions.php(503): userquery->getInstance()
#10 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(188): user_id()
#11 /var/www/html/clipbucket-v5/upload/includes/common.php(159): User->getInstance()
#12 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#13 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [3] => Array
        (
            [q] => SELECT version.id, version.version, version.revision FROM cb_version AS version 
            [timetook] => 0.00060391426086426
            [memBefore] => 0.84433746337891
            [memAfter] => 0.83204650878906
            [memUsed] => -0.012290954589844
            [use_cache] => yes
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/update.class.php(60): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/update.class.php(770): Update->getDBVersion()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(39): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1093): UserLevel->getPermissions()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(996): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/functions.php(503): userquery->getInstance()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(188): user_id()
#10 /var/www/html/clipbucket-v5/upload/includes/common.php(159): User->getInstance()
#11 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#12 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [4] => Array
        (
            [q] => SELECT user_levels_permissions.id_user_levels_permission, user_levels_permissions.id_user_permission_types, user_levels_permissions.permission_name, user_levels_permissions.permission_description, user_levels_permissions_values.user_level_id, user_levels_permissions_values.id_user_levels_permission, user_levels_permissions_values.permission_value
                FROM cb_user_levels_permissions AS user_levels_permissions INNER JOIN cb_user_levels_permissions_values AS user_levels_permissions_values ON user_levels_permissions.id_user_levels_permission = user_levels_permissions_values.id_user_levels_permission WHERE  user_levels_permissions_values.user_level_id = 4
            [timetook] => 0.0010139942169189
            [memBefore] => 0.83204650878906
            [memAfter] => 0.85633087158203
            [memUsed] => 0.024284362792969
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(139): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(40): UserLevel->getAllPermissions()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1093): UserLevel->getPermissions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(996): userquery->init()
#7 /var/www/html/clipbucket-v5/upload/includes/functions.php(503): userquery->getInstance()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(188): user_id()
#9 /var/www/html/clipbucket-v5/upload/includes/common.php(159): User->getInstance()
#10 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#11 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [5] => Array
        (
            [q] => SELECT * FROM cb_languages WHERE language_default='yes'  
            [timetook] => 0.00035595893859863
            [memBefore] => 0.85633087158203
            [memAfter] => 0.94751739501953
            [memUsed] => 0.0911865234375
            [use_cache] => yes
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(318): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(74): Language->getDefaultLanguage()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(14): Language->init()
#6 /var/www/html/clipbucket-v5/upload/includes/functions.php(1095): Language->getInstance()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(902): lang()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(842): Collections->__construct()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(798): CBPhotos->init_collections()
#10 /var/www/html/clipbucket-v5/upload/includes/common.php(248): CBPhotos->init_photos()
#11 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#12 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [6] => Array
        (
            [q] => SELECT language_key, translation FROM cb_languages_keys AS LK
        LEFT JOIN cb_languages_translations AS LT ON LK.id_language_key = LT.id_language_key AND LT.language_id = 1 ORDER BY  CASE WHEN LT.translation IS NULL THEN concat('aaaaaaaaaaaaaaaaaaaa',language_key) ELSE LK.language_key END 
            [timetook] => 0.0054330825805664
            [memBefore] => 0.94751739501953
            [memAfter] => 1.7443466186523
            [memUsed] => 0.79682922363281
            [use_cache] => yes
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(155): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(216): Language->getAllTranslations()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(83): Language->loadTranslations()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(14): Language->init()
#7 /var/www/html/clipbucket-v5/upload/includes/functions.php(1095): Language->getInstance()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(902): lang()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(842): Collections->__construct()
#10 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(798): CBPhotos->init_collections()
#11 /var/www/html/clipbucket-v5/upload/includes/common.php(248): CBPhotos->init_photos()
#12 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#13 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [7] => Array
        (
            [q] => SELECT * FROM cb_plugins WHERE plugin_active='yes' 
            [timetook] => 0.00048089027404785
            [memBefore] => 1.7443466186523
            [memAfter] => 1.3382797241211
            [memUsed] => -0.40606689453125
            [use_cache] => yes
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#5 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(21): require_once()
#6 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [8] => Array
        (
            [q] => SELECT * FROM cb_languages WHERE language_default='yes'  
            [timetook] => 0.00041913986206055
            [memBefore] => 1.3382797241211
            [memAfter] => 1.3742599487305
            [memUsed] => 0.035980224609375
            [use_cache] => yes
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(318): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/functions.php(1148): Language->getDefaultLanguage()
#5 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#6 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(124): CB_video_js->load_dependancies()
#7 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(129): CB_video_js->__construct()
#8 /var/www/html/clipbucket-v5/upload/includes/plugins.php(35): include_once()
#9 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(21): require_once()
#10 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

    [9] => Array
        (
            [q] => SELECT photos.photo_id, photos.photo_key, photos.photo_title, photos.photo_description, photos.userid, photos.date_added, photos.last_viewed, photos.views, photos.allow_comments, photos.allow_embedding, photos.allow_tagging, photos.featured, photos.reported, photos.allow_rating, photos.broadcast, photos.active, photos.total_comments, photos.last_commented, photos.total_favorites, photos.rating, photos.rated_by, photos.voters, photos.filename, photos.file_directory, photos.ext, photos.downloaded, photos.server_url, photos.owner_ip, photos.photo_details, photos.age_restriction, users.username, collection_items.collection_id , GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS photo_tags, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category , GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category_names, user_profile.disabled_channel
                FROM cb_photos AS photos
                LEFT JOIN cb_users AS users ON photos.userid = users.userid LEFT JOIN cb_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN cb_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN cb_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN cb_categories AS categories ON photos_categories.id_category = categories.category_id LEFT JOIN  cb_collection_items AS collection_items ON  photos.photo_id = collection_items.object_id AND collection_items.type = 'photos' LEFT JOIN cb_collections AS collections ON collection_items.collection_id = collections.collection_id LEFT JOIN cb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE (((photos.active = 'yes' AND photos.age_restriction IS NULL AND (photos.broadcast = 'public'))) AND collection_items.collection_id IS NOT NULL ) AND (((collections.active = 'yes' AND collections.broadcast = 'public')) OR collections.collection_id IS NULL ) GROUP BY collection_items.collection_id ,photos.photo_id,photos.photo_id,collection_items.collection_id,photos.date_added ,user_profile.disabled_channel ORDER BY photos.date_added DESC LIMIT 0,21
            [timetook] => 0.011047124862671
            [memBefore] => 1.3742599487305
            [memAfter] => 1.4082107543945
            [memUsed] => 0.033950805664062
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(406): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/photos.php(28): Photo->getAll()

        )

    [10] => Array
        (
            [q] => SELECT id, label, type, is_default FROM cb_sorts WHERE type = 'photos'
            [timetook] => 0.00065207481384277
            [memBefore] => 1.4082107543945
            [memAfter] => 1.4035186767578
            [memUsed] => -0.0046920776367188
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/sort_type.class.php(16): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(171): SortType->getSortTypes()
#5 /var/www/html/clipbucket-v5/upload/photos.php(32): Photo->getSortList()

        )

    [11] => Array
        (
            [q] => SELECT id, label, type, is_default FROM cb_sorts WHERE is_default = TRUE AND type = 'photos'
            [timetook] => 0.00057101249694824
            [memBefore] => 1.4035186767578
            [memAfter] => 1.4055023193359
            [memUsed] => 0.001983642578125
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/sort_type.class.php(42): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/photos.php(34): SortType->getDefaultByType()

        )

    [12] => Array
        (
            [q] => SELECT collections.collection_id
, collections.collection_name
, collections.collection_description
, collections.userid
, collections.date_added
, collections.featured
, collections.broadcast
, collections.allow_comments
, collections.allow_rating
, collections.total_comments
, collections.last_commented
, collections.rating
, collections.rated_by
, collections.voters
, collections.active
, collections.public_upload
, collections.type
, collections.collection_id_parent
, collections.thumb_objectid
, collections.sort_type
, users.username AS user_username, users.email, users.dob
, collection_parent.collection_name AS collection_name_parent
, COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) + COUNT(DISTINCT(collections_enfant.collection_id)) AS total_objects
,  sorts.label as sort_type_label 
,  sorts.id as sort_type 
, GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS tags
, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category
, GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ',') AS category_names
                FROM cb_collections AS collections
                LEFT JOIN cb_users AS users ON collections.userid = users.userid
                LEFT JOIN cb_collection_items AS collection_items ON collections.collection_id = collection_items.collection_id
                LEFT JOIN cb_video AS video ON collections.type = 'videos' AND collection_items.object_id = video.videoid AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = ''))))
                LEFT JOIN cb_photos AS photos ON collections.type = 'photos' AND collection_items.object_id = photos.photo_id AND (((photos.active = 'yes' AND photos.age_restriction IS NULL AND (photos.broadcast = 'public' OR (photos.broadcast = 'unlisted')))) AND collection_items.collection_id IS NOT NULL )  LEFT JOIN cb_collections collection_parent ON collections.collection_id_parent = collection_parent.collection_id
LEFT JOIN cb_sorts AS sorts ON sorts.id = collections.sort_type
LEFT JOIN cb_collections AS collections_enfant ON collections.collection_id = collections_enfant.collection_id_parent
LEFT JOIN cb_collection_tags AS collection_tags ON collections.collection_id = collection_tags.id_collection
LEFT JOIN cb_tags AS tags ON collection_tags.id_tag = tags.id_tag
LEFT JOIN cb_collections_categories AS collections_categories ON collections.collection_id = collections_categories.id_collection
LEFT JOIN cb_categories AS categories ON collections_categories.id_category = categories.category_id WHERE collections.active = 'yes'
 AND collections.type = 'photos'
 AND collections.collection_id_parent IS NULL
 AND collections.collection_id_parent IS NULL
 AND collections.collection_id_parent IS NULL
 AND ((collections.active = 'yes' AND collections.broadcast = 'public'))
 GROUP BY collections.collection_id LIMIT 6
            [timetook] => 0.0030720233917236
            [memBefore] => 1.4055023193359
            [memAfter] => 1.4165115356445
            [memUsed] => 0.011009216308594
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(457): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/photos.php(52): Collection->getAll()

        )

    [13] => Array
        (
            [q] => SELECT photos.photo_id, photos.photo_key, photos.photo_title, photos.photo_description, photos.userid, photos.date_added, photos.last_viewed, photos.views, photos.allow_comments, photos.allow_embedding, photos.allow_tagging, photos.featured, photos.reported, photos.allow_rating, photos.broadcast, photos.active, photos.total_comments, photos.last_commented, photos.total_favorites, photos.rating, photos.rated_by, photos.voters, photos.filename, photos.file_directory, photos.ext, photos.downloaded, photos.server_url, photos.owner_ip, photos.photo_details, photos.age_restriction, users.username, collection_items.collection_id , GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS photo_tags, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category , GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category_names, user_profile.disabled_channel
                FROM cb_photos AS photos
                LEFT JOIN cb_users AS users ON photos.userid = users.userid LEFT JOIN cb_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN cb_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN cb_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN cb_categories AS categories ON photos_categories.id_category = categories.category_id LEFT JOIN  cb_collection_items AS collection_items ON  photos.photo_id = collection_items.object_id AND collection_items.type = 'photos' LEFT JOIN cb_collections AS collections ON collection_items.collection_id = collections.collection_id LEFT JOIN cb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE photos.featured = 'yes' AND (((photos.active = 'yes' AND photos.age_restriction IS NULL AND (photos.broadcast = 'public'))) AND collection_items.collection_id IS NOT NULL ) AND (((collections.active = 'yes' AND collections.broadcast = 'public')) OR collections.collection_id IS NULL ) GROUP BY collection_items.collection_id ,photos.photo_id,photos.photo_id,collection_items.collection_id,user_profile.disabled_channel LIMIT 0,6
            [timetook] => 0.0037350654602051
            [memBefore] => 1.4165115356445
            [memAfter] => 1.420051574707
            [memUsed] => 0.0035400390625
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(406): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/photos.php(62): Photo->getAll()

        )

    [14] => Array
        (
            [q] => SELECT userid FROM cb_users WHERE  username='anonymous' AND email='anonymous@website' LIMIT 1 
            [timetook] => 0.00066399574279785
            [memBefore] => 1.420051574707
            [memAfter] => 1.4148025512695
            [memUsed] => -0.0052490234375
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(130): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(4470): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/photos.php(67): userquery->get_anonymous_user()

        )

)

Update Queries (1)

Array
(
    [0] => Array
        (
            [q] => UPDATE cb_sessions SET last_active='2025-05-18 03:26:25',current_page='http://yourtop.news/photos.php' WHERE  session='lg61lfcr8uuhdloimntotoq2k0'  
            [timetook] => 0.00060296058654785
            [memBefore] => 0.83866119384766
            [memAfter] => 0.82756042480469
            [memUsed] => -0.011100769042969
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(336): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(105): Clipbucket_db->update()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5392): Session->get_sessions()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1055): userquery->get_sessions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(996): userquery->init()
#7 /var/www/html/clipbucket-v5/upload/includes/functions.php(503): userquery->getInstance()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(188): user_id()
#9 /var/www/html/clipbucket-v5/upload/includes/common.php(159): User->getInstance()
#10 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#11 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

)

Delete Queries(0)

Sorry Ninja, nothing to show here

Insert Queries(0)

Sorry Ninja, nothing to show here

Execute Query(1)

Array
(
    [0] => Array
        (
            [q] => SET NAMES "utf8mb4"
            [timetook] => 0.00048208236694336
            [memBefore] => 0
            [memAfter] => 0.51764678955078
            [memUsed] => 0.51764678955078
            [use_cache] => no
            [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(246): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(82): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(29): Clipbucket_db->connect()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(19): Clipbucket_db->__construct()
#5 /var/www/html/clipbucket-v5/upload/includes/functions_db.php(10): Clipbucket_db->getInstance()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/my_queries.class.php(36): db_select()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(101): myquery->Get_Website_Details()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

        )

)

Expensive Queries(0.79682922363281)

Array
(
    [q] => SELECT language_key, translation FROM cb_languages_keys AS LK
        LEFT JOIN cb_languages_translations AS LT ON LK.id_language_key = LT.id_language_key AND LT.language_id = 1 ORDER BY  CASE WHEN LT.translation IS NULL THEN concat('aaaaaaaaaaaaaaaaaaaa',language_key) ELSE LK.language_key END 
    [timetook] => 0.0054330825805664
    [memBefore] => 0.94751739501953
    [memAfter] => 1.7443466186523
    [memUsed] => 0.79682922363281
    [use_cache] => yes
    [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(155): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(216): Language->getAllTranslations()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(83): Language->loadTranslations()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(14): Language->init()
#7 /var/www/html/clipbucket-v5/upload/includes/functions.php(1095): Language->getInstance()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(902): lang()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(842): Collections->__construct()
#10 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(798): CBPhotos->init_collections()
#11 /var/www/html/clipbucket-v5/upload/includes/common.php(248): CBPhotos->init_photos()
#12 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#13 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

)

Cheapest Queries(-0.40606689453125)

Array
(
    [q] => SELECT * FROM cb_plugins WHERE plugin_active='yes' 
    [timetook] => 0.00048089027404785
    [memBefore] => 1.7443466186523
    [memAfter] => 1.3382797241211
    [memUsed] => -0.40606689453125
    [use_cache] => yes
    [backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(179): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#5 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(21): require_once()
#6 /var/www/html/clipbucket-v5/upload/photos.php(5): require()

)

Overall Stats

  • Queries (12)
    • Insert : 0
    • Select : 15
    • Update : 1
    • Delete : 0
    • Count : 0
    • Execute : 1
  • Total DB Queries : 12
  • Total cache Queries : 5
  • Total Execution Time : 0.032478094100952
  • Total Memory Used : 1.4148025512695
  • Base directory : /var/www/html/clipbucket-v5/upload/