Select Queries (12)
Array
(
[0] => Array
(
[q] => SELECT * FROM `clipbucket`.cb_config
[timetook] => 0.00029993057250977
[memBefore] => 0.45394134521484
[memAfter] => 0.47666931152344
[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] => 9.2983245849609E-5
[memBefore] => 0.47666931152344
[memAfter] => 0.60862731933594
[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.0030059814453125
[memBefore] => 0.60862731933594
[memAfter] => 0.67672729492188
[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 ='neh60ie6bcae4i6plshini32ad'
[timetook] => 7.1048736572266E-5
[memBefore] => 0.67672729492188
[memAfter] => 0.79161834716797
[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 ='neh60ie6bcae4i6plshini32ad'
[timetook] => 5.4836273193359E-5
[memBefore] => 0.77908325195312
[memAfter] => 0.79546356201172
[memUsed] => 0.016380310058594
[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] => 9.7990036010742E-5
[memBefore] => 0.79546356201172
[memAfter] => 0.79764556884766
[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/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.1961669921875E-5
[memBefore] => 0.79764556884766
[memAfter] => 0.80335998535156
[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.814697265625E-5
[memBefore] => 0.80335998535156
[memAfter] => 0.81471252441406
[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.814697265625E-5
[memBefore] => 0.81471252441406
[memAfter] => 0.86798858642578
[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.5061111450195E-5
[memBefore] => 0.86798858642578
[memAfter] => 0.87020874023438
[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 ('legends of pakistan' IN NATURAL LANGUAGE MODE) OR LOWER(video.title) LIKE '%legends of pakistan%'OR MATCH(tags.name) AGAINST ('legends of pakistan' IN NATURAL LANGUAGE MODE) OR LOWER(tags.name) LIKE '%legends of pakistan%') AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public'))) GROUP BY video.videoid LIMIT 210,30
[timetook] => 0.0023040771484375
[memBefore] => 0.87020874023438
[memAfter] => 0.8870849609375
[memUsed] => 0.016876220703125
[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 ('legends of pakistan' IN NATURAL LANGUAGE MODE) OR LOWER(video.title) LIKE '%legends of pakistan%'OR MATCH(tags.name) AGAINST ('legends of pakistan' IN NATURAL LANGUAGE MODE) OR LOWER(tags.name) LIKE '%legends of pakistan%') AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public')))
[timetook] => 0.0013968944549561
[memBefore] => 0.8870849609375
[memAfter] => 0.88390350341797
[memUsed] => -0.0031814575195312
[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()
)
)