Select Queries (15)
Array
(
[0] => Array
(
[q] => SELECT * FROM cb_config
[timetook] => 0.0013859272003174
[memBefore] => 0.51389312744141
[memAfter] => 0.55615234375
[memUsed] => 0.042259216308594
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): 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(32): db_select()
#5 /var/www/html/clipbucket-v5/upload/includes/common.php(102): 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/index.php(6): require()
)
[1] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00057101249694824
[memBefore] => 0.55615234375
[memAfter] => 0.85732269287109
[memUsed] => 0.30117034912109
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(317): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(73): Language->getDefaultLanguage()
#5 /var/www/html/clipbucket-v5/upload/includes/common.php(152): Language->init()
#6 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#7 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[2] => 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.0055251121520996
[memBefore] => 0.85732269287109
[memAfter] => 1.6381225585938
[memUsed] => 0.78079986572266
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(154): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(215): Language->getAllTranslations()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(82): Language->loadTranslations()
#6 /var/www/html/clipbucket-v5/upload/includes/common.php(152): Language->init()
#7 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#8 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[3] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session ='9sq74gaeg5devajajolfgb8utn'
[timetook] => 0.00064301490783691
[memBefore] => 1.6381225585938
[memAfter] => 1.10498046875
[memUsed] => -0.53314208984375
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): 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(5145): Session->get_sessions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(856): userquery->get_sessions()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[4] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session_string='guest' AND session ='9sq74gaeg5devajajolfgb8utn'
[timetook] => 0.00058197975158691
[memBefore] => 1.0933609008789
[memAfter] => 1.1099243164062
[memUsed] => 0.016563415527344
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): 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(5152): Session->add_session()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(856): userquery->get_sessions()
#8 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#9 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#10 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[5] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM cb_version AS version
[timetook] => 0.00037097930908203
[memBefore] => 1.1099243164062
[memAfter] => 1.0963516235352
[memUsed] => -0.013572692871094
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): 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(761): 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(894): UserLevel->getPermissions()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[6] => 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.00097107887268066
[memBefore] => 1.0963516235352
[memAfter] => 1.1202697753906
[memUsed] => 0.023918151855469
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): 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(894): UserLevel->getPermissions()
#6 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#7 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#8 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[7] => Array
(
[q] => SELECT * FROM cb_plugins WHERE plugin_active='yes'
[timetook] => 0.00044894218444824
[memBefore] => 1.1202697753906
[memAfter] => 1.2957382202148
[memUsed] => 0.17546844482422
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): 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(10): require_once()
#6 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[8] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00036883354187012
[memBefore] => 1.2957382202148
[memAfter] => 1.3222808837891
[memUsed] => 0.026542663574219
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(317): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/functions.php(1169): 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(141): CB_video_js->load_dependancies()
#7 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(146): 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(10): require_once()
#10 /var/www/html/clipbucket-v5/upload/index.php(6): require()
)
[9] => Array
(
[q] => SELECT userid FROM cb_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00058698654174805
[memBefore] => 1.3222808837891
[memAfter] => 1.3449554443359
[memUsed] => 0.022674560546875
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(4223): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/index.php(9): 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
, 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
, 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_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.collection_id_parent IS NULL
AND (collections.active = 'yes' AND collections.broadcast = 'public')
GROUP BY collections.collection_id ORDER BY COUNT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END) DESC LIMIT 4
[timetook] => 0.019567012786865
[memBefore] => 1.3449554443359
[memAfter] => 1.3628845214844
[memUsed] => 0.017929077148438
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(450): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/index.php(22): Collection->getAll()
)
[11] => 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.sex, users.dob, users.country, 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, user_profile.show_my_collections, user_profile.profile_title, user_profile.profile_desc, user_profile.featured_video, user_profile.first_name, user_profile.last_name, user_profile.show_dob, user_profile.postal_code, user_profile.time_zone, user_profile.web_url, user_profile.fb_url, user_profile.twitter_url, user_profile.insta_url, user_profile.hometown, user_profile.city, user_profile.online_status, 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.about_me, user_profile.education, user_profile.schools, user_profile.occupation, user_profile.companies, user_profile.relation_status, user_profile.hobbies, user_profile.fav_movies, user_profile.fav_music, user_profile.fav_books, 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.disabled_channel, 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 cb_users AS users
LEFT JOIN cb_user_profile AS user_profile ON users.userid = user_profile.userid
INNER JOIN cb_user_levels AS user_levels ON users.level = user_levels.user_level_id LEFT JOIN cb_user_tags AS user_tags ON users.userid = user_tags.id_user LEFT JOIN cb_tags AS tags ON user_tags.id_tag = tags.id_tag LEFT JOIN cb_users_categories AS users_categories ON users.userid = users_categories.id_user LEFT JOIN cb_categories AS categories ON users_categories.id_category = categories.category_id INNER JOIN cb_user_levels_permissions_values AS user_levels_permissions_values ON user_levels_permissions_values.user_level_id = user_levels.user_level_id INNER JOIN cb_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.sex,users.dob,users.country,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,user_profile.show_my_collections,user_profile.profile_title,user_profile.profile_desc,user_profile.featured_video,user_profile.first_name,user_profile.last_name,user_profile.show_dob,user_profile.postal_code,user_profile.time_zone,user_profile.web_url,user_profile.fb_url,user_profile.twitter_url,user_profile.insta_url,user_profile.hometown,user_profile.city,user_profile.online_status,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.about_me,user_profile.education,user_profile.schools,user_profile.occupation,user_profile.companies,user_profile.relation_status,user_profile.hobbies,user_profile.fav_movies,user_profile.fav_music,user_profile.fav_books,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.disabled_channel,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.00559401512146
[memBefore] => 1.3628845214844
[memAfter] => 1.4140548706055
[memUsed] => 0.051170349121094
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(444): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/index.php(31): User->getAll()
)
[12] => 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 cb_playlists AS playlists
LEFT JOIN cb_users AS users ON playlists.userid = users.userid LEFT JOIN cb_playlist_tags AS playlist_tags ON playlists.playlist_id = playlist_tags.id_playlist LEFT JOIN cb_tags AS tags ON playlist_tags.id_tag = tags.id_tag LEFT JOIN cb_playlists_categories AS playlists_categories ON playlists.playlist_id = playlists_categories.id_playlist LEFT JOIN cb_categories AS categories ON playlists_categories.id_category = categories.category_id WHERE (playlists.privacy = 'public') GROUP BY playlists.playlist_id ORDER BY playlists.total_items DESC LIMIT 4
[timetook] => 0.0022289752960205
[memBefore] => 1.4140548706055
[memAfter] => 1.3771057128906
[memUsed] => -0.036949157714844
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/playlist.class.php(203): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/index.php(39): Playlist->getAll()
)
[13] => 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
, sorts.id as sort_type_id
, 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.featured = 'yes'
AND collections.type = 'videos'
AND collections.collection_id_parent IS NULL
AND (collections.active = 'yes' AND collections.broadcast = 'public')
GROUP BY collections.collection_id
[timetook] => 0.0035629272460938
[memBefore] => 1.3771057128906
[memAfter] => 1.3837890625
[memUsed] => 0.006683349609375
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(450): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/index.php(81): Collection->getAll()
)
[14] => Array
(
[q] => SELECT video.videoid, video.videokey, video.video_password, video.video_users, 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.thumbs_version, video.re_conv_status, video.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.default_poster, video.default_backdrop, video.fov, video.convert_percent, users.username AS user_username
FROM cb_video AS video
LEFT JOIN cb_users AS users ON video.userid = users.userid WHERE video.featured = 'yes' AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public'))) GROUP BY video.videoid,video.videokey,video.video_password,video.video_users,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.thumbs_version,video.re_conv_status,video.subscription_email,video.is_castable,video.bits_color,video.age_restriction,video.default_poster,video.default_backdrop,video.fov,video.convert_percent,users.username LIMIT 20
[timetook] => 0.0061829090118408
[memBefore] => 1.3837890625
[memAfter] => 1.4278030395508
[memUsed] => 0.044013977050781
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(502): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/index.php(97): Video->getAll()
)
)