Select Queries (21)
Array
(
[0] => Array
(
[q] => SELECT * FROM cbv5kz_config
[timetook] => 0.0010929107666016
[memBefore] => 0.49403381347656
[memAfter] => 0.51903533935547
[memUsed] => 0.025001525878906
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/my_queries.class.php(32): db_select()
#5 /srv/http/creativeveins.tv/upload/includes/common.php(98): myquery->Get_Website_Details()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[1] => Array
(
[q] => SELECT * FROM cbv5kz_languages WHERE language_default='yes'
[timetook] => 0.0003058910369873
[memBefore] => 0.51903533935547
[memAfter] => 0.68850708007812
[memUsed] => 0.16947174072266
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(106): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(310): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(66): Language->getDefaultLanguage()
#5 /srv/http/creativeveins.tv/upload/includes/common.php(144): Language->init()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[2] => Array
(
[q] => SELECT language_key, translation FROM cbv5kz_languages_keys AS LK
LEFT JOIN cbv5kz_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.0041680335998535
[memBefore] => 0.68850708007812
[memAfter] => 1.3432464599609
[memUsed] => 0.65473937988281
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(106): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(147): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(208): Language->getAllTranslations()
#5 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(75): Language->loadTranslations()
#6 /srv/http/creativeveins.tv/upload/includes/common.php(144): Language->init()
#7 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#8 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[3] => Array
(
[q] => SELECT * FROM cbv5kz_sessions WHERE session ='d7trqs0q7rqeta80n2qjduslsr'
[timetook] => 0.00056695938110352
[memBefore] => 1.3432464599609
[memAfter] => 0.90908813476562
[memUsed] => -0.43415832519531
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/session.class.php(99): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(5409): Session->get_sessions()
#6 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(748): userquery->get_sessions()
#7 /srv/http/creativeveins.tv/upload/includes/common.php(154): userquery->init()
#8 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#9 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[4] => Array
(
[q] => SELECT * FROM cbv5kz_sessions WHERE session_string='guest' AND session ='d7trqs0q7rqeta80n2qjduslsr'
[timetook] => 0.00043201446533203
[memBefore] => 0.89617156982422
[memAfter] => 0.9127197265625
[memUsed] => 0.016548156738281
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/session.class.php(88): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/includes/classes/session.class.php(44): Session->get_user_session()
#6 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(5416): Session->add_session()
#7 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(748): userquery->get_sessions()
#8 /srv/http/creativeveins.tv/upload/includes/common.php(154): userquery->init()
#9 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#10 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[5] => Array
(
[q] => SELECT * FROM cbv5kz_user_levels,cbv5kz_user_levels_permissions WHERE cbv5kz_user_levels_permissions.user_level_id='4'
AND cbv5kz_user_levels_permissions.user_level_id = cbv5kz_user_levels.user_level_id
[timetook] => 0.00030899047851562
[memBefore] => 0.9127197265625
[memAfter] => 0.90296936035156
[memUsed] => -0.0097503662109375
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(106): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(2283): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(785): userquery->get_user_level()
#5 /srv/http/creativeveins.tv/upload/includes/common.php(154): userquery->init()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[6] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM cbv5kz_version AS version
[timetook] => 0.0003049373626709
[memBefore] => 0.90296936035156
[memAfter] => 0.90487670898438
[memUsed] => 0.0019073486328125
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(106): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/update.class.php(60): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/update.class.php(437): Update->getDBVersion()
#5 /srv/http/creativeveins.tv/upload/includes/common.php(160): Update->isVersionSystemInstalled()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(9): require_once()
#7 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[7] => Array
(
[q] => SELECT * FROM cbv5kz_plugins WHERE plugin_active='yes'
[timetook] => 0.0003058910369873
[memBefore] => 0.90487670898438
[memAfter] => 0.9674072265625
[memUsed] => 0.062530517578125
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#6 /srv/http/creativeveins.tv/upload/includes/config.inc.php(10): require_once()
#7 /srv/http/creativeveins.tv/upload/view_channel.php(5): require()
)
[8] => Array
(
[q] => SELECT * FROM cbv5kz_languages WHERE language_default='yes'
[timetook] => 0.00032401084899902
[memBefore] => 0.9674072265625
[memAfter] => 0.95439147949219
[memUsed] => -0.013015747070312
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(106): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/lang.class.php(310): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/functions.php(1270): Language->getDefaultLanguage()
#5 /srv/http/creativeveins.tv/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#6 /srv/http/creativeveins.tv/upload/player/CB_video_js/cb_video_js.php(135): CB_video_js->load_dependancies()
#7 /srv/http/creativeveins.tv/upload/player/CB_video_js/cb_video_js.php(140): CB_video_js->__construct()
#8 /srv/http/creativeveins.tv/upload/includes/plugins.php(37): include_once()
#9 /srv/http/creativeveins.tv/upload/includes/config.inc.php(10): require_once()
#10 /srv/http/creativeveins.tv/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_levels.user_level_name, GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS tags, (user_levels_permissions.enable_channel_page = 'yes' AND user_profile.disabled_channel != 'yes') AS is_channel_enable
FROM cbv5kz_users AS users
INNER JOIN cbv5kz_user_profile AS user_profile ON users.userid = user_profile.userid
INNER JOIN cbv5kz_user_levels AS user_levels ON users.level = user_levels.user_level_id
INNER JOIN cbv5kz_user_levels_permissions AS user_levels_permissions ON user_levels_permissions.user_level_id = user_levels.user_level_id LEFT JOIN cbv5kz_user_tags AS user_tags ON users.userid = user_tags.id_user LEFT JOIN cbv5kz_tags AS tags ON user_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_users_categories AS users_categories ON users.userid = users_categories.id_user LEFT JOIN cbv5kz_categories AS categories ON users_categories.id_category = categories.category_id WHERE users.username LIKE '%Keary%' AND (user_levels_permissions.enable_channel_page = 'yes' AND user_profile.disabled_channel = 'no') GROUP BY users.userid
[timetook] => 0.0039269924163818
[memBefore] => 0.95439147949219
[memAfter] => 1.0209045410156
[memUsed] => 0.066513061523438
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(405): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(431): User->getAll()
#5 /srv/http/creativeveins.tv/upload/view_channel.php(27): User->getOne()
)
[10] => Array
(
[q] => SELECT userid FROM cbv5kz_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00056004524230957
[memBefore] => 1.0209045410156
[memAfter] => 0.99239349365234
[memUsed] => -0.028511047363281
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(4475): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/view_channel.php(28): userquery->get_anonymous_user()
)
[11] => Array
(
[q] => SELECT id_category_type, name FROM cbv5kz_categories_type AS categories_type
[timetook] => 0.00034594535827637
[memBefore] => 0.99239349365234
[memAfter] => 0.99352264404297
[memUsed] => 0.001129150390625
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/category.class.php(169): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/category.class.php(37): Category->getAllCategoryTypes()
#5 /srv/http/creativeveins.tv/upload/includes/classes/category.class.php(43): Category->__construct()
#6 /srv/http/creativeveins.tv/upload/view_channel.php(58): 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 cbv5kz_categories AS categories
[timetook] => 0.00051999092102051
[memBefore] => 0.99352264404297
[memAfter] => 0.99700164794922
[memUsed] => 0.00347900390625
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/category.class.php(132): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/category.class.php(311): Category->getAll()
#5 /srv/http/creativeveins.tv/upload/view_channel.php(58): 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 cbv5kz_user_profile UP
LEFT JOIN cbv5kz_user_tags UT ON UP.userid = UT.id_user
LEFT JOIN cbv5kz_tags T ON T.id_tag = UT.id_tag
WHERE UP.userid = 2
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.0014941692352295
[memBefore] => 0.98141479492188
[memAfter] => 1.0042037963867
[memUsed] => 0.022789001464844
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(2688): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/view_channel.php(71): userquery->get_user_profile()
)
[14] => Array
(
[q] => SELECT users.*, users_categories.id_category FROM cbv5kz_users AS users LEFT JOIN cbv5kz_users_categories AS users_categories ON users.userid = users_categories.id_user WHERE users.userid = '2'
[timetook] => 0.00073003768920898
[memBefore] => 1.0042037963867
[memAfter] => 1.0044784545898
[memUsed] => 0.000274658203125
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/functions_db.php(106): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(1346): select()
#5 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(3148): userquery->get_user_details()
#6 /srv/http/creativeveins.tv/upload/view_channel.php(73): userquery->getBackground()
)
[15] => Array
(
[q] => SELECT userid FROM cbv5kz_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00054097175598145
[memBefore] => 1.0044784545898
[memAfter] => 1.0060653686523
[memUsed] => 0.0015869140625
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(4475): Clipbucket_db->select()
#5 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(4072): userquery->get_anonymous_user()
#6 /srv/http/creativeveins.tv/upload/includes/functions.php(2120): userquery->get_users()
#7 /srv/http/creativeveins.tv/upload/view_channel.php(78): 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 cbv5kz_users AS users LEFT JOIN cbv5kz_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.00089001655578613
[memBefore] => 1.0060653686523
[memAfter] => 1.008903503418
[memUsed] => 0.002838134765625
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/functions_db.php(106): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(4224): select()
#5 /srv/http/creativeveins.tv/upload/includes/functions.php(2120): userquery->get_users()
#6 /srv/http/creativeveins.tv/upload/view_channel.php(78): 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 tags, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category
FROM cbv5kz_photos AS photos
LEFT JOIN cbv5kz_users AS users ON photos.userid = users.userid LEFT JOIN cbv5kz_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN cbv5kz_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN cbv5kz_categories AS categories ON photos_categories.id_category = categories.category_id LEFT JOIN cbv5kz_collection_items AS collection_items ON photos.photo_id = collection_items.object_id WHERE photos.userid = '2' AND (((photos.active = 'yes' AND photos.age_restriction IS NULL AND (photos.broadcast = 'public'))) AND collection_items.collection_id IS NOT NULL ) GROUP BY photos.photo_id,photos.photo_id LIMIT 9
[timetook] => 0.0023307800292969
[memBefore] => 1.008903503418
[memAfter] => 1.0212097167969
[memUsed] => 0.012306213378906
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/photos.class.php(325): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/view_channel.php(110): Photo->getAll()
)
[18] => Array
(
[q] => SELECT * FROM cbv5kz_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00031280517578125
[memBefore] => 1.0212097167969
[memAfter] => 1.0210876464844
[memUsed] => -0.0001220703125
[use_cache] => yes
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(106): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(165): Clipbucket_db->_select()
#3 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(326): Clipbucket_db->select()
#4 /srv/http/creativeveins.tv/upload/includes/classes/tags.class.php(334): Tags->getTagTypes()
#5 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(361): Tags->getVideoTypes()
#6 /srv/http/creativeveins.tv/upload/view_channel.php(149): Video->getAll()
)
[19] => 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, users.username AS user_username, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 6 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_actors, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 10 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_crew, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 9 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_director, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 8 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_executive_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 11 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_genre, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 7 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 1 THEN tags.name ELSE '' END) SEPARATOR ',') AS tags_video, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category, GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category_names
FROM cbv5kz_video AS video
LEFT JOIN cbv5kz_users AS users ON video.userid = users.userid LEFT JOIN cbv5kz_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN cbv5kz_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN cbv5kz_categories AS categories ON videos_categories.id_category = categories.category_id WHERE video.userid = '2' AND ( (video.active = 'yes' AND video.status = 'Successful' AND video.age_restriction IS NULL AND (video.broadcast = 'public'))) GROUP BY video.videoid,video.videoid,date_added ORDER BY date_added DESC LIMIT 9
[timetook] => 0.0033071041107178
[memBefore] => 1.0210876464844
[memAfter] => 1.0581436157227
[memUsed] => 0.037055969238281
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/video.class.php(424): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/view_channel.php(149): Video->getAll()
)
[20] => 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_levels.user_level_name, GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS tags, (user_levels_permissions.enable_channel_page = 'yes' AND user_profile.disabled_channel != 'yes') AS is_channel_enable
FROM cbv5kz_users AS users
INNER JOIN cbv5kz_user_profile AS user_profile ON users.userid = user_profile.userid
INNER JOIN cbv5kz_user_levels AS user_levels ON users.level = user_levels.user_level_id
INNER JOIN cbv5kz_user_levels_permissions AS user_levels_permissions ON user_levels_permissions.user_level_id = user_levels.user_level_id LEFT JOIN cbv5kz_user_tags AS user_tags ON users.userid = user_tags.id_user LEFT JOIN cbv5kz_tags AS tags ON user_tags.id_tag = tags.id_tag LEFT JOIN cbv5kz_users_categories AS users_categories ON users.userid = users_categories.id_user LEFT JOIN cbv5kz_categories AS categories ON users_categories.id_category = categories.category_id WHERE (usr_status = 'ok' AND users.userid != '2') GROUP BY users.userid ORDER BY users.profile_hits DESC LIMIT 5
[timetook] => 0.0051980018615723
[memBefore] => 1.0581436157227
[memAfter] => 1.0883483886719
[memUsed] => 0.030204772949219
[use_cache] => no
[backtrace] => #1 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(232): devWitch()
#2 /srv/http/creativeveins.tv/upload/includes/classes/db.class.php(116): Clipbucket_db->execute()
#3 /srv/http/creativeveins.tv/upload/includes/classes/user.class.php(405): Clipbucket_db->_select()
#4 /srv/http/creativeveins.tv/upload/view_channel.php(152): User->getAll()
)
)