Select Queries (12)
Array
(
[0] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_config
[timetook] => 0.00021600723266602
[memBefore] => 0.45604705810547
[memAfter] => 0.47877502441406
[memUsed] => 0.022727966308594
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/functions_db.php(11): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/my_queries.class.php(33): db_select()
#5 /srv/www/clipbucket/upload/includes/common.php(79): myquery->Get_Website_Details()
#6 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#7 /srv/www/clipbucket/upload/videos.php(4): require()
)
[1] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_languages WHERE language_default='yes'
[timetook] => 9.1075897216797E-5
[memBefore] => 0.47877502441406
[memAfter] => 0.61073303222656
[memUsed] => 0.1319580078125
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/lang.class.php(308): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/classes/lang.class.php(61): Language->getDefaultLanguage()
#6 /srv/www/clipbucket/upload/includes/common.php(119): Language->init()
#7 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#8 /srv/www/clipbucket/upload/videos.php(4): require()
)
[2] => Array
(
[q] => SELECT language_key, translation FROM `clipbucket`.cb_languages_keys AS LK
LEFT JOIN `clipbucket`.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.0031499862670898
[memBefore] => 0.61073303222656
[memAfter] => 0.6788330078125
[memUsed] => 0.068099975585938
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/lang.class.php(143): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/classes/lang.class.php(206): Language->getAllTranslations()
#6 /srv/www/clipbucket/upload/includes/common.php(120): Language->loadTranslations()
#7 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#8 /srv/www/clipbucket/upload/videos.php(4): require()
)
[3] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_sessions WHERE session ='jd702gnhmak22bem7q5ffccgg1'
[timetook] => 7.9870223999023E-5
[memBefore] => 0.6788330078125
[memAfter] => 0.79372406005859
[memUsed] => 0.11489105224609
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/session.class.php(100): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/classes/user.class.php(5237): Session->get_sessions()
#6 /srv/www/clipbucket/upload/includes/classes/user.class.php(318): userquery->get_sessions()
#7 /srv/www/clipbucket/upload/includes/common.php(148): userquery->init()
#8 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#9 /srv/www/clipbucket/upload/videos.php(4): require()
)
[4] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_sessions WHERE session_string='guest' AND session ='jd702gnhmak22bem7q5ffccgg1'
[timetook] => 5.6982040405273E-5
[memBefore] => 0.78121948242188
[memAfter] => 0.79750823974609
[memUsed] => 0.016288757324219
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/session.class.php(88): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/classes/session.class.php(41): Session->get_user_session()
#6 /srv/www/clipbucket/upload/includes/classes/user.class.php(5244): Session->add_session()
#7 /srv/www/clipbucket/upload/includes/classes/user.class.php(318): userquery->get_sessions()
#8 /srv/www/clipbucket/upload/includes/common.php(148): userquery->init()
#9 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#10 /srv/www/clipbucket/upload/videos.php(4): require()
)
[5] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_user_levels,`clipbucket`.cb_user_levels_permissions WHERE `clipbucket`.cb_user_levels_permissions.user_level_id='4'
AND `clipbucket`.cb_user_levels_permissions.user_level_id = `clipbucket`.cb_user_levels.user_level_id
[timetook] => 9.0837478637695E-5
[memBefore] => 0.79750823974609
[memAfter] => 0.79972839355469
[memUsed] => 0.0022201538085938
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/user.class.php(1853): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/classes/user.class.php(355): userquery->get_user_level()
#6 /srv/www/clipbucket/upload/includes/common.php(148): userquery->init()
#7 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#8 /srv/www/clipbucket/upload/videos.php(4): require()
)
[6] => Array
(
[q] => SELECT plugins.plugin_id, plugins.plugin_file, plugins.plugin_folder, plugins.plugin_version, plugins.plugin_active
FROM `clipbucket`.cb_plugins AS plugins
[timetook] => 4.1961669921875E-5
[memBefore] => 0.79972839355469
[memAfter] => 0.80548858642578
[memUsed] => 0.0057601928710938
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/plugin.class.php(100): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/update.class.php(420): Plugin->getAll()
#5 /srv/www/clipbucket/upload/includes/common.php(156): Update->isVersionSystemInstalled()
#6 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#7 /srv/www/clipbucket/upload/videos.php(4): require()
)
[7] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM `clipbucket`.cb_version AS version
[timetook] => 3.6001205444336E-5
[memBefore] => 0.80548858642578
[memAfter] => 0.81684112548828
[memUsed] => 0.0113525390625
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/update.class.php(55): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/classes/photos.class.php(412): Update->getDBVersion()
#6 /srv/www/clipbucket/upload/includes/classes/photos.class.php(360): CBPhotos->basic_fields_setup()
#7 /srv/www/clipbucket/upload/includes/common.php(209): CBPhotos->__construct()
#8 /srv/www/clipbucket/upload/includes/config.inc.php(9): require_once()
#9 /srv/www/clipbucket/upload/videos.php(4): require()
)
[8] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_plugins WHERE plugin_active='yes'
[timetook] => 3.8862228393555E-5
[memBefore] => 0.81684112548828
[memAfter] => 0.8701171875
[memUsed] => 0.053276062011719
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/plugin.class.php(218): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/plugins.php(5): CBPlugin->getInstalledPlugins()
#6 /srv/www/clipbucket/upload/includes/config.inc.php(10): require_once()
#7 /srv/www/clipbucket/upload/videos.php(4): require()
)
[9] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_languages WHERE language_default='yes'
[timetook] => 4.7206878662109E-5
[memBefore] => 0.8701171875
[memAfter] => 0.87233734130859
[memUsed] => 0.0022201538085938
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/lang.class.php(308): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/includes/functions.php(1428): Language->getDefaultLanguage()
#6 /srv/www/clipbucket/upload/player/CB_video_js/cb_video_js.php(28): get_current_language()
#7 /srv/www/clipbucket/upload/player/CB_video_js/cb_video_js.php(138): CB_video_js->load_dependancies()
#8 /srv/www/clipbucket/upload/player/CB_video_js/cb_video_js.php(143): CB_video_js->__construct()
#9 /srv/www/clipbucket/upload/includes/plugins.php(39): include_once()
#10 /srv/www/clipbucket/upload/includes/config.inc.php(10): require_once()
#11 /srv/www/clipbucket/upload/videos.php(4): require()
)
[10] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_video_categories WHERE parent_id = 34
[timetook] => 5.1975250244141E-5
[memBefore] => 0.87233734130859
[memAfter] => 0.87860107421875
[memUsed] => 0.0062637329101562
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/db.class.php(155): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/includes/classes/category.class.php(717): Clipbucket_db->select()
#5 /srv/www/clipbucket/upload/videos.php(15): CBCategory->get_sub_categories()
)
[11] => 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.category, 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.is_castable, video.bits_color, video.subscription_email, video.age_restriction, users.username AS user_username, GROUP_CONCAT(tags.name SEPARATOR ',') AS tags
FROM `clipbucket`.cb_video AS video
LEFT JOIN `clipbucket`.cb_users AS users ON video.userid = users.userid LEFT JOIN `clipbucket`.cb_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN `clipbucket`.cb_tags AS tags ON video_tags.id_tag = tags.id_tag WHERE (video.category LIKE '%#34#%') AND ( 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 ORDER BY video.rating DESC, video.rated_by DESC LIMIT 0,30
[timetook] => 0.001046895980835
[memBefore] => 0.87860107421875
[memAfter] => 0.90695953369141
[memUsed] => 0.028358459472656
[use_cache] => no
[backtrace] => #1 /srv/www/clipbucket/upload/includes/classes/db.class.php(222): devWitch()
#2 /srv/www/clipbucket/upload/includes/classes/db.class.php(106): Clipbucket_db->execute()
#3 /srv/www/clipbucket/upload/includes/classes/video.class.php(342): Clipbucket_db->_select()
#4 /srv/www/clipbucket/upload/videos.php(39): Video->getAll()
)
)