Select Queries (12)
Array
(
[0] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_config
[timetook] => 0.00023603439331055
[memBefore] => 0.45548248291016
[memAfter] => 0.47821044921875
[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/search_result.php(3): require_once()
)
[1] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_languages WHERE language_default='yes'
[timetook] => 0.0001380443572998
[memBefore] => 0.47821044921875
[memAfter] => 0.61016845703125
[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/search_result.php(3): require_once()
)
[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.0027880668640137
[memBefore] => 0.61016845703125
[memAfter] => 0.67826843261719
[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/search_result.php(3): require_once()
)
[3] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_sessions WHERE session ='0g5d2auecq6ossadq61n4e6fmd'
[timetook] => 6.9141387939453E-5
[memBefore] => 0.67826843261719
[memAfter] => 0.79315948486328
[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/search_result.php(3): require_once()
)
[4] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_sessions WHERE session_string='guest' AND session ='0g5d2auecq6ossadq61n4e6fmd'
[timetook] => 7.3909759521484E-5
[memBefore] => 0.78059387207031
[memAfter] => 0.79700469970703
[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/search_result.php(3): require_once()
)
[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] => 0.00014281272888184
[memBefore] => 0.79700469970703
[memAfter] => 0.79922485351562
[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/search_result.php(3): require_once()
)
[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.4822692871094E-5
[memBefore] => 0.79922485351562
[memAfter] => 0.80493927001953
[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/search_result.php(3): require_once()
)
[7] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM `clipbucket`.cb_version AS version
[timetook] => 3.6001205444336E-5
[memBefore] => 0.80493927001953
[memAfter] => 0.81629180908203
[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/search_result.php(3): require_once()
)
[8] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_plugins WHERE plugin_active='yes'
[timetook] => 3.7908554077148E-5
[memBefore] => 0.81629180908203
[memAfter] => 0.86956787109375
[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/search_result.php(3): require_once()
)
[9] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_languages WHERE language_default='yes'
[timetook] => 4.6014785766602E-5
[memBefore] => 0.86956787109375
[memAfter] => 0.87178802490234
[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/search_result.php(3): 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.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 (MATCH(video.title) AGAINST ('elections 2018' IN NATURAL LANGUAGE MODE) OR LOWER(video.title) LIKE '%elections 2018%'OR MATCH(tags.name) AGAINST ('elections 2018' IN NATURAL LANGUAGE MODE) OR LOWER(tags.name) LIKE '%elections 2018%') AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public'))) GROUP BY video.videoid LIMIT 0,30
[timetook] => 0.0022690296173096
[memBefore] => 0.87178802490234
[memAfter] => 0.90471649169922
[memUsed] => 0.032928466796875
[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/search_result.php(46): Video->getAll()
)
[11] => 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 (MATCH(video.title) AGAINST ('elections 2018' IN NATURAL LANGUAGE MODE) OR LOWER(video.title) LIKE '%elections 2018%'OR MATCH(tags.name) AGAINST ('elections 2018' IN NATURAL LANGUAGE MODE) OR LOWER(tags.name) LIKE '%elections 2018%') AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public')))
[timetook] => 0.0014431476593018
[memBefore] => 0.90471649169922
[memAfter] => 0.97756958007812
[memUsed] => 0.072853088378906
[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/search_result.php(50): Video->getAll()
)
)