Select Queries (20)
Array
(
[0] => Array
(
[q] => SELECT * FROM cb_config
[timetook] => 0.0014128684997559
[memBefore] => 0.52199554443359
[memAfter] => 0.56828308105469
[memUsed] => 0.046287536621094
[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(94): 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/watch_video_core.php(3): require()
#8 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[1] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session ='68ruqmk74v1hungh382nsn5eo9'
[timetook] => 0.00054287910461426
[memBefore] => 0.56828308105469
[memAfter] => 0.87310791015625
[memUsed] => 0.30482482910156
[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(103): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5511): Session->get_sessions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1209): userquery->get_sessions()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1153): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/functions.php(480): userquery->getInstance()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(217): user_id()
#10 /var/www/html/clipbucket-v5/upload/includes/common.php(149): User->getInstance()
#11 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#12 /var/www/html/clipbucket-v5/upload/watch_video_core.php(3): require()
#13 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[2] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session_string='guest' AND session ='68ruqmk74v1hungh382nsn5eo9'
[timetook] => 0.00051307678222656
[memBefore] => 0.86209869384766
[memAfter] => 0.87905883789062
[memUsed] => 0.016960144042969
[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(92): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(48): Session->get_user_session()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5518): Session->add_session()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1209): userquery->get_sessions()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1153): userquery->init()
#9 /var/www/html/clipbucket-v5/upload/includes/functions.php(480): userquery->getInstance()
#10 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(217): user_id()
#11 /var/www/html/clipbucket-v5/upload/includes/common.php(149): User->getInstance()
#12 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#13 /var/www/html/clipbucket-v5/upload/watch_video_core.php(3): require()
#14 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[3] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM cb_version AS version
[timetook] => 0.00020194053649902
[memBefore] => 0.87905883789062
[memAfter] => 0.93468475341797
[memUsed] => 0.055625915527344
[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(773): Update->getDBVersion()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(82): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(220): User->__construct()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(149): User->getInstance()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/watch_video_core.php(3): require()
#10 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[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.0010318756103516
[memBefore] => 0.93468475341797
[memAfter] => 0.96218109130859
[memUsed] => 0.027496337890625
[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(140): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(41): UserLevel->getAllPermissions()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(72): UserLevel->getPermissions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(86): UserLevel->getPermission()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(593): UserLevel->hasPermission()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(624): User->hasPermission()
#9 /var/www/html/clipbucket-v5/upload/includes/common.php(149): User->hasAdminAccess()
#10 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#11 /var/www/html/clipbucket-v5/upload/watch_video_core.php(3): require()
#12 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[5] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00013899803161621
[memBefore] => 0.96218109130859
[memAfter] => 1.0531921386719
[memUsed] => 0.091011047363281
[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(75): 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(1072): Language->getInstance()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(985): lang()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(845): Collections->__construct()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(801): CBPhotos->init_collections()
#10 /var/www/html/clipbucket-v5/upload/includes/common.php(235): CBPhotos->init_photos()
#11 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#12 /var/www/html/clipbucket-v5/upload/watch_video_core.php(3): require()
#13 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[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.0025079250335693
[memBefore] => 1.0531921386719
[memAfter] => 1.8928451538086
[memUsed] => 0.83965301513672
[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(156): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(217): Language->getAllTranslations()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(84): 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(1072): Language->getInstance()
#8 /var/www/html/clipbucket-v5/upload/includes/classes/collections.class.php(985): lang()
#9 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(845): Collections->__construct()
#10 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(801): CBPhotos->init_collections()
#11 /var/www/html/clipbucket-v5/upload/includes/common.php(235): CBPhotos->init_photos()
#12 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#13 /var/www/html/clipbucket-v5/upload/watch_video_core.php(3): require()
#14 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[7] => Array
(
[q] => SELECT * FROM cb_plugins WHERE plugin_active='yes'
[timetook] => 0.00023412704467773
[memBefore] => 1.8928451538086
[memAfter] => 1.3873672485352
[memUsed] => -0.50547790527344
[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/watch_video_core.php(3): require()
#7 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[8] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00041794776916504
[memBefore] => 1.3873672485352
[memAfter] => 1.4179763793945
[memUsed] => 0.030609130859375
[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(1125): 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/watch_video_core.php(3): require()
#11 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[9] => Array
(
[q] => SELECT * FROM cb_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00026082992553711
[memBefore] => 1.4179763793945
[memAfter] => 1.4374847412109
[memUsed] => 0.019508361816406
[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/tags.class.php(322): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/tags.class.php(330): Tags->getTagTypes()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(443): Tags->getVideoTypes()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(213): Video->getAll()
#7 /var/www/html/clipbucket-v5/upload/watch_video_core.php(21): Video->getOne()
#8 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[10] => 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.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, video.aspect_ratio, 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 cb_video AS video
LEFT JOIN cb_users AS users ON video.userid = users.userid LEFT JOIN cb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN cb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cb_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN cb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN cb_users AS users_video ON users_video.userid = video_users.userid LEFT JOIN cb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE video.videokey = '19XGO573SK6X' 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 = '')))) 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.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,video.aspect_ratio,video.remote_play_url,users.username,video.videoid,video.videoid,user_profile.disabled_channel
[timetook] => 0.08622407913208
[memBefore] => 1.4374847412109
[memAfter] => 1.4859771728516
[memUsed] => 0.048492431640625
[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/video.class.php(542): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(213): Video->getAll()
#5 /var/www/html/clipbucket-v5/upload/watch_video_core.php(21): Video->getOne()
#6 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[11] => Array
(
[q] => SELECT * FROM cb_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00059795379638672
[memBefore] => 1.4859771728516
[memAfter] => 1.4571685791016
[memUsed] => -0.02880859375
[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/tags.class.php(322): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/tags.class.php(330): Tags->getTagTypes()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(443): Tags->getVideoTypes()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(213): Video->getAll()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(675): Video->getOne()
#8 /var/www/html/clipbucket-v5/upload/includes/functions_video.php(90): Video->isCurrentUserRestricted()
#9 /var/www/html/clipbucket-v5/upload/watch_video_core.php(22): video_playable()
#10 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[12] => 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.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, video.aspect_ratio, 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 cb_video AS video
LEFT JOIN cb_users AS users ON video.userid = users.userid LEFT JOIN cb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN cb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cb_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN cb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN cb_users AS users_video ON users_video.userid = video_users.userid LEFT JOIN cb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE video.videoid = '7032' 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 = '')))) 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.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,video.aspect_ratio,video.remote_play_url,users.username,video.videoid,video.videoid,user_profile.disabled_channel
[timetook] => 0.0048351287841797
[memBefore] => 1.4571685791016
[memAfter] => 1.5059051513672
[memUsed] => 0.048736572265625
[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/video.class.php(542): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(213): Video->getAll()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(675): Video->getOne()
#6 /var/www/html/clipbucket-v5/upload/includes/functions_video.php(90): Video->isCurrentUserRestricted()
#7 /var/www/html/clipbucket-v5/upload/watch_video_core.php(22): video_playable()
#8 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[13] => 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.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, video.aspect_ratio, video.remote_play_url, users.username AS user_username, GROUP_CONCAT( DISTINCT(users_video.username) SEPARATOR ',') AS video_users
FROM cb_video AS video
LEFT JOIN cb_users AS users ON video.userid = users.userid LEFT JOIN cb_video_users AS video_users ON video_users.videoid = video.videoid LEFT JOIN cb_users AS users_video ON users_video.userid = video_users.userid WHERE video.status = 'Successful' AND MATCH(video.title) AGAINST ('Get Out NOW- Italy is about EXPLODE and millions will die- Why are they ignoring it Redacted' IN NATURAL LANGUAGE MODE) OR LOWER(video.title) LIKE '%Get Out NOW- Italy is about EXPLODE and millions will die- Why are they ignoring it Redacted%' 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.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,video.aspect_ratio,video.remote_play_url,users.username ORDER BY RAND() LIMIT 12
[timetook] => 0.33387207984924
[memBefore] => 1.5059051513672
[memAfter] => 1.5110931396484
[memUsed] => 0.00518798828125
[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/video.class.php(542): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/watch_video_core.php(75): Video->getAll()
#5 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[14] => Array
(
[q] => SELECT * FROM cb_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.0008080005645752
[memBefore] => 1.5110931396484
[memAfter] => 1.5104675292969
[memUsed] => -0.0006256103515625
[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/tags.class.php(322): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/tags.class.php(330): Tags->getTagTypes()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(1331): Tags->getVideoTypes()
#6 /var/www/html/clipbucket-v5/upload/includes/functions_video.php(578): CBvideo->get_video()
#7 /var/www/html/clipbucket-v5/upload/includes/functions.php(1456): get_video_details()
#8 /var/www/html/clipbucket-v5/upload/includes/functions_video.php(942): increment_views()
#9 /var/www/html/clipbucket-v5/upload/watch_video_core.php(102): call_watch_video_function()
#10 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[15] => 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.thumbs_version, video.re_conv_status, video.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.fov, video.convert_percent, video.aspect_ratio, video.remote_play_url, users.userid, users.username, users.email, users.avatar, users.sex, users.avatar_url, users.dob, users.level, users.usr_status, users.user_session_key, users.featured, users.ban_status, users.total_photos, users.profile_hits, users.total_videos, users.subscribers, users.total_subscriptions , GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 6 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_actors, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 10 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_crew, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 9 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_director, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 8 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_executive_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 11 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_genre, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 7 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 1 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_video , GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category FROM cb_video AS video LEFT JOIN cb_users AS users ON video.userid = users.userid LEFT JOIN cb_video_tags AS video_tags ON video.videoid = video_tags.id_video
LEFT JOIN cb_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cb_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cb_categories AS categories ON videos_categories.id_category = categories.category_id WHERE video.videokey = '19XGO573SK6X' GROUP BY video.videoid , video.videoid LIMIT 1
[timetook] => 0.036822080612183
[memBefore] => 1.5104675292969
[memAfter] => 1.5484390258789
[memUsed] => 0.037971496582031
[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(106): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(1364): select()
#5 /var/www/html/clipbucket-v5/upload/includes/functions_video.php(578): CBvideo->get_video()
#6 /var/www/html/clipbucket-v5/upload/includes/functions.php(1456): get_video_details()
#7 /var/www/html/clipbucket-v5/upload/includes/functions_video.php(942): increment_views()
#8 /var/www/html/clipbucket-v5/upload/watch_video_core.php(102): call_watch_video_function()
#9 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[16] => Array
(
[q] => SELECT userid FROM cb_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00077199935913086
[memBefore] => 1.5177841186523
[memAfter] => 1.5253982543945
[memUsed] => 0.0076141357421875
[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(4590): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/watch_video_core.php(113): userquery->get_anonymous_user()
#6 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[17] => Array
(
[q] => SELECT id, label, type, is_default FROM cb_sorts WHERE is_default = TRUE AND type = 'videos'
[timetook] => 0.0007011890411377
[memBefore] => 1.5253982543945
[memAfter] => 1.5309524536133
[memUsed] => 0.00555419921875
[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/includes/functions.php(1993): SortType->getDefaultByType()
#5 /var/www/html/clipbucket-v5/upload/includes/functions.php(1197): sort_link()
#6 /var/www/html/clipbucket-v5/upload/watch_video_core.php(159): cblink()
#7 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[18] => Array
(
[q] => SELECT id, label, type, is_default FROM cb_sorts WHERE is_default = TRUE AND type = 'videos'
[timetook] => 0.00081896781921387
[memBefore] => 1.5309524536133
[memAfter] => 1.5325088500977
[memUsed] => 0.001556396484375
[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/includes/functions.php(1993): SortType->getDefaultByType()
#5 /var/www/html/clipbucket-v5/upload/includes/functions.php(1197): sort_link()
#6 /var/www/html/clipbucket-v5/upload/watch_video_core.php(159): cblink()
#7 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
[19] => Array
(
[q] => SELECT id, label, type, is_default FROM cb_sorts WHERE is_default = TRUE AND type = 'videos'
[timetook] => 0.00083494186401367
[memBefore] => 1.5325088500977
[memAfter] => 1.5337066650391
[memUsed] => 0.0011978149414062
[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/includes/functions.php(1993): SortType->getDefaultByType()
#5 /var/www/html/clipbucket-v5/upload/includes/functions.php(1197): sort_link()
#6 /var/www/html/clipbucket-v5/upload/watch_video_core.php(159): cblink()
#7 /var/www/html/clipbucket-v5/upload/watch_video.php(5): require_once()
)
)
Comment (0)