Select Queries (16)
Array
(
[0] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_config
[timetook] => 0.00019097328186035
[memBefore] => 0.45459747314453
[memAfter] => 0.47732543945312
[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] => 0.00027799606323242
[memBefore] => 0.47732543945312
[memAfter] => 0.60928344726562
[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.0031359195709229
[memBefore] => 0.60928344726562
[memAfter] => 0.67738342285156
[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 ='2kr4o61qge0osfc7816q9rfhkn'
[timetook] => 7.8916549682617E-5
[memBefore] => 0.67738342285156
[memAfter] => 0.79227447509766
[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 ='2kr4o61qge0osfc7816q9rfhkn'
[timetook] => 6.8187713623047E-5
[memBefore] => 0.77976989746094
[memAfter] => 0.79605865478516
[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.8943710327148E-5
[memBefore] => 0.79605865478516
[memAfter] => 0.79824066162109
[memUsed] => 0.0021820068359375
[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.3869018554688E-5
[memBefore] => 0.79824066162109
[memAfter] => 0.80400085449219
[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.80400085449219
[memAfter] => 0.81535339355469
[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.7908554077148E-5
[memBefore] => 0.81535339355469
[memAfter] => 0.86862945556641
[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.4822692871094E-5
[memBefore] => 0.86862945556641
[memAfter] => 0.870849609375
[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 = 39
[timetook] => 7.8201293945312E-5
[memBefore] => 0.870849609375
[memAfter] => 0.87715911865234
[memUsed] => 0.0063095092773438
[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 * FROM `clipbucket`.cb_video_categories WHERE parent_id = 31
[timetook] => 4.2915344238281E-5
[memBefore] => 0.87715911865234
[memAfter] => 0.88043212890625
[memUsed] => 0.0032730102539062
[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(20): CBCategory->get_sub_categories()
)
[12] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_video_categories WHERE parent_id = 33
[timetook] => 4.2200088500977E-5
[memBefore] => 0.88043212890625
[memAfter] => 0.88137054443359
[memUsed] => 0.00093841552734375
[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(20): CBCategory->get_sub_categories()
)
[13] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_video_categories WHERE parent_id = 40
[timetook] => 4.1007995605469E-5
[memBefore] => 0.88137054443359
[memAfter] => 0.88230895996094
[memUsed] => 0.00093841552734375
[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(20): CBCategory->get_sub_categories()
)
[14] => 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 '%#31#%' OR video.category LIKE '%#33#%' OR video.category LIKE '%#40#%' OR video.category LIKE '%#39#%') 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.date_added DESC LIMIT 0,30
[timetook] => 0.0011708736419678
[memBefore] => 0.88230895996094
[memAfter] => 0.90933227539062
[memUsed] => 0.027023315429688
[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()
)
[15] => Array
(
[q] => SELECT COUNT(video.videoid) AS count
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 '%#31#%' OR video.category LIKE '%#33#%' OR video.category LIKE '%#40#%' OR video.category LIKE '%#39#%') 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'))) ORDER BY video.date_added DESC
[timetook] => 0.00038695335388184
[memBefore] => 0.90933227539062
[memAfter] => 1.0005645751953
[memUsed] => 0.091232299804688
[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(49): Video->getAll()
)
)