Select Queries (21)
Array
(
[0] => Array
(
[q] => SELECT * FROM cb_config
[timetook] => 0.00034880638122559
[memBefore] => 0.41725158691406
[memAfter] => 0.44377136230469
[memUsed] => 0.026519775390625
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/my_queries.class.php(41): db_select()
#5 /srv/http/clipbucket/upload/includes/common.php(102): myquery->Get_Website_Details()
#6 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#8 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[1] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session ='scjrer16cl5fct4i2nvs59g69o'
[timetook] => 0.00017189979553223
[memBefore] => 0.44377136230469
[memAfter] => 0.65914916992188
[memUsed] => 0.21537780761719
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/session.class.php(110): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/classes/user.class.php(5641): Session->get_sessions()
#6 /srv/http/clipbucket/upload/includes/classes/user.class.php(1460): userquery->get_sessions()
#7 /srv/http/clipbucket/upload/includes/classes/user.class.php(1404): userquery->init()
#8 /srv/http/clipbucket/upload/includes/functions.php(500): userquery->getInstance()
#9 /srv/http/clipbucket/upload/includes/classes/user.class.php(230): user_id()
#10 /srv/http/clipbucket/upload/includes/common.php(157): User->getInstance()
#11 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#12 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#13 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[2] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session_string='guest' AND session ='scjrer16cl5fct4i2nvs59g69o'
[timetook] => 7.2956085205078E-5
[memBefore] => 0.64823150634766
[memAfter] => 0.66488647460938
[memUsed] => 0.016654968261719
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/session.class.php(92): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/classes/session.class.php(48): Session->get_user_session()
#6 /srv/http/clipbucket/upload/includes/classes/user.class.php(5648): Session->add_session()
#7 /srv/http/clipbucket/upload/includes/classes/user.class.php(1460): userquery->get_sessions()
#8 /srv/http/clipbucket/upload/includes/classes/user.class.php(1404): userquery->init()
#9 /srv/http/clipbucket/upload/includes/functions.php(500): userquery->getInstance()
#10 /srv/http/clipbucket/upload/includes/classes/user.class.php(230): user_id()
#11 /srv/http/clipbucket/upload/includes/common.php(157): User->getInstance()
#12 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#13 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#14 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[3] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM cb_version AS version
[timetook] => 9.8943710327148E-5
[memBefore] => 0.66488647460938
[memAfter] => 0.66836547851562
[memUsed] => 0.00347900390625
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/update.class.php(62): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/classes/update.class.php(820): Update->getDBVersion()
#6 /srv/http/clipbucket/upload/includes/classes/user.class.php(82): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#7 /srv/http/clipbucket/upload/includes/classes/user.class.php(233): User->__construct()
#8 /srv/http/clipbucket/upload/includes/common.php(157): User->getInstance()
#9 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#10 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#11 /srv/http/clipbucket/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.00017189979553223
[memBefore] => 0.66836547851562
[memAfter] => 0.67559814453125
[memUsed] => 0.007232666015625
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/user_level.class.php(140): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/user_level.class.php(41): UserLevel->getAllPermissions()
#5 /srv/http/clipbucket/upload/includes/classes/user_level.class.php(72): UserLevel->getPermissions()
#6 /srv/http/clipbucket/upload/includes/classes/user_level.class.php(86): UserLevel->getPermission()
#7 /srv/http/clipbucket/upload/includes/classes/user.class.php(631): UserLevel->hasPermission()
#8 /srv/http/clipbucket/upload/includes/classes/user.class.php(665): User->hasPermission()
#9 /srv/http/clipbucket/upload/includes/common.php(157): User->hasAdminAccess()
#10 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#11 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#12 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[5] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.0001530647277832
[memBefore] => 0.67559814453125
[memAfter] => 0.69976043701172
[memUsed] => 0.024162292480469
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/lang.class.php(318): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/classes/lang.class.php(75): Language->getDefaultLanguage()
#6 /srv/http/clipbucket/upload/includes/classes/lang.class.php(14): Language->init()
#7 /srv/http/clipbucket/upload/includes/functions.php(1078): Language->getInstance()
#8 /srv/http/clipbucket/upload/includes/classes/collections.class.php(1089): lang()
#9 /srv/http/clipbucket/upload/includes/classes/photos.class.php(1069): Collections->__construct()
#10 /srv/http/clipbucket/upload/includes/classes/photos.class.php(1024): CBPhotos->init_collections()
#11 /srv/http/clipbucket/upload/includes/common.php(241): CBPhotos->init_photos()
#12 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#13 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#14 /srv/http/clipbucket/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 = 3 ORDER BY CASE WHEN LT.translation IS NULL THEN concat('aaaaaaaaaaaaaaaaaaaa',language_key) ELSE LK.language_key END
[timetook] => 0.0066580772399902
[memBefore] => 0.69976043701172
[memAfter] => 0.79617309570312
[memUsed] => 0.096412658691406
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/lang.class.php(156): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/classes/lang.class.php(217): Language->getAllTranslations()
#6 /srv/http/clipbucket/upload/includes/classes/lang.class.php(84): Language->loadTranslations()
#7 /srv/http/clipbucket/upload/includes/classes/lang.class.php(14): Language->init()
#8 /srv/http/clipbucket/upload/includes/functions.php(1078): Language->getInstance()
#9 /srv/http/clipbucket/upload/includes/classes/collections.class.php(1089): lang()
#10 /srv/http/clipbucket/upload/includes/classes/photos.class.php(1069): Collections->__construct()
#11 /srv/http/clipbucket/upload/includes/classes/photos.class.php(1024): CBPhotos->init_collections()
#12 /srv/http/clipbucket/upload/includes/common.php(241): CBPhotos->init_photos()
#13 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#14 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#15 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[7] => Array
(
[q] => SELECT tools.id_tool, language_key_label, language_key_description, elements_total, elements_done, COALESCE(NULLIF(language_key_title, ''), 'ready') as language_key_title, function_name, code,
CASE WHEN elements_total IS NULL OR elements_total = 0 THEN 0 ELSE elements_done * 100 / elements_total END AS pourcentage_progress, tools_histo.id_histo
,tools.is_automatable, tools.is_disabled, tools.frequency
FROM cb_tools AS tools
LEFT JOIN (
SELECT id_tool, MAX(date_start) AS max_date
FROM cb_tools_histo
GROUP BY id_tool
) tools_histo_max_date ON tools.id_tool = tools_histo_max_date.id_tool
LEFT JOIN cb_tools_histo AS tools_histo ON tools.id_tool = tools_histo.id_tool AND tools_histo.date_start = tools_histo_max_date.max_date
left JOIN cb_tools_histo_status AS tools_histo_status ON tools_histo_status.id_tools_histo_status = tools_histo.id_tools_histo_status
WHERE (tools_histo.id_tool IS NOT NULL OR tools_histo_max_date.id_tool IS NULL)
AND tools.code = 'automate'
ORDER BY tools.id_tool;
[timetook] => 0.05669903755188
[memBefore] => 0.79617309570312
[memAfter] => 0.94332122802734
[memUsed] => 0.14714813232422
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/admin_tool.class.php(109): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/admin_tool.class.php(266): AdminTool->getTools()
#5 /srv/http/clipbucket/upload/includes/classes/admin_tool.class.php(66): AdminTool->getToolByCode()
#6 /srv/http/clipbucket/upload/includes/common.php(325): AdminTool->initByCode()
#7 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#8 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#9 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[8] => Array
(
[q] => SELECT tools_histo.date_start
FROM cb_tools_histo AS tools_histo
WHERE tools_histo.id_tool = 17
ORDER BY tools_histo.date_start DESC LIMIT 1
[timetook] => 0.048941850662231
[memBefore] => 0.94332122802734
[memAfter] => 0.94549560546875
[memUsed] => 0.0021743774414062
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/admin_tool.class.php(1243): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/common.php(325): AdminTool->getLastStart()
#5 /srv/http/clipbucket/upload/includes/config.inc.php(9): require_once()
#6 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#7 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[9] => Array
(
[q] => SELECT * FROM cb_plugins WHERE plugin_active='yes'
[timetook] => 0.00014996528625488
[memBefore] => 0.94549560546875
[memAfter] => 0.95223999023438
[memUsed] => 0.006744384765625
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#6 /srv/http/clipbucket/upload/includes/config.inc.php(21): require_once()
#7 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#8 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[10] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00014305114746094
[memBefore] => 0.95223999023438
[memAfter] => 0.95816802978516
[memUsed] => 0.0059280395507812
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/lang.class.php(318): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/functions.php(1131): Language->getDefaultLanguage()
#6 /srv/http/clipbucket/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#7 /srv/http/clipbucket/upload/player/CB_video_js/cb_video_js.php(130): CB_video_js->load_dependancies()
#8 /srv/http/clipbucket/upload/player/CB_video_js/cb_video_js.php(135): CB_video_js->__construct()
#9 /srv/http/clipbucket/upload/includes/plugins.php(35): include_once()
#10 /srv/http/clipbucket/upload/includes/config.inc.php(21): require_once()
#11 /srv/http/clipbucket/upload/watch_video_core.php(3): require()
#12 /srv/http/clipbucket/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.0001380443572998
[memBefore] => 0.95816802978516
[memAfter] => 0.97531127929688
[memUsed] => 0.017143249511719
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/tags.class.php(334): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/classes/tags.class.php(342): Tags->getTagTypes()
#6 /srv/http/clipbucket/upload/includes/classes/video.class.php(504): Tags->getVideoTypes()
#7 /srv/http/clipbucket/upload/includes/classes/video.class.php(255): Video->getAll()
#8 /srv/http/clipbucket/upload/watch_video_core.php(21): Video->getOne()
#9 /srv/http/clipbucket/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.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.total_rate_up, video.total_rate_down, video.id_tmdb, video.type_tmdb, video.use_backdrop_as_default_thumb, 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 = 'RWRKNS6A6GS7' 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.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.total_rate_up,video.total_rate_down,video.id_tmdb,video.type_tmdb,video.use_backdrop_as_default_thumb,users.username,video.videoid,video.videoid,user_profile.disabled_channel
[timetook] => 0.0017130374908447
[memBefore] => 0.97531127929688
[memAfter] => 1.0056533813477
[memUsed] => 0.030342102050781
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/video.class.php(613): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/video.class.php(255): Video->getAll()
#5 /srv/http/clipbucket/upload/watch_video_core.php(21): Video->getOne()
#6 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[13] => Array
(
[q] => SELECT * FROM cb_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.0001370906829834
[memBefore] => 1.0056533813477
[memAfter] => 0.99486541748047
[memUsed] => -0.010787963867188
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/tags.class.php(334): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/includes/classes/tags.class.php(342): Tags->getTagTypes()
#6 /srv/http/clipbucket/upload/includes/classes/video.class.php(504): Tags->getVideoTypes()
#7 /srv/http/clipbucket/upload/includes/classes/video.class.php(255): Video->getAll()
#8 /srv/http/clipbucket/upload/includes/classes/video.class.php(710): Video->getOne()
#9 /srv/http/clipbucket/upload/includes/functions_video.php(90): Video->isCurrentUserRestricted()
#10 /srv/http/clipbucket/upload/watch_video_core.php(22): video_playable()
#11 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[14] => 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.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.total_rate_up, video.total_rate_down, video.id_tmdb, video.type_tmdb, video.use_backdrop_as_default_thumb, 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 = 946 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.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.total_rate_up,video.total_rate_down,video.id_tmdb,video.type_tmdb,video.use_backdrop_as_default_thumb,users.username,video.videoid,video.videoid,user_profile.disabled_channel
[timetook] => 0.00074911117553711
[memBefore] => 0.99486541748047
[memAfter] => 1.0253295898438
[memUsed] => 0.030464172363281
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/video.class.php(613): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/video.class.php(255): Video->getAll()
#5 /srv/http/clipbucket/upload/includes/classes/video.class.php(710): Video->getOne()
#6 /srv/http/clipbucket/upload/includes/functions_video.php(90): Video->isCurrentUserRestricted()
#7 /srv/http/clipbucket/upload/watch_video_core.php(22): video_playable()
#8 /srv/http/clipbucket/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.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.total_rate_up, video.total_rate_down, video.id_tmdb, video.type_tmdb, video.use_backdrop_as_default_thumb, 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 video.broadcast != 'public' AND (MATCH(video.title) AGAINST ('Portrait von Bruno Suter [x9NLk1vu]' IN NATURAL LANGUAGE MODE) OR LOWER(video.title) LIKE '%Portrait von Bruno Suter [x9NLk1vu]%' ) 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.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.total_rate_up,video.total_rate_down,video.id_tmdb,video.type_tmdb,video.use_backdrop_as_default_thumb,users.username ORDER BY RAND() LIMIT 12
[timetook] => 0.00036501884460449
[memBefore] => 1.0253295898438
[memAfter] => 1.0085906982422
[memUsed] => -0.016738891601562
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/video.class.php(613): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/watch_video_core.php(74): Video->getAll()
#5 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[16] => 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.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.total_rate_up, video.total_rate_down, video.id_tmdb, video.type_tmdb, video.use_backdrop_as_default_thumb, 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 video.broadcast != 'public' 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.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.total_rate_up,video.total_rate_down,video.id_tmdb,video.type_tmdb,video.use_backdrop_as_default_thumb,users.username,date_added ORDER BY date_added DESC LIMIT 12
[timetook] => 0.00032901763916016
[memBefore] => 1.0085906982422
[memAfter] => 1.0121688842773
[memUsed] => 0.0035781860351562
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/video.class.php(613): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/watch_video_core.php(88): Video->getAll()
#5 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[17] => Array
(
[q] => SELECT userid FROM cb_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00023889541625977
[memBefore] => 0.98975372314453
[memAfter] => 1.0067291259766
[memUsed] => 0.016975402832031
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/user.class.php(4786): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/watch_video_core.php(111): userquery->get_anonymous_user()
#6 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[18] => Array
(
[q] => SELECT id_object_type FROM cb_object_type WHERE name = "video"
[timetook] => 0.00010991096496582
[memBefore] => 1.0067291259766
[memAfter] => 1.009033203125
[memUsed] => 0.0023040771484375
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/objects.class.php(99): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/objects.class.php(118): Objects->getTypeId()
#5 /srv/http/clipbucket/upload/watch_video_core.php(153): Objects->isFavorite()
#6 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[19] => Array
(
[q] => SELECT favorite_id FROM cb_favorites WHERE id = 946 AND userid = 0 AND id_type = 1
[timetook] => 9.3221664428711E-5
[memBefore] => 1.009033203125
[memAfter] => 1.0106430053711
[memUsed] => 0.0016098022460938
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/db.class.php(187): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/classes/objects.class.php(123): Clipbucket_db->select()
#5 /srv/http/clipbucket/upload/watch_video_core.php(153): Objects->isFavorite()
#6 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
[20] => Array
(
[q] => SELECT id, label, type, is_default FROM cb_sorts WHERE is_default = TRUE AND type = 'videos'
[timetook] => 9.7990036010742E-5
[memBefore] => 1.0106430053711
[memAfter] => 1.0130615234375
[memUsed] => 0.0024185180664062
[use_cache] => no
[backtrace] => #1 /srv/http/clipbucket/upload/includes/classes/db.class.php(258): devWitch()
#2 /srv/http/clipbucket/upload/includes/classes/db.class.php(138): Clipbucket_db->execute()
#3 /srv/http/clipbucket/upload/includes/classes/sort_type.class.php(43): Clipbucket_db->_select()
#4 /srv/http/clipbucket/upload/includes/functions.php(2021): SortType->getDefaultByType()
#5 /srv/http/clipbucket/upload/includes/functions.php(1200): sort_link()
#6 /srv/http/clipbucket/upload/watch_video_core.php(158): cblink()
#7 /srv/http/clipbucket/upload/watch_video.php(5): require_once()
)
)