Select Queries (31)
Array
(
[0] => Array
(
[q] => SELECT * FROM democb_config
[timetook] => 0.00064992904663086
[memBefore] => 0.41604614257812
[memAfter] => 0.44268798828125
[memUsed] => 0.026641845703125
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/my_queries.class.php(41): db_select()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/common.php(101): myquery->Get_Website_Details()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[1] => Array
(
[q] => SELECT * FROM democb_sessions WHERE session ='61ef1a2ffa8dc4db1d320efa205d6f36'
[timetook] => 0.00029683113098145
[memBefore] => 0.44268798828125
[memAfter] => 0.66248321533203
[memUsed] => 0.21979522705078
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/session.class.php(110): Clipbucket_db->select()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(5546): Session->get_sessions()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(1336): userquery->get_sessions()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(1280): userquery->init()
#8 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/functions.php(482): userquery->getInstance()
#9 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(225): user_id()
#10 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/common.php(156): User->getInstance()
#11 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(9): require_once()
#12 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[2] => Array
(
[q] => SELECT * FROM democb_sessions WHERE session_string='guest' AND session ='61ef1a2ffa8dc4db1d320efa205d6f36'
[timetook] => 0.00028681755065918
[memBefore] => 0.65216064453125
[memAfter] => 0.66919708251953
[memUsed] => 0.017036437988281
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/session.class.php(92): Clipbucket_db->select()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/session.class.php(48): Session->get_user_session()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(5553): Session->add_session()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(1336): userquery->get_sessions()
#8 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(1280): userquery->init()
#9 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/functions.php(482): userquery->getInstance()
#10 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(225): user_id()
#11 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/common.php(156): User->getInstance()
#12 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(9): require_once()
#13 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[3] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM democb_version AS version
[timetook] => 0.00021100044250488
[memBefore] => 0.66919708251953
[memAfter] => 0.65959167480469
[memUsed] => -0.0096054077148438
[use_cache] => yes
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(124): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/update.class.php(60): Clipbucket_db->select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/update.class.php(818): Update->getDBVersion()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(83): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(228): User->__construct()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/common.php(156): User->getInstance()
#8 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(9): require_once()
#9 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): 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 democb_user_levels_permissions AS user_levels_permissions INNER JOIN democb_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.00047206878662109
[memBefore] => 0.65959167480469
[memAfter] => 0.68058013916016
[memUsed] => 0.020988464355469
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user_level.class.php(140): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user_level.class.php(41): UserLevel->getAllPermissions()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user_level.class.php(72): UserLevel->getPermissions()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user_level.class.php(86): UserLevel->getPermission()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(613): UserLevel->hasPermission()
#8 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(647): User->hasPermission()
#9 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/common.php(156): User->hasAdminAccess()
#10 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(9): require_once()
#11 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[5] => Array
(
[q] => SELECT * FROM democb_languages WHERE language_default='yes'
[timetook] => 0.0002140998840332
[memBefore] => 0.68058013916016
[memAfter] => 0.69367980957031
[memUsed] => 0.013099670410156
[use_cache] => yes
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(124): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(318): Clipbucket_db->select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(75): Language->getDefaultLanguage()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(14): Language->init()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/functions.php(1075): Language->getInstance()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(1071): lang()
#8 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/photos.class.php(941): Collections->__construct()
#9 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/photos.class.php(897): CBPhotos->init_collections()
#10 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/common.php(240): CBPhotos->init_photos()
#11 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(9): require_once()
#12 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[6] => Array
(
[q] => SELECT language_key, translation FROM democb_languages_keys AS LK
LEFT JOIN democb_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.0029239654541016
[memBefore] => 0.69367980957031
[memAfter] => 1.5997543334961
[memUsed] => 0.90607452392578
[use_cache] => yes
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(124): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(156): Clipbucket_db->select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(217): Language->getAllTranslations()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(84): Language->loadTranslations()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(14): Language->init()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/functions.php(1075): Language->getInstance()
#8 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(1071): lang()
#9 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/photos.class.php(941): Collections->__construct()
#10 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/photos.class.php(897): CBPhotos->init_collections()
#11 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/common.php(240): CBPhotos->init_photos()
#12 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(9): require_once()
#13 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[7] => Array
(
[q] => SELECT * FROM democb_plugins WHERE plugin_active='yes'
[timetook] => 0.00013494491577148
[memBefore] => 1.5997543334961
[memAfter] => 0.98355102539062
[memUsed] => -0.61620330810547
[use_cache] => yes
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(124): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(21): require_once()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[8] => Array
(
[q] => SELECT * FROM democb_languages WHERE language_default='yes'
[timetook] => 0.00012898445129395
[memBefore] => 0.98355102539062
[memAfter] => 0.99546813964844
[memUsed] => 0.011917114257812
[use_cache] => yes
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(124): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/lang.class.php(318): Clipbucket_db->select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/functions.php(1128): Language->getDefaultLanguage()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/player/CB_video_js/cb_video_js.php(130): CB_video_js->load_dependancies()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/player/CB_video_js/cb_video_js.php(135): CB_video_js->__construct()
#8 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/plugins.php(35): include_once()
#9 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/config.inc.php(21): require_once()
#10 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(6): require()
)
[9] => Array
(
[q] => SELECT userid FROM democb_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.0001528263092041
[memBefore] => 0.99546813964844
[memAfter] => 1.0218200683594
[memUsed] => 0.026351928710938
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(4691): Clipbucket_db->select()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(15): userquery->get_anonymous_user()
)
[10] => 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
, collections.hierarchy_featured
, 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
, COUNT(DISTINCT(collections_enfant.collection_id)) as nb_childs
, 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 democb_collections AS collections
LEFT JOIN democb_users AS users ON collections.userid = users.userid
LEFT JOIN democb_collection_items AS collection_items ON collections.collection_id = collection_items.collection_id
LEFT JOIN democb_video AS video ON collections.type = 'videos' AND collection_items.object_id = video.videoid AND ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = ''))))
LEFT JOIN democb_photos AS photos ON collections.type = 'photos' AND collection_items.object_id = photos.photo_id AND (((photos.active = 'yes' AND (photos.broadcast = 'public' OR (photos.broadcast = 'unlisted')))) AND collection_items.collection_id IS NOT NULL ) LEFT JOIN democb_collections collection_parent ON collections.collection_id_parent = collection_parent.collection_id
LEFT JOIN democb_sorts AS sorts ON sorts.id = collections.sort_type
LEFT JOIN democb_collections AS collections_enfant ON collections.collection_id = collections_enfant.collection_id_parent
LEFT JOIN democb_collection_tags AS collection_tags ON collections.collection_id = collection_tags.id_collection
LEFT JOIN democb_tags AS tags ON collection_tags.id_tag = tags.id_tag
LEFT JOIN democb_collections_categories AS collections_categories ON collections.collection_id = collections_categories.id_collection
LEFT JOIN democb_categories AS categories ON collections_categories.id_category = categories.category_id WHERE collections.collection_id_parent IS NULL
AND ((collections.active = 'yes' AND collections.broadcast = 'public'))
GROUP BY collections.collection_id
HAVING COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) + COUNT(DISTINCT(collections_enfant.collection_id)) > 0 ORDER BY COUNT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END) DESC LIMIT 4
[timetook] => 0.0019431114196777
[memBefore] => 1.0218200683594
[memAfter] => 1.0342178344727
[memUsed] => 0.012397766113281
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(507): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[11] => Array
(
[q] => SELECT id, label, type, is_default FROM democb_sorts WHERE id = 11
[timetook] => 0.00016307830810547
[memBefore] => 1.0342178344727
[memAfter] => 1.0444488525391
[memUsed] => 0.010231018066406
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/sort_type.class.php(35): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(552): SortType->getSortLabelById()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[12] => Array
(
[q] => SELECT COUNT(DISTINCT photos.photo_id) AS count
FROM democb_photos AS photos
LEFT JOIN democb_users AS users ON photos.userid = users.userid LEFT JOIN democb_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN democb_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN democb_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN democb_categories AS categories ON photos_categories.id_category = categories.category_id INNER JOIN democb_collection_items AS collection_items ON collection_items.collection_id = 3 AND photos.photo_id = collection_items.object_id LEFT JOIN democb_collections AS collections ON collection_items.collection_id = collections.collection_id LEFT JOIN democb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE (((photos.active = 'yes' AND (photos.broadcast = 'public' OR (photos.broadcast = 'unlisted')))) AND collection_items.collection_id IS NOT NULL ) AND (((collections.active = 'yes' AND collections.broadcast = 'public')) OR collections.collection_id IS NULL )
[timetook] => 0.00045299530029297
[memBefore] => 1.0444488525391
[memAfter] => 1.0483856201172
[memUsed] => 0.003936767578125
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/photos.class.php(427): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(566): Photo->getAll()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[13] => Array
(
[q] => SELECT id, label, type, is_default FROM democb_sorts WHERE id = 1
[timetook] => 0.00013899803161621
[memBefore] => 1.0483856201172
[memAfter] => 1.0477294921875
[memUsed] => -0.0006561279296875
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/sort_type.class.php(35): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(552): SortType->getSortLabelById()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[14] => Array
(
[q] => SELECT COUNT(DISTINCT video.videoid) AS count, CONCAT('[', GROUP_CONCAT(DISTINCT JSON_OBJECT('id', categories.category_id, 'name', categories.category_name)),']') AS category_list
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN democb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN democb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN democb_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid INNER JOIN democb_collection_items AS collection_items ON collection_items.collection_id = 1 AND video.videoid = collection_items.object_id LEFT JOIN democb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = ''))))
[timetook] => 0.00041294097900391
[memBefore] => 1.0477294921875
[memAfter] => 1.0518188476562
[memUsed] => 0.00408935546875
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(560): Video->getAll()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[15] => Array
(
[q] => SELECT id, label, type, is_default FROM democb_sorts WHERE id = 1
[timetook] => 9.6797943115234E-5
[memBefore] => 1.0518188476562
[memAfter] => 1.0509872436523
[memUsed] => -0.00083160400390625
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/sort_type.class.php(35): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(552): SortType->getSortLabelById()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[16] => Array
(
[q] => SELECT COUNT(DISTINCT video.videoid) AS count, CONCAT('[', GROUP_CONCAT(DISTINCT JSON_OBJECT('id', categories.category_id, 'name', categories.category_name)),']') AS category_list
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN democb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN democb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN democb_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid INNER JOIN democb_collection_items AS collection_items ON collection_items.collection_id = 2 AND video.videoid = collection_items.object_id LEFT JOIN democb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = ''))))
[timetook] => 0.0019528865814209
[memBefore] => 1.0509872436523
[memAfter] => 1.0550994873047
[memUsed] => 0.0041122436523438
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(560): Video->getAll()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[17] => Array
(
[q] => SELECT id, label, type, is_default FROM democb_sorts WHERE id = 1
[timetook] => 9.4890594482422E-5
[memBefore] => 1.0550994873047
[memAfter] => 1.054573059082
[memUsed] => -0.00052642822265625
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/sort_type.class.php(35): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(552): SortType->getSortLabelById()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[18] => Array
(
[q] => SELECT COUNT(DISTINCT video.videoid) AS count, CONCAT('[', GROUP_CONCAT(DISTINCT JSON_OBJECT('id', categories.category_id, 'name', categories.category_name)),']') AS category_list
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN democb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN democb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN democb_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid INNER JOIN democb_collection_items AS collection_items ON collection_items.collection_id = 4 AND video.videoid = collection_items.object_id LEFT JOIN democb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = ''))))
[timetook] => 0.00031590461730957
[memBefore] => 1.054573059082
[memAfter] => 1.0586853027344
[memUsed] => 0.0041122436523438
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(560): Video->getAll()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(28): Collection->getAll()
)
[19] => Array
(
[q] => SELECT users.userid, users.featured_video, users.username, users.user_session_key, users.user_session_code, users.password, users.email, users.usr_status, users.msg_notify, users.avatar, users.avatar_url, users.dob, users.level, users.avcode, users.doj, users.last_logged, users.num_visits, users.session, users.ip, users.signup_ip, users.time_zone, users.featured, users.featured_date, users.profile_hits, users.total_watched, users.total_videos, users.total_comments, users.total_photos, users.total_collections, users.comments_count, users.last_commented, users.voted, users.ban_status, users.upload, users.subscribers, users.total_subscriptions, users.background, users.background_color, users.background_url, users.background_repeat, users.last_active, users.banned_users, users.welcome_email_sent, users.total_downloads, users.album_privacy, users.likes, users.is_live, users.country, users.active_theme, users.email_confirmed, users.multi_factor_auth, users.email_temp, users.mfa_code, users.mfa_date, user_profile.show_my_collections, user_profile.featured_video, user_profile.show_dob, user_profile.time_zone, user_profile.fb_url, user_profile.twitter_url, user_profile.insta_url, user_profile.show_profile, user_profile.allow_comments, user_profile.allow_ratings, user_profile.allow_subscription, user_profile.content_filter, user_profile.icon_id, user_profile.browse_criteria, user_profile.background, user_profile.rating, user_profile.voters, user_profile.rated_by, user_profile.show_my_videos, user_profile.show_my_photos, user_profile.show_my_subscriptions, user_profile.show_my_subscribers, user_profile.show_my_friends, user_profile.companies, user_profile.web_url, user_profile.about_me, user_profile.disabled_channel, user_profile.profile_slogan, user_levels.user_level_name, GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS tags, (user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel != 'yes') AS is_channel_enable
FROM democb_users AS users
LEFT JOIN democb_user_profile AS user_profile ON users.userid = user_profile.userid
INNER JOIN democb_user_levels AS user_levels ON users.level = user_levels.user_level_id LEFT JOIN democb_user_tags AS user_tags ON users.userid = user_tags.id_user LEFT JOIN democb_tags AS tags ON user_tags.id_tag = tags.id_tag INNER JOIN democb_user_levels_permissions_values AS user_levels_permissions_values ON user_levels_permissions_values.user_level_id = user_levels.user_level_id INNER JOIN democb_user_levels_permissions AS user_levels_permissions ON user_levels_permissions_values.id_user_levels_permission = user_levels_permissions.id_user_levels_permission
AND user_levels_permissions.permission_name = 'enable_channel_page' WHERE users.featured = 'yes' AND (user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel = 'no') GROUP BY users.userid,users.featured_video,users.username,users.user_session_key,users.user_session_code,users.password,users.email,users.usr_status,users.msg_notify,users.avatar,users.avatar_url,users.dob,users.level,users.avcode,users.doj,users.last_logged,users.num_visits,users.session,users.ip,users.signup_ip,users.time_zone,users.featured,users.featured_date,users.profile_hits,users.total_watched,users.total_videos,users.total_comments,users.total_photos,users.total_collections,users.comments_count,users.last_commented,users.voted,users.ban_status,users.upload,users.subscribers,users.total_subscriptions,users.background,users.background_color,users.background_url,users.background_repeat,users.last_active,users.banned_users,users.welcome_email_sent,users.total_downloads,users.album_privacy,users.likes,users.is_live,users.country,users.active_theme,users.email_confirmed,users.multi_factor_auth,users.email_temp,users.mfa_code,users.mfa_date,user_profile.show_my_collections,user_profile.featured_video,user_profile.show_dob,user_profile.time_zone,user_profile.fb_url,user_profile.twitter_url,user_profile.insta_url,user_profile.show_profile,user_profile.allow_comments,user_profile.allow_ratings,user_profile.allow_subscription,user_profile.content_filter,user_profile.icon_id,user_profile.browse_criteria,user_profile.background,user_profile.rating,user_profile.voters,user_profile.rated_by,user_profile.show_my_videos,user_profile.show_my_photos,user_profile.show_my_subscriptions,user_profile.show_my_subscribers,user_profile.show_my_friends,user_profile.companies,user_profile.web_url,user_profile.about_me,user_profile.disabled_channel,user_profile.profile_slogan,users.userid,user_levels_permissions.id_user_levels_permission ,(user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel != 'yes') LIMIT 5
[timetook] => 0.0010490417480469
[memBefore] => 1.0586853027344
[memAfter] => 1.0898056030273
[memUsed] => 0.031120300292969
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/user.class.php(557): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(37): User->getAll()
)
[20] => Array
(
[q] => SELECT playlists.playlist_id, playlists.playlist_name, playlists.userid, playlists.playlist_type, playlists.description, playlists.privacy, playlists.total_items, playlists.last_update, playlists.runtime, playlists.first_item, playlists.cover, playlists.played, playlists.date_added, users.username AS user_username, GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS playlists_tags, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category
FROM democb_playlists AS playlists
LEFT JOIN democb_users AS users ON playlists.userid = users.userid LEFT JOIN democb_playlist_tags AS playlist_tags ON playlists.playlist_id = playlist_tags.id_playlist LEFT JOIN democb_tags AS tags ON playlist_tags.id_tag = tags.id_tag LEFT JOIN democb_playlists_categories AS playlists_categories ON playlists.playlist_id = playlists_categories.id_playlist LEFT JOIN democb_categories AS categories ON playlists_categories.id_category = categories.category_id WHERE ((playlists.privacy = 'public' AND playlists.total_items > 0) ) GROUP BY playlists.playlist_id ORDER BY playlists.total_items DESC LIMIT 4
[timetook] => 0.0004119873046875
[memBefore] => 1.0898056030273
[memAfter] => 1.0743103027344
[memUsed] => -0.015495300292969
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/playlist.class.php(208): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(45): Playlist->getAll()
)
[21] => Array
(
[q] => SELECT video.videoid, video.videokey, video.video_password, video.username, video.userid, video.title, video.file_name, video.file_type, video.file_directory, video.description, video.broadcast, video.location, video.datecreated, video.country, video.allow_embedding, video.rating, video.rated_by, video.voter_ids, video.allow_comments, video.comment_voting, video.comments_count, video.last_commented, video.featured, video.featured_date, video.allow_rating, video.active, video.favourite_count, video.playlist_count, video.views, video.last_viewed, video.date_added, video.flagged, video.duration, video.status, video.default_thumb, video.embed_code, video.downloads, video.uploader_ip, video.video_files, video.file_server_path, video.video_version, video.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.default_poster, video.default_backdrop, video.fov, video.convert_percent, video.aspect_ratio, video.default_thumbnail, video.remote_play_url, users.username AS user_username, GROUP_CONCAT( DISTINCT(users_video.username) SEPARATOR ',') AS video_users
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid WHERE ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public'))) GROUP BY video.videoid,video.videokey,video.video_password,video.username,video.userid,video.title,video.file_name,video.file_type,video.file_directory,video.description,video.broadcast,video.location,video.datecreated,video.country,video.allow_embedding,video.rating,video.rated_by,video.voter_ids,video.allow_comments,video.comment_voting,video.comments_count,video.last_commented,video.featured,video.featured_date,video.allow_rating,video.active,video.favourite_count,video.playlist_count,video.views,video.last_viewed,video.date_added,video.flagged,video.duration,video.status,video.default_thumb,video.embed_code,video.downloads,video.uploader_ip,video.video_files,video.file_server_path,video.video_version,video.subscription_email,video.is_castable,video.bits_color,video.age_restriction,video.default_poster,video.default_backdrop,video.fov,video.convert_percent,video.aspect_ratio,video.default_thumbnail,video.remote_play_url,users.username,video.date_added ORDER BY video.date_added DESC LIMIT 20
[timetook] => 0.001554012298584
[memBefore] => 1.0743103027344
[memAfter] => 1.1023635864258
[memUsed] => 0.028053283691406
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(57): Video->getAll()
)
[22] => Array
(
[q] => SELECT COUNT(DISTINCT video.videoid) AS count
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid WHERE ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public')))
[timetook] => 0.00022387504577637
[memBefore] => 1.1023635864258
[memAfter] => 1.1597747802734
[memUsed] => 0.057411193847656
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(71): Video->getAll()
)
[23] => 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
, collections.hierarchy_featured
, 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
, COUNT(DISTINCT(collections_enfant.collection_id)) as nb_childs
, 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 democb_collections AS collections
LEFT JOIN democb_users AS users ON collections.userid = users.userid
LEFT JOIN democb_collection_items AS collection_items ON collections.collection_id = collection_items.collection_id
LEFT JOIN democb_video AS video ON collections.type = 'videos' AND collection_items.object_id = video.videoid AND ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = ''))))
LEFT JOIN democb_photos AS photos ON collections.type = 'photos' AND collection_items.object_id = photos.photo_id AND (((photos.active = 'yes' AND (photos.broadcast = 'public' OR (photos.broadcast = 'unlisted')))) AND collection_items.collection_id IS NOT NULL ) LEFT JOIN democb_collections collection_parent ON collections.collection_id_parent = collection_parent.collection_id
LEFT JOIN democb_sorts AS sorts ON sorts.id = collections.sort_type
LEFT JOIN democb_collections AS collections_enfant ON collections.collection_id = collections_enfant.collection_id_parent
LEFT JOIN democb_collection_tags AS collection_tags ON collections.collection_id = collection_tags.id_collection
LEFT JOIN democb_tags AS tags ON collection_tags.id_tag = tags.id_tag
LEFT JOIN democb_collections_categories AS collections_categories ON collections.collection_id = collections_categories.id_collection
LEFT JOIN democb_categories AS categories ON collections_categories.id_category = categories.category_id WHERE collections.featured = 'yes'
AND collections.type = 'videos'
AND ((collections.active = 'yes' AND collections.broadcast = 'public'))
GROUP BY collections.collection_id
HAVING COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) + COUNT(DISTINCT(collections_enfant.collection_id)) > 0
[timetook] => 0.0010538101196289
[memBefore] => 1.1597747802734
[memAfter] => 1.1680526733398
[memUsed] => 0.0082778930664062
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(507): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(90): Collection->getAll()
)
[24] => Array
(
[q] => SELECT id, label, type, is_default FROM democb_sorts WHERE id = 1
[timetook] => 0.00010490417480469
[memBefore] => 1.1680526733398
[memAfter] => 1.1741333007812
[memUsed] => 0.0060806274414062
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/sort_type.class.php(35): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(552): SortType->getSortLabelById()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(90): Collection->getAll()
)
[25] => Array
(
[q] => SELECT * FROM democb_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00013089179992676
[memBefore] => 1.1741333007812
[memAfter] => 1.1705856323242
[memUsed] => -0.0035476684570312
[use_cache] => yes
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(124): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/tags.class.php(322): Clipbucket_db->select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/tags.class.php(330): Tags->getTagTypes()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(473): Tags->getVideoTypes()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(560): Video->getAll()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(90): Collection->getAll()
)
[26] => Array
(
[q] => SELECT video.videoid, video.videokey, video.video_password, video.username, video.userid, video.title, video.file_name, video.file_type, video.file_directory, video.description, video.broadcast, video.location, video.datecreated, video.country, video.allow_embedding, video.rating, video.rated_by, video.voter_ids, video.allow_comments, video.comment_voting, video.comments_count, video.last_commented, video.featured, video.featured_date, video.allow_rating, video.active, video.favourite_count, video.playlist_count, video.views, video.last_viewed, video.date_added, video.flagged, video.duration, video.status, video.default_thumb, video.embed_code, video.downloads, video.uploader_ip, video.video_files, video.file_server_path, video.video_version, video.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.default_poster, video.default_backdrop, video.fov, video.convert_percent, video.aspect_ratio, video.default_thumbnail, video.remote_play_url, users.username AS user_username, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 6 THEN tags.name END) SEPARATOR ',') AS tags_actors, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 10 THEN tags.name END) SEPARATOR ',') AS tags_crew, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 9 THEN tags.name END) SEPARATOR ',') AS tags_director, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 8 THEN tags.name END) SEPARATOR ',') AS tags_executive_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 11 THEN tags.name END) SEPARATOR ',') AS tags_genre, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 7 THEN tags.name END) SEPARATOR ',') AS tags_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 1 THEN tags.name END) SEPARATOR ',') AS tags_video, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category, GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category_names, CONCAT('[', GROUP_CONCAT(DISTINCT JSON_OBJECT('id', categories.category_id, 'name', categories.category_name)),']') AS category_list, GROUP_CONCAT( DISTINCT(users_video.username) SEPARATOR ',') AS video_users , user_profile.disabled_channel
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN democb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN democb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN democb_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid INNER JOIN democb_collection_items AS collection_items ON collection_items.collection_id = 1 AND video.videoid = collection_items.object_id LEFT JOIN democb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = '')))) GROUP BY video.videoid,video.videokey,video.video_password,video.username,video.userid,video.title,video.file_name,video.file_type,video.file_directory,video.description,video.broadcast,video.location,video.datecreated,video.country,video.allow_embedding,video.rating,video.rated_by,video.voter_ids,video.allow_comments,video.comment_voting,video.comments_count,video.last_commented,video.featured,video.featured_date,video.allow_rating,video.active,video.favourite_count,video.playlist_count,video.views,video.last_viewed,video.date_added,video.flagged,video.duration,video.status,video.default_thumb,video.embed_code,video.downloads,video.uploader_ip,video.video_files,video.file_server_path,video.video_version,video.subscription_email,video.is_castable,video.bits_color,video.age_restriction,video.default_poster,video.default_backdrop,video.fov,video.convert_percent,video.aspect_ratio,video.default_thumbnail,video.remote_play_url,users.username,video.videoid,video.videoid,user_profile.disabled_channel,video.date_added ORDER BY video.date_added ASC
[timetook] => 0.0018219947814941
[memBefore] => 1.1705856323242
[memAfter] => 1.2129821777344
[memUsed] => 0.042396545410156
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(560): Video->getAll()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(90): Collection->getAll()
)
[27] => Array
(
[q] => SELECT id, label, type, is_default FROM democb_sorts WHERE id = 1
[timetook] => 9.8943710327148E-5
[memBefore] => 1.2129821777344
[memAfter] => 1.3320999145508
[memUsed] => 0.11911773681641
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/sort_type.class.php(35): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(552): SortType->getSortLabelById()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(90): Collection->getAll()
)
[28] => Array
(
[q] => SELECT * FROM democb_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 8.702278137207E-5
[memBefore] => 1.3320999145508
[memAfter] => 1.3285369873047
[memUsed] => -0.0035629272460938
[use_cache] => yes
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(124): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(183): Clipbucket_db->_select()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/tags.class.php(322): Clipbucket_db->select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/tags.class.php(330): Tags->getTagTypes()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(473): Tags->getVideoTypes()
#6 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(560): Video->getAll()
#7 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(90): Collection->getAll()
)
[29] => Array
(
[q] => SELECT video.videoid, video.videokey, video.video_password, video.username, video.userid, video.title, video.file_name, video.file_type, video.file_directory, video.description, video.broadcast, video.location, video.datecreated, video.country, video.allow_embedding, video.rating, video.rated_by, video.voter_ids, video.allow_comments, video.comment_voting, video.comments_count, video.last_commented, video.featured, video.featured_date, video.allow_rating, video.active, video.favourite_count, video.playlist_count, video.views, video.last_viewed, video.date_added, video.flagged, video.duration, video.status, video.default_thumb, video.embed_code, video.downloads, video.uploader_ip, video.video_files, video.file_server_path, video.video_version, video.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.default_poster, video.default_backdrop, video.fov, video.convert_percent, video.aspect_ratio, video.default_thumbnail, video.remote_play_url, users.username AS user_username, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 6 THEN tags.name END) SEPARATOR ',') AS tags_actors, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 10 THEN tags.name END) SEPARATOR ',') AS tags_crew, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 9 THEN tags.name END) SEPARATOR ',') AS tags_director, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 8 THEN tags.name END) SEPARATOR ',') AS tags_executive_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 11 THEN tags.name END) SEPARATOR ',') AS tags_genre, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 7 THEN tags.name END) SEPARATOR ',') AS tags_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 1 THEN tags.name END) SEPARATOR ',') AS tags_video, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category, GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category_names, CONCAT('[', GROUP_CONCAT(DISTINCT JSON_OBJECT('id', categories.category_id, 'name', categories.category_name)),']') AS category_list, GROUP_CONCAT( DISTINCT(users_video.username) SEPARATOR ',') AS video_users , user_profile.disabled_channel
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN democb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN democb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN democb_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid INNER JOIN democb_collection_items AS collection_items ON collection_items.collection_id = 2 AND video.videoid = collection_items.object_id LEFT JOIN democb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = '')))) GROUP BY video.videoid,video.videokey,video.video_password,video.username,video.userid,video.title,video.file_name,video.file_type,video.file_directory,video.description,video.broadcast,video.location,video.datecreated,video.country,video.allow_embedding,video.rating,video.rated_by,video.voter_ids,video.allow_comments,video.comment_voting,video.comments_count,video.last_commented,video.featured,video.featured_date,video.allow_rating,video.active,video.favourite_count,video.playlist_count,video.views,video.last_viewed,video.date_added,video.flagged,video.duration,video.status,video.default_thumb,video.embed_code,video.downloads,video.uploader_ip,video.video_files,video.file_server_path,video.video_version,video.subscription_email,video.is_castable,video.bits_color,video.age_restriction,video.default_poster,video.default_backdrop,video.fov,video.convert_percent,video.aspect_ratio,video.default_thumbnail,video.remote_play_url,users.username,video.videoid,video.videoid,user_profile.disabled_channel,video.date_added ORDER BY video.date_added ASC
[timetook] => 0.021605014801025
[memBefore] => 1.3285369873047
[memAfter] => 1.3864974975586
[memUsed] => 0.057960510253906
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/collections.class.php(560): Video->getAll()
#5 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(90): Collection->getAll()
)
[30] => Array
(
[q] => SELECT video.videoid, video.videokey, video.video_password, video.username, video.userid, video.title, video.file_name, video.file_type, video.file_directory, video.description, video.broadcast, video.location, video.datecreated, video.country, video.allow_embedding, video.rating, video.rated_by, video.voter_ids, video.allow_comments, video.comment_voting, video.comments_count, video.last_commented, video.featured, video.featured_date, video.allow_rating, video.active, video.favourite_count, video.playlist_count, video.views, video.last_viewed, video.date_added, video.flagged, video.duration, video.status, video.default_thumb, video.embed_code, video.downloads, video.uploader_ip, video.video_files, video.file_server_path, video.video_version, video.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.default_poster, video.default_backdrop, video.fov, video.convert_percent, video.aspect_ratio, video.default_thumbnail, video.remote_play_url, users.username AS user_username, GROUP_CONCAT( DISTINCT(users_video.username) SEPARATOR ',') AS video_users
FROM democb_video AS video
LEFT JOIN democb_users AS users ON video.userid = users.userid LEFT JOIN democb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN democb_users AS users_video ON users_video.userid = video_users.userid WHERE video.featured = 'yes' AND ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public'))) GROUP BY video.videoid,video.videokey,video.video_password,video.username,video.userid,video.title,video.file_name,video.file_type,video.file_directory,video.description,video.broadcast,video.location,video.datecreated,video.country,video.allow_embedding,video.rating,video.rated_by,video.voter_ids,video.allow_comments,video.comment_voting,video.comments_count,video.last_commented,video.featured,video.featured_date,video.allow_rating,video.active,video.favourite_count,video.playlist_count,video.views,video.last_viewed,video.date_added,video.flagged,video.duration,video.status,video.default_thumb,video.embed_code,video.downloads,video.uploader_ip,video.video_files,video.file_server_path,video.video_version,video.subscription_email,video.is_castable,video.bits_color,video.age_restriction,video.default_poster,video.default_backdrop,video.fov,video.convert_percent,video.aspect_ratio,video.default_thumbnail,video.remote_play_url,users.username LIMIT 20
[timetook] => 0.001060962677002
[memBefore] => 1.3864974975586
[memAfter] => 1.482177734375
[memUsed] => 0.095680236816406
[use_cache] => no
[backtrace] => #1 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(250): devWitch()
#2 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/db.class.php(134): Clipbucket_db->execute()
#3 /srv/http/demo.clipbucket.oxygenz.fr/upload/includes/classes/video.class.php(578): Clipbucket_db->_select()
#4 /srv/http/demo.clipbucket.oxygenz.fr/upload/index.php(119): Video->getAll()
)
)