Select Queries (15)
Array
(
[0] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_config
[timetook] => 0.0001981258392334
[memBefore] => 0.45395660400391
[memAfter] => 0.4766845703125
[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.00017595291137695
[memBefore] => 0.4766845703125
[memAfter] => 0.608642578125
[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.0031101703643799
[memBefore] => 0.608642578125
[memAfter] => 0.67674255371094
[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 ='vuj3qitab77molgd035kvjviqk'
[timetook] => 7.2002410888672E-5
[memBefore] => 0.67674255371094
[memAfter] => 0.79163360595703
[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 ='vuj3qitab77molgd035kvjviqk'
[timetook] => 5.5074691772461E-5
[memBefore] => 0.77894592285156
[memAfter] => 0.79535675048828
[memUsed] => 0.016410827636719
[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] => 8.9883804321289E-5
[memBefore] => 0.79535675048828
[memAfter] => 0.79753875732422
[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.0054321289062E-5
[memBefore] => 0.79753875732422
[memAfter] => 0.80325317382812
[memUsed] => 0.0057144165039062
[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.6954879760742E-5
[memBefore] => 0.80325317382812
[memAfter] => 0.81460571289062
[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.6954879760742E-5
[memBefore] => 0.81460571289062
[memAfter] => 0.86788177490234
[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.86788177490234
[memAfter] => 0.87010192871094
[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 = 22
[timetook] => 5.1975250244141E-5
[memBefore] => 0.87010192871094
[memAfter] => 0.87636566162109
[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 * FROM `clipbucket`.cb_video_categories WHERE parent_id = 24
[timetook] => 4.2200088500977E-5
[memBefore] => 0.87636566162109
[memAfter] => 0.87906646728516
[memUsed] => 0.0027008056640625
[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 = 42
[timetook] => 3.9815902709961E-5
[memBefore] => 0.87906646728516
[memAfter] => 0.8800048828125
[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 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 '%#24#%' OR video.category LIKE '%#42#%' OR video.category LIKE '%#22#%') 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 30,30
[timetook] => 0.0013189315795898
[memBefore] => 0.8800048828125
[memAfter] => 0.90746307373047
[memUsed] => 0.027458190917969
[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()
)
[14] => 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 '%#24#%' OR video.category LIKE '%#42#%' OR video.category LIKE '%#22#%') 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.00037717819213867
[memBefore] => 0.90746307373047
[memAfter] => 0.99961090087891
[memUsed] => 0.092147827148438
[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()
)
)