Select Queries (21)
Array
(
[0] => Array
(
[q] => SELECT * FROM cbv5kz_config
[timetook] => 0.0010859966278076
[memBefore] => 0.50095367431641
[memAfter] => 0.52607727050781
[memUsed] => 0.025123596191406
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/my_queries.class.php(32): db_select()
#5 /srv/http/creativeveins.tv/upload/includes/common.php(99): myquery->Get_Website_Details()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#8 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[1] => Array
(
[q] => SELECT * FROM cbv5kz_languages WHERE language_default='yes'
[timetook] => 0.00030803680419922
[memBefore] => 0.52607727050781
[memAfter] => 0.69898223876953
[memUsed] => 0.17290496826172
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(310): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(66): Language->getDefaultLanguage()
#5 /srv/http/creativeveins.tv/upload/includes/common.php(149): Language->init()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#8 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[2] => Array
(
[q] => SELECT language_key, translation FROM cbv5kz_languages_keys AS LK
LEFT JOIN cbv5kz_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.0048320293426514
[memBefore] => 0.69898223876953
[memAfter] => 1.4296035766602
[memUsed] => 0.73062133789062
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(147): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(208): Language->getAllTranslations()
#5 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(75): Language->loadTranslations()
#6 /srv/http/creativeveins.tv/upload/includes/common.php(149): Language->init()
#7 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#8 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#9 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[3] => Array
(
[q] => SELECT * FROM cbv5kz_sessions WHERE session ='stdfrgei7n8hr9g23b9f3ke3f9'
[timetook] => 0.00051498413085938
[memBefore] => 1.4296035766602
[memAfter] => 0.93515014648438
[memUsed] => -0.49445343017578
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/session.class.php(99): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(5349): Session->get_sessions()
#6 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(1001): userquery->get_sessions()
#7 /srv/http/creativeveins.tv/upload/includes/common.php(157): userquery->init()
#8 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#9 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#10 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[4] => Array
(
[q] => SELECT * FROM cbv5kz_sessions WHERE session_string='guest' AND session ='stdfrgei7n8hr9g23b9f3ke3f9'
[timetook] => 0.0005340576171875
[memBefore] => 0.92241668701172
[memAfter] => 0.9390869140625
[memUsed] => 0.016670227050781
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/session.class.php(88): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/includes/classes/session.class.php(44): Session->get_user_session()
#6 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(5356): Session->add_session()
#7 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(1001): userquery->get_sessions()
#8 /srv/http/creativeveins.tv/upload/includes/common.php(157): userquery->init()
#9 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#10 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#11 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[5] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM cbv5kz_version AS version
[timetook] => 0.00028586387634277
[memBefore] => 0.9390869140625
[memAfter] => 0.92547607421875
[memUsed] => -0.01361083984375
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/update.class.php(60): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/update.class.php(785): Update->getDBVersion()
#5 /srv/http/creativeveins.tv/upload/includes/classes/user_level.class.php(38): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#6 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(2413): UserLevel->getPermissions()
#7 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(1040): userquery->get_user_level()
#8 /srv/http/creativeveins.tv/upload/includes/common.php(157): userquery->init()
#9 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#10 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#11 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[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 cbv5kz_user_levels_permissions AS user_levels_permissions INNER JOIN cbv5kz_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.00074100494384766
[memBefore] => 0.92547607421875
[memAfter] => 0.94538879394531
[memUsed] => 0.019912719726562
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/user_level.class.php(138): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user_level.class.php(39): UserLevel->getAllPermissions()
#5 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(2413): UserLevel->getPermissions()
#6 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(1040): userquery->get_user_level()
#7 /srv/http/creativeveins.tv/upload/includes/common.php(157): userquery->init()
#8 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#9 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#10 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[7] => Array
(
[q] => SELECT * FROM cbv5kz_plugins WHERE plugin_active='yes'
[timetook] => 0.00035214424133301
[memBefore] => 0.94538879394531
[memAfter] => 1.0085830688477
[memUsed] => 0.063194274902344
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(10): require_once()
#7 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#8 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[8] => Array
(
[q] => SELECT * FROM cbv5kz_languages WHERE language_default='yes'
[timetook] => 0.00027680397033691
[memBefore] => 1.0085830688477
[memAfter] => 0.99560546875
[memUsed] => -0.012977600097656
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(310): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/functions.php(1257): Language->getDefaultLanguage()
#5 /srv/http/creativeveins.tv/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#6 /srv/http/creativeveins.tv/upload/player/CB_video_js/cb_video_js.php(135): CB_video_js->load_dependancies()
#7 /srv/http/creativeveins.tv/upload/player/CB_video_js/cb_video_js.php(140): CB_video_js->__construct()
#8 /srv/http/creativeveins.tv/upload/includes/plugins.php(35): include_once()
#9 /srv/http/creativeveins.tv/upload/includes/config.inc.php(10): require_once()
#10 /srv/http/creativeveins.tv/upload/watch_video_core.php(3): require()
#11 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[9] => Array
(
[q] => SELECT * FROM cbv5kz_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00031709671020508
[memBefore] => 0.99560546875
[memAfter] => 1.0148773193359
[memUsed] => 0.019271850585938
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(329): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(337): Tags->getTagTypes()
#5 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(404): Tags->getVideoTypes()
#6 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(181): Video->getAll()
#7 /srv/http/creativeveins.tv/upload/watch_video_core.php(21): Video->getOne()
#8 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[10] => 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, 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, user_profile.disabled_channel
FROM cbv5kz_video AS video
LEFT JOIN cbv5kz_users AS users ON video.userid = users.userid LEFT JOIN cbv5kz_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN cbv5kz_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cbv5kz_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN cbv5kz_user_profile AS user_profile ON user_profile.userid = users.userid WHERE video.videoid = '15' 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.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,users.username,video.videoid,video.videoid,user_profile.disabled_channel
[timetook] => 0.00242018699646
[memBefore] => 1.0148773193359
[memAfter] => 1.0526123046875
[memUsed] => 0.037734985351562
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(485): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(181): Video->getAll()
#5 /srv/http/creativeveins.tv/upload/watch_video_core.php(21): Video->getOne()
#6 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[11] => Array
(
[q] => SELECT * FROM cbv5kz_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00021696090698242
[memBefore] => 1.0526123046875
[memAfter] => 1.0248641967773
[memUsed] => -0.027748107910156
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(329): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(337): Tags->getTagTypes()
#5 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(404): Tags->getVideoTypes()
#6 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(181): Video->getAll()
#7 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(609): Video->getOne()
#8 /srv/http/creativeveins.tv/upload/includes/functions_video.php(93): Video->isCurrentUserRestricted()
#9 /srv/http/creativeveins.tv/upload/watch_video_core.php(22): video_playable()
#10 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[12] => 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, 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, user_profile.disabled_channel
FROM cbv5kz_video AS video
LEFT JOIN cbv5kz_users AS users ON video.userid = users.userid LEFT JOIN cbv5kz_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN cbv5kz_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cbv5kz_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN cbv5kz_user_profile AS user_profile ON user_profile.userid = users.userid WHERE video.videoid = '15' 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.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,users.username,video.videoid,video.videoid,user_profile.disabled_channel
[timetook] => 0.002291202545166
[memBefore] => 1.0248641967773
[memAfter] => 1.0628433227539
[memUsed] => 0.037979125976562
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(485): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(181): Video->getAll()
#5 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(609): Video->getOne()
#6 /srv/http/creativeveins.tv/upload/includes/functions_video.php(93): Video->isCurrentUserRestricted()
#7 /srv/http/creativeveins.tv/upload/watch_video_core.php(22): video_playable()
#8 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[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
, 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 cbv5kz_collections AS collections
LEFT JOIN cbv5kz_users AS users ON collections.userid = users.userid
LEFT JOIN cbv5kz_collection_items AS collection_items ON collections.collection_id = collection_items.collection_id
LEFT JOIN cbv5kz_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 cbv5kz_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 cbv5kz_collections collection_parent ON collections.collection_id_parent = collection_parent.collection_id
LEFT JOIN cbv5kz_collections AS collections_enfant ON collections.collection_id = collections_enfant.collection_id_parent
LEFT JOIN cbv5kz_collection_tags AS collection_tags ON collections.collection_id = collection_tags.id_collection
LEFT JOIN cbv5kz_tags AS tags ON collection_tags.id_tag = tags.id_tag
LEFT JOIN cbv5kz_collections_categories AS collections_categories ON collections.collection_id = collections_categories.id_collection
LEFT JOIN cbv5kz_categories AS categories ON collections_categories.id_category = categories.category_id WHERE collections.type = 'videos'
AND collections.collection_id_parent IS NULL
AND (collections.active = 'yes' AND collections.broadcast = 'public')
GROUP BY collections.collection_id
HAVING COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) + COUNT(DISTINCT(collections_enfant.collection_id)) > 0
[timetook] => 0.0034680366516113
[memBefore] => 1.0628433227539
[memAfter] => 1.0458526611328
[memUsed] => -0.016990661621094
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(418): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(767): Collection->getAll()
#5 /srv/http/creativeveins.tv/upload/watch_video_core.php(52): Collection->getAllIndent()
#6 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[14] => 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
, 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 cbv5kz_collections AS collections
LEFT JOIN cbv5kz_users AS users ON collections.userid = users.userid
LEFT JOIN cbv5kz_collection_items AS collection_items ON collections.collection_id = collection_items.collection_id
LEFT JOIN cbv5kz_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 cbv5kz_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 cbv5kz_collections collection_parent ON collections.collection_id_parent = collection_parent.collection_id
LEFT JOIN cbv5kz_collections AS collections_enfant ON collections.collection_id = collections_enfant.collection_id_parent
LEFT JOIN cbv5kz_collection_tags AS collection_tags ON collections.collection_id = collection_tags.id_collection
LEFT JOIN cbv5kz_tags AS tags ON collection_tags.id_tag = tags.id_tag
LEFT JOIN cbv5kz_collections_categories AS collections_categories ON collections.collection_id = collections_categories.id_collection
LEFT JOIN cbv5kz_categories AS categories ON collections_categories.id_category = categories.category_id WHERE collections.type = 'videos'
AND collections.collection_id_parent = 1
AND (collections.active = 'yes' AND collections.broadcast = 'public')
GROUP BY collections.collection_id
HAVING COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) + COUNT(DISTINCT(collections_enfant.collection_id)) > 0
[timetook] => 0.0026679039001465
[memBefore] => 1.0458526611328
[memAfter] => 1.0537948608398
[memUsed] => 0.0079421997070312
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(418): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(767): Collection->getAll()
#5 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(772): Collection->getAllIndent()
#6 /srv/http/creativeveins.tv/upload/watch_video_core.php(52): Collection->getAllIndent()
#7 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[15] => 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
, 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 cbv5kz_collections AS collections
LEFT JOIN cbv5kz_users AS users ON collections.userid = users.userid
LEFT JOIN cbv5kz_collection_items AS collection_items ON collections.collection_id = collection_items.collection_id
LEFT JOIN cbv5kz_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 cbv5kz_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 cbv5kz_collections collection_parent ON collections.collection_id_parent = collection_parent.collection_id
LEFT JOIN cbv5kz_collections AS collections_enfant ON collections.collection_id = collections_enfant.collection_id_parent
LEFT JOIN cbv5kz_collection_tags AS collection_tags ON collections.collection_id = collection_tags.id_collection
LEFT JOIN cbv5kz_tags AS tags ON collection_tags.id_tag = tags.id_tag
LEFT JOIN cbv5kz_collections_categories AS collections_categories ON collections.collection_id = collections_categories.id_collection
LEFT JOIN cbv5kz_categories AS categories ON collections_categories.id_category = categories.category_id WHERE collections.type = 'videos'
AND collections.collection_id_parent = 2
AND (collections.active = 'yes' AND collections.broadcast = 'public')
GROUP BY collections.collection_id
HAVING COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) + COUNT(DISTINCT(collections_enfant.collection_id)) > 0
[timetook] => 0.0026609897613525
[memBefore] => 1.0537948608398
[memAfter] => 1.0578994750977
[memUsed] => 0.0041046142578125
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(418): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(767): Collection->getAll()
#5 /srv/http/creativeveins.tv/upload/includes/classes/collections.class.php(772): Collection->getAllIndent()
#6 /srv/http/creativeveins.tv/upload/watch_video_core.php(52): Collection->getAllIndent()
#7 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[16] => Array
(
[q] => SELECT * FROM cbv5kz_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00027108192443848
[memBefore] => 1.0578994750977
[memAfter] => 1.0499725341797
[memUsed] => -0.0079269409179688
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(329): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(337): Tags->getTagTypes()
#5 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(404): Tags->getVideoTypes()
#6 /srv/http/creativeveins.tv/upload/watch_video_core.php(71): Video->getAll()
#7 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[17] => 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, 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, user_profile.disabled_channel
FROM cbv5kz_video AS video
LEFT JOIN cbv5kz_users AS users ON video.userid = users.userid LEFT JOIN cbv5kz_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN cbv5kz_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cbv5kz_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN cbv5kz_user_profile AS user_profile ON user_profile.userid = users.userid WHERE video.broadcast != 'public' AND MATCH(video.title) AGAINST ('test' IN NATURAL LANGUAGE MODE) OR LOWER(video.title) LIKE '%test%' 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,users.username,video.videoid,video.videoid,user_profile.disabled_channel ORDER BY RAND() LIMIT 12
[timetook] => 0.0060341358184814
[memBefore] => 1.0499725341797
[memAfter] => 1.0882034301758
[memUsed] => 0.038230895996094
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(485): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/watch_video_core.php(71): Video->getAll()
#5 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[18] => Array
(
[q] => SELECT * FROM cbv5kz_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00021505355834961
[memBefore] => 1.0882034301758
[memAfter] => 1.0758590698242
[memUsed] => -0.012344360351562
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(110): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(329): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(337): Tags->getTagTypes()
#5 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(1160): Tags->getVideoTypes()
#6 /srv/http/creativeveins.tv/upload/includes/functions_video.php(536): CBvideo->get_video()
#7 /srv/http/creativeveins.tv/upload/includes/functions.php(1644): get_video_details()
#8 /srv/http/creativeveins.tv/upload/includes/functions_video.php(896): increment_views_new()
#9 /srv/http/creativeveins.tv/upload/watch_video_core.php(98): call_watch_video_function()
#10 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[19] => 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, 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 cbv5kz_video AS video LEFT JOIN cbv5kz_users AS users ON video.userid = users.userid LEFT JOIN cbv5kz_video_tags AS video_tags ON video.videoid = video_tags.id_video
LEFT JOIN cbv5kz_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cbv5kz_categories AS categories ON videos_categories.id_category = categories.category_id WHERE video.videokey = '4DYHM3UM4H4K' GROUP BY video.videoid , video.videoid LIMIT 1
[timetook] => 0.0016279220581055
[memBefore] => 1.0758590698242
[memAfter] => 1.112663269043
[memUsed] => 0.03680419921875
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/functions_db.php(106): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(1193): select()
#5 /srv/http/creativeveins.tv/upload/includes/functions_video.php(536): CBvideo->get_video()
#6 /srv/http/creativeveins.tv/upload/includes/functions.php(1644): get_video_details()
#7 /srv/http/creativeveins.tv/upload/includes/functions_video.php(896): increment_views_new()
#8 /srv/http/creativeveins.tv/upload/watch_video_core.php(98): call_watch_video_function()
#9 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
[20] => Array
(
[q] => SELECT userid FROM cbv5kz_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00065207481384277
[memBefore] => 1.0848617553711
[memAfter] => 1.0930938720703
[memUsed] => 0.0082321166992188
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(236): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(4413): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/watch_video_core.php(103): userquery->get_anonymous_user()
#6 /srv/http/creativeveins.tv/upload/watch_video.php(5): require_once()
)
)
Comment (0)