Select Queries (14)
Array
(
[0] => Array
(
[q] => SELECT * FROM cb_config
[timetook] => 0.0027039051055908
[memBefore] => 0.51502990722656
[memAfter] => 0.55728912353516
[memUsed] => 0.042259216308594
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/my_queries.class.php(32): db_select()
#5 /var/www/html/clipbucket-v5/upload/includes/common.php(102): myquery->Get_Website_Details()
#6 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#7 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[1] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00043487548828125
[memBefore] => 0.55728912353516
[memAfter] => 0.85848999023438
[memUsed] => 0.30120086669922
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(317): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(73): Language->getDefaultLanguage()
#5 /var/www/html/clipbucket-v5/upload/includes/common.php(152): Language->init()
#6 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#7 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[2] => Array
(
[q] => SELECT language_key, translation FROM cb_languages_keys AS LK
LEFT JOIN cb_languages_translations AS LT ON LK.id_language_key = LT.id_language_key AND LT.language_id = 1 ORDER BY CASE WHEN LT.translation IS NULL THEN concat('aaaaaaaaaaaaaaaaaaaa',language_key) ELSE LK.language_key END
[timetook] => 0.0053739547729492
[memBefore] => 0.85848999023438
[memAfter] => 1.639289855957
[memUsed] => 0.78079986572266
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(154): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(215): Language->getAllTranslations()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(82): Language->loadTranslations()
#6 /var/www/html/clipbucket-v5/upload/includes/common.php(152): Language->init()
#7 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#8 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[3] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session ='b6a9u6n3iq1ctp4uli3pir7knc'
[timetook] => 0.00070786476135254
[memBefore] => 1.639289855957
[memAfter] => 1.1061477661133
[memUsed] => -0.53314208984375
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(99): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5145): Session->get_sessions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(856): userquery->get_sessions()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[4] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session_string='guest' AND session ='b6a9u6n3iq1ctp4uli3pir7knc'
[timetook] => 0.00052809715270996
[memBefore] => 1.0945892333984
[memAfter] => 1.1110916137695
[memUsed] => 0.016502380371094
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(88): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(44): Session->get_user_session()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5152): Session->add_session()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(856): userquery->get_sessions()
#8 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#9 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#10 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[5] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM cb_version AS version
[timetook] => 0.00044393539428711
[memBefore] => 1.1110916137695
[memAfter] => 1.0975189208984
[memUsed] => -0.013572692871094
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/update.class.php(60): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/update.class.php(761): Update->getDBVersion()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(39): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(894): UserLevel->getPermissions()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[6] => Array
(
[q] => SELECT user_levels_permissions.id_user_levels_permission, user_levels_permissions.id_user_permission_types, user_levels_permissions.permission_name, user_levels_permissions.permission_description, user_levels_permissions_values.user_level_id, user_levels_permissions_values.id_user_levels_permission, user_levels_permissions_values.permission_value
FROM cb_user_levels_permissions AS user_levels_permissions INNER JOIN cb_user_levels_permissions_values AS user_levels_permissions_values ON user_levels_permissions.id_user_levels_permission = user_levels_permissions_values.id_user_levels_permission WHERE user_levels_permissions_values.user_level_id = 4
[timetook] => 0.0012869834899902
[memBefore] => 1.0975189208984
[memAfter] => 1.1214370727539
[memUsed] => 0.023918151855469
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(139): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(40): UserLevel->getAllPermissions()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(894): UserLevel->getPermissions()
#6 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#7 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#8 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[7] => Array
(
[q] => SELECT * FROM cb_plugins WHERE plugin_active='yes'
[timetook] => 0.0004420280456543
[memBefore] => 1.1214370727539
[memAfter] => 1.2969055175781
[memUsed] => 0.17546844482422
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#5 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(10): require_once()
#6 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[8] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00052595138549805
[memBefore] => 1.2969055175781
[memAfter] => 1.3234481811523
[memUsed] => 0.026542663574219
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(317): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/functions.php(1169): Language->getDefaultLanguage()
#5 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#6 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(141): CB_video_js->load_dependancies()
#7 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(146): CB_video_js->__construct()
#8 /var/www/html/clipbucket-v5/upload/includes/plugins.php(35): include_once()
#9 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(10): require_once()
#10 /var/www/html/clipbucket-v5/upload/videos.php(4): require()
)
[9] => Array
(
[q] => SELECT video.videoid, video.videokey, video.video_password, video.video_users, video.username, video.userid, video.title, video.file_name, video.file_type, video.file_directory, video.description, video.broadcast, video.location, video.datecreated, video.country, video.allow_embedding, video.rating, video.rated_by, video.voter_ids, video.allow_comments, video.comment_voting, video.comments_count, video.last_commented, video.featured, video.featured_date, video.allow_rating, video.active, video.favourite_count, video.playlist_count, video.views, video.last_viewed, video.date_added, video.flagged, video.duration, video.status, video.default_thumb, video.embed_code, video.downloads, video.uploader_ip, video.video_files, video.file_server_path, video.video_version, video.thumbs_version, video.re_conv_status, video.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.default_poster, video.default_backdrop, video.fov, video.convert_percent, users.username AS user_username
FROM cb_video AS video
LEFT JOIN cb_users AS users ON video.userid = users.userid WHERE ( video.date_added IS NOT NULL ) AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public'))) GROUP BY video.videoid,video.videokey,video.video_password,video.video_users,video.username,video.userid,video.title,video.file_name,video.file_type,video.file_directory,video.description,video.broadcast,video.location,video.datecreated,video.country,video.allow_embedding,video.rating,video.rated_by,video.voter_ids,video.allow_comments,video.comment_voting,video.comments_count,video.last_commented,video.featured,video.featured_date,video.allow_rating,video.active,video.favourite_count,video.playlist_count,video.views,video.last_viewed,video.date_added,video.flagged,video.duration,video.status,video.default_thumb,video.embed_code,video.downloads,video.uploader_ip,video.video_files,video.file_server_path,video.video_version,video.thumbs_version,video.re_conv_status,video.subscription_email,video.is_castable,video.bits_color,video.age_restriction,video.default_poster,video.default_backdrop,video.fov,video.convert_percent,users.username,video.date_added ORDER BY video.date_added DESC LIMIT 5700,30
[timetook] => 0.46820998191833
[memBefore] => 1.3234481811523
[memAfter] => 1.405647277832
[memUsed] => 0.082199096679688
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(502): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/videos.php(28): Video->getAll()
)
[10] => Array
(
[q] => SELECT * FROM cb_sorts WHERE type = 'videos'
[timetook] => 0.0011420249938965
[memBefore] => 1.405647277832
[memAfter] => 1.4653244018555
[memUsed] => 0.059677124023438
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/sort_type.class.php(17): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(261): SortType->getSortTypes()
#5 /var/www/html/clipbucket-v5/upload/videos.php(31): Video->getSortList()
)
[11] => Array
(
[q] => SELECT * FROM cb_sorts WHERE is_default = TRUE AND type = 'videos'
[timetook] => 0.00068306922912598
[memBefore] => 1.4653244018555
[memAfter] => 1.466667175293
[memUsed] => 0.0013427734375
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/sort_type.class.php(34): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/videos.php(33): SortType->getDefaultByType()
)
[12] => Array
(
[q] => SELECT COUNT(DISTINCT video.videoid) AS count
FROM cb_video AS video
LEFT JOIN cb_users AS users ON video.userid = users.userid WHERE ( video.date_added IS NOT NULL ) AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public')))
[timetook] => 0.020827054977417
[memBefore] => 1.466667175293
[memAfter] => 1.4699630737305
[memUsed] => 0.0032958984375
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(502): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/videos.php(44): Video->getAll()
)
[13] => Array
(
[q] => SELECT userid FROM cb_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00073790550231934
[memBefore] => 1.4699630737305
[memAfter] => 1.4699783325195
[memUsed] => 1.52587890625E-5
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(4223): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/videos.php(46): userquery->get_anonymous_user()
)
)