Select Queries (20)
Array
(
[0] => Array
(
[q] => SELECT * FROM cb_config
[timetook] => 0.002471923828125
[memBefore] => 0.51554870605469
[memAfter] => 0.55780792236328
[memUsed] => 0.042259216308594
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/my_queries.class.php(32): db_select()
#5 /var/www/html/clipbucket-v5/upload/includes/common.php(102): myquery->Get_Website_Details()
#6 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#7 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[1] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00055408477783203
[memBefore] => 0.55780792236328
[memAfter] => 0.859130859375
[memUsed] => 0.30132293701172
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(317): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(73): Language->getDefaultLanguage()
#5 /var/www/html/clipbucket-v5/upload/includes/common.php(152): Language->init()
#6 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#7 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[2] => Array
(
[q] => SELECT language_key, translation FROM cb_languages_keys AS LK
LEFT JOIN 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.004878044128418
[memBefore] => 0.859130859375
[memAfter] => 1.6400527954102
[memUsed] => 0.78092193603516
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(154): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(215): Language->getAllTranslations()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(82): Language->loadTranslations()
#6 /var/www/html/clipbucket-v5/upload/includes/common.php(152): Language->init()
#7 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#8 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[3] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session ='mnj8gkd6tpimd0uj1jt4aucu0r'
[timetook] => 0.00095295906066895
[memBefore] => 1.6400527954102
[memAfter] => 1.1069107055664
[memUsed] => -0.53314208984375
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(99): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5145): Session->get_sessions()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(856): userquery->get_sessions()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[4] => Array
(
[q] => SELECT * FROM cb_sessions WHERE session_string='guest' AND session ='mnj8gkd6tpimd0uj1jt4aucu0r'
[timetook] => 0.00077605247497559
[memBefore] => 1.0953826904297
[memAfter] => 1.1118545532227
[memUsed] => 0.016471862792969
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(88): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/session.class.php(44): Session->get_user_session()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(5152): Session->add_session()
#7 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(856): userquery->get_sessions()
#8 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#9 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#10 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[5] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM cb_version AS version
[timetook] => 0.0004880428314209
[memBefore] => 1.1118545532227
[memAfter] => 1.0982818603516
[memUsed] => -0.013572692871094
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/update.class.php(60): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/update.class.php(761): Update->getDBVersion()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(39): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#6 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(894): UserLevel->getPermissions()
#7 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#8 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#9 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[6] => Array
(
[q] => SELECT user_levels_permissions.id_user_levels_permission, user_levels_permissions.id_user_permission_types, user_levels_permissions.permission_name, user_levels_permissions.permission_description, user_levels_permissions_values.user_level_id, user_levels_permissions_values.id_user_levels_permission, user_levels_permissions_values.permission_value
FROM cb_user_levels_permissions AS user_levels_permissions INNER JOIN cb_user_levels_permissions_values AS user_levels_permissions_values ON user_levels_permissions.id_user_levels_permission = user_levels_permissions_values.id_user_levels_permission WHERE user_levels_permissions_values.user_level_id = 4
[timetook] => 0.0015869140625
[memBefore] => 1.0982818603516
[memAfter] => 1.122200012207
[memUsed] => 0.023918151855469
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(139): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user_level.class.php(40): UserLevel->getAllPermissions()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(894): UserLevel->getPermissions()
#6 /var/www/html/clipbucket-v5/upload/includes/common.php(165): userquery->init()
#7 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(9): require_once()
#8 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[7] => Array
(
[q] => SELECT * FROM cb_plugins WHERE plugin_active='yes'
[timetook] => 0.00049901008605957
[memBefore] => 1.122200012207
[memAfter] => 1.2976684570312
[memUsed] => 0.17546844482422
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#5 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(10): require_once()
#6 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[8] => Array
(
[q] => SELECT * FROM cb_languages WHERE language_default='yes'
[timetook] => 0.00045204162597656
[memBefore] => 1.2976684570312
[memAfter] => 1.3242111206055
[memUsed] => 0.026542663574219
[use_cache] => yes
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(110): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/lang.class.php(317): Clipbucket_db->select()
#4 /var/www/html/clipbucket-v5/upload/includes/functions.php(1169): Language->getDefaultLanguage()
#5 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#6 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(141): CB_video_js->load_dependancies()
#7 /var/www/html/clipbucket-v5/upload/player/CB_video_js/cb_video_js.php(146): CB_video_js->__construct()
#8 /var/www/html/clipbucket-v5/upload/includes/plugins.php(35): include_once()
#9 /var/www/html/clipbucket-v5/upload/includes/config.inc.php(10): require_once()
#10 /var/www/html/clipbucket-v5/upload/view_channel.php(5): require()
)
[9] => Array
(
[q] => SELECT users.userid, users.featured_video, users.username, users.user_session_key, users.user_session_code, users.password, users.email, users.usr_status, users.msg_notify, users.avatar, users.avatar_url, users.sex, users.dob, users.country, users.level, users.avcode, users.doj, users.last_logged, users.num_visits, users.session, users.ip, users.signup_ip, users.time_zone, users.featured, users.featured_date, users.profile_hits, users.total_watched, users.total_videos, users.total_comments, users.total_photos, users.total_collections, users.comments_count, users.last_commented, users.voted, users.ban_status, users.upload, users.subscribers, users.total_subscriptions, users.background, users.background_color, users.background_url, users.background_repeat, users.last_active, users.banned_users, users.welcome_email_sent, users.total_downloads, users.album_privacy, users.likes, users.is_live, user_profile.show_my_collections, user_profile.profile_title, user_profile.profile_desc, user_profile.featured_video, user_profile.first_name, user_profile.last_name, user_profile.show_dob, user_profile.postal_code, user_profile.time_zone, user_profile.web_url, user_profile.fb_url, user_profile.twitter_url, user_profile.insta_url, user_profile.hometown, user_profile.city, user_profile.online_status, user_profile.show_profile, user_profile.allow_comments, user_profile.allow_ratings, user_profile.allow_subscription, user_profile.content_filter, user_profile.icon_id, user_profile.browse_criteria, user_profile.about_me, user_profile.education, user_profile.schools, user_profile.occupation, user_profile.companies, user_profile.relation_status, user_profile.hobbies, user_profile.fav_movies, user_profile.fav_music, user_profile.fav_books, user_profile.background, user_profile.rating, user_profile.voters, user_profile.rated_by, user_profile.show_my_videos, user_profile.show_my_photos, user_profile.show_my_subscriptions, user_profile.show_my_subscribers, user_profile.show_my_friends, user_profile.disabled_channel, user_levels.user_level_name, GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS tags, (user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel != 'yes') AS is_channel_enable
FROM cb_users AS users
LEFT JOIN cb_user_profile AS user_profile ON users.userid = user_profile.userid
INNER JOIN cb_user_levels AS user_levels ON users.level = user_levels.user_level_id LEFT JOIN cb_user_tags AS user_tags ON users.userid = user_tags.id_user LEFT JOIN cb_tags AS tags ON user_tags.id_tag = tags.id_tag LEFT JOIN cb_users_categories AS users_categories ON users.userid = users_categories.id_user LEFT JOIN cb_categories AS categories ON users_categories.id_category = categories.category_id INNER JOIN cb_user_levels_permissions_values AS user_levels_permissions_values ON user_levels_permissions_values.user_level_id = user_levels.user_level_id INNER JOIN cb_user_levels_permissions AS user_levels_permissions ON user_levels_permissions_values.id_user_levels_permission = user_levels_permissions.id_user_levels_permission
AND user_levels_permissions.permission_name = 'enable_channel_page' WHERE users.username LIKE '%admin%' AND (user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel = 'no') GROUP BY users.userid,users.featured_video,users.username,users.user_session_key,users.user_session_code,users.password,users.email,users.usr_status,users.msg_notify,users.avatar,users.avatar_url,users.sex,users.dob,users.country,users.level,users.avcode,users.doj,users.last_logged,users.num_visits,users.session,users.ip,users.signup_ip,users.time_zone,users.featured,users.featured_date,users.profile_hits,users.total_watched,users.total_videos,users.total_comments,users.total_photos,users.total_collections,users.comments_count,users.last_commented,users.voted,users.ban_status,users.upload,users.subscribers,users.total_subscriptions,users.background,users.background_color,users.background_url,users.background_repeat,users.last_active,users.banned_users,users.welcome_email_sent,users.total_downloads,users.album_privacy,users.likes,users.is_live,user_profile.show_my_collections,user_profile.profile_title,user_profile.profile_desc,user_profile.featured_video,user_profile.first_name,user_profile.last_name,user_profile.show_dob,user_profile.postal_code,user_profile.time_zone,user_profile.web_url,user_profile.fb_url,user_profile.twitter_url,user_profile.insta_url,user_profile.hometown,user_profile.city,user_profile.online_status,user_profile.show_profile,user_profile.allow_comments,user_profile.allow_ratings,user_profile.allow_subscription,user_profile.content_filter,user_profile.icon_id,user_profile.browse_criteria,user_profile.about_me,user_profile.education,user_profile.schools,user_profile.occupation,user_profile.companies,user_profile.relation_status,user_profile.hobbies,user_profile.fav_movies,user_profile.fav_music,user_profile.fav_books,user_profile.background,user_profile.rating,user_profile.voters,user_profile.rated_by,user_profile.show_my_videos,user_profile.show_my_photos,user_profile.show_my_subscriptions,user_profile.show_my_subscribers,user_profile.show_my_friends,user_profile.disabled_channel,users.userid,user_levels_permissions.id_user_levels_permission ,(user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel != 'yes')
[timetook] => 0.006274938583374
[memBefore] => 1.3242111206055
[memAfter] => 1.3986663818359
[memUsed] => 0.074455261230469
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(444): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(470): User->getAll()
#5 /var/www/html/clipbucket-v5/upload/view_channel.php(27): User->getOne()
)
[10] => Array
(
[q] => SELECT userid FROM cb_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00074505805969238
[memBefore] => 1.3986663818359
[memAfter] => 1.3654479980469
[memUsed] => -0.033218383789062
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(4223): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/view_channel.php(28): userquery->get_anonymous_user()
)
[11] => Array
(
[q] => SELECT id_category_type, name FROM cb_categories_type AS categories_type
[timetook] => 0.00075006484985352
[memBefore] => 1.3654479980469
[memAfter] => 1.3667144775391
[memUsed] => 0.0012664794921875
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/category.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/category.class.php(37): Category->getAllCategoryTypes()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/category.class.php(43): Category->__construct()
#6 /var/www/html/clipbucket-v5/upload/view_channel.php(43): Category->getInstance()
)
[12] => Array
(
[q] => SELECT categories.category_id, categories.parent_id, categories.id_category_type, categories.category_name, categories.category_order, categories.category_desc, categories.date_added, categories.category_thumb, categories.is_default
FROM cb_categories AS categories ORDER BY category_order ASC
[timetook] => 0.0010209083557129
[memBefore] => 1.3667144775391
[memAfter] => 1.3742141723633
[memUsed] => 0.0074996948242188
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/category.class.php(132): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/category.class.php(325): Category->getAll()
#5 /var/www/html/clipbucket-v5/upload/view_channel.php(43): Category->getById()
)
[13] => Array
(
[q] => SELECT UP.userid, UP.show_my_collections, UP.profile_title, UP.profile_desc, UP.featured_video, UP.first_name, UP.last_name, UP.show_dob, UP.postal_code, UP.time_zone, UP.web_url, UP.fb_url, UP.twitter_url, UP.insta_url, UP.hometown, UP.city, UP.online_status, UP.show_profile, UP.allow_comments, UP.allow_ratings, UP.allow_subscription, UP.content_filter, UP.icon_id, UP.browse_criteria, UP.about_me, UP.education, UP.schools, UP.occupation, UP.companies, UP.relation_status, UP.hobbies, UP.fav_movies, UP.fav_music, UP.fav_books, UP.background, UP.rating, UP.voters, UP.rated_by, UP.show_my_videos, UP.show_my_photos, UP.show_my_subscriptions, UP.show_my_subscribers, UP.show_my_friends, UP.disabled_channel, GROUP_CONCAT( DISTINCT(T.name) SEPARATOR ',') as profile_tags
FROM cb_user_profile UP
LEFT JOIN cb_user_tags UT ON UP.userid = UT.id_user
LEFT JOIN cb_tags T ON T.id_tag = UT.id_tag
WHERE UP.userid = 1
GROUP BY UP.userid, UP.show_my_collections, UP.profile_title, UP.profile_desc, UP.featured_video, UP.first_name, UP.last_name, UP.show_dob, UP.postal_code, UP.time_zone, UP.web_url, UP.fb_url, UP.twitter_url, UP.insta_url, UP.hometown, UP.city, UP.online_status, UP.show_profile, UP.allow_comments, UP.allow_ratings, UP.allow_subscription, UP.content_filter, UP.icon_id, UP.browse_criteria, UP.about_me, UP.education, UP.schools, UP.occupation, UP.companies, UP.relation_status, UP.hobbies, UP.fav_movies, UP.fav_music, UP.fav_books, UP.background, UP.rating, UP.voters, UP.rated_by, UP.show_my_videos, UP.show_my_photos, UP.show_my_subscriptions, UP.show_my_subscribers, UP.show_my_friends, UP.disabled_channel
[timetook] => 0.0015051364898682
[memBefore] => 1.354736328125
[memAfter] => 1.3806457519531
[memUsed] => 0.025909423828125
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(2462): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/view_channel.php(56): userquery->get_user_profile()
)
[14] => Array
(
[q] => SELECT users.*, users_categories.id_category FROM cb_users AS users LEFT JOIN cb_users_categories AS users_categories ON users.userid = users_categories.id_user WHERE users.userid = '1'
[timetook] => 0.0010850429534912
[memBefore] => 1.3806457519531
[memAfter] => 1.3795928955078
[memUsed] => -0.0010528564453125
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/functions_db.php(106): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(1326): select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(2933): userquery->get_user_details()
#6 /var/www/html/clipbucket-v5/upload/view_channel.php(58): userquery->getBackground()
)
[15] => Array
(
[q] => SELECT userid FROM cb_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00078392028808594
[memBefore] => 1.3795928955078
[memAfter] => 1.3803176879883
[memUsed] => 0.00072479248046875
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(4223): Clipbucket_db->select()
#5 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(3839): userquery->get_anonymous_user()
#6 /var/www/html/clipbucket-v5/upload/includes/functions.php(1972): userquery->get_users()
#7 /var/www/html/clipbucket-v5/upload/view_channel.php(62): get_users()
)
[16] => Array
(
[q] => SELECT users.userid, users.username, users.email, users.avatar, users.sex, users.avatar_url, users.dob, users.level, users.usr_status, users.user_session_key, users.featured, users.ban_status, users.total_photos, users.profile_hits, users.total_videos, users.subscribers, users.total_subscriptions, users.last_active, users.total_collections, profile.rating, profile.rated_by, profile.voters, profile.first_name, profile.last_name, profile.profile_title, profile.profile_desc, profile.city, profile.hometown FROM cb_users AS users LEFT JOIN cb_user_profile AS profile ON users.userid = profile.userid WHERE users.userid != 0 AND users.usr_status='Ok' AND users.ban_status ='no' ORDER BY profile_hits DESC limit 6
[timetook] => 0.0013589859008789
[memBefore] => 1.3803176879883
[memAfter] => 1.3867416381836
[memUsed] => 0.0064239501953125
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/functions_db.php(106): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(3991): select()
#5 /var/www/html/clipbucket-v5/upload/includes/functions.php(1972): userquery->get_users()
#6 /var/www/html/clipbucket-v5/upload/view_channel.php(62): get_users()
)
[17] => Array
(
[q] => SELECT photos.photo_id, photos.photo_key, photos.photo_title, photos.photo_description, photos.userid, photos.date_added, photos.last_viewed, photos.views, photos.allow_comments, photos.allow_embedding, photos.allow_tagging, photos.featured, photos.reported, photos.allow_rating, photos.broadcast, photos.active, photos.total_comments, photos.last_commented, photos.total_favorites, photos.rating, photos.rated_by, photos.voters, photos.filename, photos.file_directory, photos.ext, photos.downloaded, photos.server_url, photos.owner_ip, photos.photo_details, photos.age_restriction, users.username, collection_items.collection_id , GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS photo_tags, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category , GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category_names, user_profile.disabled_channel
FROM cb_photos AS photos
LEFT JOIN cb_users AS users ON photos.userid = users.userid LEFT JOIN cb_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN cb_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN cb_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN cb_categories AS categories ON photos_categories.id_category = categories.category_id LEFT JOIN cb_collection_items AS collection_items ON photos.photo_id = collection_items.object_id AND collection_items.type = 'photos' LEFT JOIN cb_user_profile AS user_profile ON user_profile.userid = users.userid WHERE photos.userid = '1' AND (((photos.active = 'yes' AND photos.age_restriction IS NULL AND (photos.broadcast = 'public'))) AND collection_items.collection_id IS NOT NULL ) GROUP BY collection_items.collection_id ,photos.photo_id,photos.photo_id,collection_items.collection_id,user_profile.disabled_channel LIMIT 9
[timetook] => 0.0043699741363525
[memBefore] => 1.3867416381836
[memAfter] => 1.407356262207
[memUsed] => 0.020614624023438
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/photos.class.php(388): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/view_channel.php(96): Photo->getAll()
)
[18] => 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.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.subscription_email, video.is_castable, video.bits_color, video.age_restriction, video.default_poster, video.default_backdrop, video.fov, video.convert_percent, users.username AS user_username
FROM cb_video AS video
LEFT JOIN cb_users AS users ON video.userid = users.userid WHERE video.userid = '1' AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public'))) GROUP BY 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.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.subscription_email,video.is_castable,video.bits_color,video.age_restriction,video.default_poster,video.default_backdrop,video.fov,video.convert_percent,users.username,date_added ORDER BY date_added DESC LIMIT 9
[timetook] => 0.0042409896850586
[memBefore] => 1.407356262207
[memAfter] => 1.4443969726562
[memUsed] => 0.037040710449219
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/video.class.php(502): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/view_channel.php(158): Video->getAll()
)
[19] => Array
(
[q] => SELECT users.userid, users.featured_video, users.username, users.user_session_key, users.user_session_code, users.password, users.email, users.usr_status, users.msg_notify, users.avatar, users.avatar_url, users.sex, users.dob, users.country, users.level, users.avcode, users.doj, users.last_logged, users.num_visits, users.session, users.ip, users.signup_ip, users.time_zone, users.featured, users.featured_date, users.profile_hits, users.total_watched, users.total_videos, users.total_comments, users.total_photos, users.total_collections, users.comments_count, users.last_commented, users.voted, users.ban_status, users.upload, users.subscribers, users.total_subscriptions, users.background, users.background_color, users.background_url, users.background_repeat, users.last_active, users.banned_users, users.welcome_email_sent, users.total_downloads, users.album_privacy, users.likes, users.is_live, user_profile.show_my_collections, user_profile.profile_title, user_profile.profile_desc, user_profile.featured_video, user_profile.first_name, user_profile.last_name, user_profile.show_dob, user_profile.postal_code, user_profile.time_zone, user_profile.web_url, user_profile.fb_url, user_profile.twitter_url, user_profile.insta_url, user_profile.hometown, user_profile.city, user_profile.online_status, user_profile.show_profile, user_profile.allow_comments, user_profile.allow_ratings, user_profile.allow_subscription, user_profile.content_filter, user_profile.icon_id, user_profile.browse_criteria, user_profile.about_me, user_profile.education, user_profile.schools, user_profile.occupation, user_profile.companies, user_profile.relation_status, user_profile.hobbies, user_profile.fav_movies, user_profile.fav_music, user_profile.fav_books, user_profile.background, user_profile.rating, user_profile.voters, user_profile.rated_by, user_profile.show_my_videos, user_profile.show_my_photos, user_profile.show_my_subscriptions, user_profile.show_my_subscribers, user_profile.show_my_friends, user_profile.disabled_channel, user_levels.user_level_name, GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS tags, (user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel != 'yes') AS is_channel_enable
FROM cb_users AS users
LEFT JOIN cb_user_profile AS user_profile ON users.userid = user_profile.userid
INNER JOIN cb_user_levels AS user_levels ON users.level = user_levels.user_level_id LEFT JOIN cb_user_tags AS user_tags ON users.userid = user_tags.id_user LEFT JOIN cb_tags AS tags ON user_tags.id_tag = tags.id_tag LEFT JOIN cb_users_categories AS users_categories ON users.userid = users_categories.id_user LEFT JOIN cb_categories AS categories ON users_categories.id_category = categories.category_id INNER JOIN cb_user_levels_permissions_values AS user_levels_permissions_values ON user_levels_permissions_values.user_level_id = user_levels.user_level_id INNER JOIN cb_user_levels_permissions AS user_levels_permissions ON user_levels_permissions_values.id_user_levels_permission = user_levels_permissions.id_user_levels_permission
AND user_levels_permissions.permission_name = 'enable_channel_page' WHERE (usr_status = 'ok' AND users.userid != '1') AND (user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel = 'no') GROUP BY users.userid,users.featured_video,users.username,users.user_session_key,users.user_session_code,users.password,users.email,users.usr_status,users.msg_notify,users.avatar,users.avatar_url,users.sex,users.dob,users.country,users.level,users.avcode,users.doj,users.last_logged,users.num_visits,users.session,users.ip,users.signup_ip,users.time_zone,users.featured,users.featured_date,users.profile_hits,users.total_watched,users.total_videos,users.total_comments,users.total_photos,users.total_collections,users.comments_count,users.last_commented,users.voted,users.ban_status,users.upload,users.subscribers,users.total_subscriptions,users.background,users.background_color,users.background_url,users.background_repeat,users.last_active,users.banned_users,users.welcome_email_sent,users.total_downloads,users.album_privacy,users.likes,users.is_live,user_profile.show_my_collections,user_profile.profile_title,user_profile.profile_desc,user_profile.featured_video,user_profile.first_name,user_profile.last_name,user_profile.show_dob,user_profile.postal_code,user_profile.time_zone,user_profile.web_url,user_profile.fb_url,user_profile.twitter_url,user_profile.insta_url,user_profile.hometown,user_profile.city,user_profile.online_status,user_profile.show_profile,user_profile.allow_comments,user_profile.allow_ratings,user_profile.allow_subscription,user_profile.content_filter,user_profile.icon_id,user_profile.browse_criteria,user_profile.about_me,user_profile.education,user_profile.schools,user_profile.occupation,user_profile.companies,user_profile.relation_status,user_profile.hobbies,user_profile.fav_movies,user_profile.fav_music,user_profile.fav_books,user_profile.background,user_profile.rating,user_profile.voters,user_profile.rated_by,user_profile.show_my_videos,user_profile.show_my_photos,user_profile.show_my_subscriptions,user_profile.show_my_subscribers,user_profile.show_my_friends,user_profile.disabled_channel,users.userid,user_levels_permissions.id_user_levels_permission ,(user_levels_permissions_values.permission_value = 'yes' AND user_profile.disabled_channel != 'yes') ORDER BY users.profile_hits DESC LIMIT 5
[timetook] => 0.0097758769989014
[memBefore] => 1.4443969726562
[memAfter] => 1.5082321166992
[memUsed] => 0.063835144042969
[use_cache] => no
[backtrace] => #1 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/html/clipbucket-v5/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/html/clipbucket-v5/upload/includes/classes/user.class.php(444): Clipbucket_db->_select()
#4 /var/www/html/clipbucket-v5/upload/view_channel.php(186): User->getAll()
)
)