Requêtes Select (23)
Array
(
[0] => Array
(
[q] => SELECT * FROM v4_config
[timetook] => 0.00021600723266602
[memBefore] => 0.51314544677734
[memAfter] => 0.53802490234375
[memUsed] => 0.024879455566406
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/functions_db.php(10): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/my_queries.class.php(32): db_select()
#5 /var/www/upload/includes/common.php(98): myquery->Get_Website_Details()
#6 /var/www/upload/includes/config.inc.php(9): require_once()
#7 /var/www/upload/videos.php(4): require()
)
[1] => Array
(
[q] => SELECT * FROM v4_languages WHERE language_default='yes'
[timetook] => 0.00014305114746094
[memBefore] => 0.53802490234375
[memAfter] => 0.71736145019531
[memUsed] => 0.17933654785156
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(310): Clipbucket_db->select()
#5 /var/www/upload/includes/classes/lang.class.php(66): Language->getDefaultLanguage()
#6 /var/www/upload/includes/common.php(148): Language->init()
#7 /var/www/upload/includes/config.inc.php(9): require_once()
#8 /var/www/upload/videos.php(4): require()
)
[2] => Array
(
[q] => SELECT language_key, translation FROM v4_languages_keys AS LK
LEFT JOIN v4_languages_translations AS LT ON LK.id_language_key = LT.id_language_key AND LT.language_id = 13 ORDER BY CASE WHEN LT.translation IS NULL THEN concat('aaaaaaaaaaaaaaaaaaaa',language_key) ELSE LK.language_key END
[timetook] => 0.00068783760070801
[memBefore] => 0.71736145019531
[memAfter] => 0.78975677490234
[memUsed] => 0.072395324707031
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(147): Clipbucket_db->select()
#5 /var/www/upload/includes/classes/lang.class.php(208): Language->getAllTranslations()
#6 /var/www/upload/includes/classes/lang.class.php(75): Language->loadTranslations()
#7 /var/www/upload/includes/common.php(148): Language->init()
#8 /var/www/upload/includes/config.inc.php(9): require_once()
#9 /var/www/upload/videos.php(4): require()
)
[3] => Array
(
[q] => SELECT * FROM v4_sessions WHERE session ='95d1iodsqopeo3a3np603pokne'
[timetook] => 0.00030994415283203
[memBefore] => 0.78975677490234
[memAfter] => 0.91177368164062
[memUsed] => 0.12201690673828
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/session.class.php(99): Clipbucket_db->select()
#5 /var/www/upload/includes/classes/user.class.php(5273): Session->get_sessions()
#6 /var/www/upload/includes/classes/user.class.php(874): userquery->get_sessions()
#7 /var/www/upload/includes/common.php(156): userquery->init()
#8 /var/www/upload/includes/config.inc.php(9): require_once()
#9 /var/www/upload/videos.php(4): require()
)
[4] => Array
(
[q] => SELECT * FROM v4_sessions WHERE session_string='guest' AND session ='95d1iodsqopeo3a3np603pokne'
[timetook] => 0.0002589225769043
[memBefore] => 0.90084838867188
[memAfter] => 0.91704559326172
[memUsed] => 0.016197204589844
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/session.class.php(88): Clipbucket_db->select()
#5 /var/www/upload/includes/classes/session.class.php(44): Session->get_user_session()
#6 /var/www/upload/includes/classes/user.class.php(5280): Session->add_session()
#7 /var/www/upload/includes/classes/user.class.php(874): userquery->get_sessions()
#8 /var/www/upload/includes/common.php(156): userquery->init()
#9 /var/www/upload/includes/config.inc.php(9): require_once()
#10 /var/www/upload/videos.php(4): require()
)
[5] => Array
(
[q] => SELECT version.id, version.version, version.revision FROM v4_version AS version
[timetook] => 0.00014805793762207
[memBefore] => 0.91704559326172
[memAfter] => 0.91825103759766
[memUsed] => 0.0012054443359375
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/update.class.php(60): Clipbucket_db->select()
#5 /var/www/upload/includes/classes/update.class.php(785): Update->getDBVersion()
#6 /var/www/upload/includes/classes/user_level.class.php(38): Update->IsCurrentDBVersionIsHigherOrEqualTo()
#7 /var/www/upload/includes/classes/user.class.php(2267): UserLevel->getPermissions()
#8 /var/www/upload/includes/classes/user.class.php(912): userquery->get_user_level()
#9 /var/www/upload/includes/common.php(156): userquery->init()
#10 /var/www/upload/includes/config.inc.php(9): require_once()
#11 /var/www/upload/videos.php(4): require()
)
[6] => Array
(
[q] => SELECT * FROM v4_user_levels,v4_user_levels_permissions WHERE v4_user_levels_permissions.user_level_id='4'
AND v4_user_levels_permissions.user_level_id = v4_user_levels.user_level_id
[timetook] => 0.00017786026000977
[memBefore] => 0.91825103759766
[memAfter] => 0.92066955566406
[memUsed] => 0.0024185180664062
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/user_level.class.php(44): Clipbucket_db->select()
#5 /var/www/upload/includes/classes/user.class.php(2267): UserLevel->getPermissions()
#6 /var/www/upload/includes/classes/user.class.php(912): userquery->get_user_level()
#7 /var/www/upload/includes/common.php(156): userquery->init()
#8 /var/www/upload/includes/config.inc.php(9): require_once()
#9 /var/www/upload/videos.php(4): require()
)
[7] => Array
(
[q] => SELECT * FROM v4_languages_translations AS LT
INNER JOIN v4_languages_keys AS LK ON LK.id_language_key = LT.id_language_key WHERE LK.language_key = 'collections' AND LT.language_id = '1'
[timetook] => 0.00014996528625488
[memBefore] => 0.92066955566406
[memAfter] => 0.93149566650391
[memUsed] => 0.010826110839844
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(95): Clipbucket_db->select()
#5 /var/www/upload/includes/functions.php(1210): Language->getTranslationByKey()
#6 /var/www/upload/includes/classes/collections.class.php(886): lang()
#7 /var/www/upload/includes/classes/collections.class.php(839): Collections->setting_up_collections()
#8 /var/www/upload/includes/common.php(219): Collections->__construct()
#9 /var/www/upload/includes/config.inc.php(9): require_once()
#10 /var/www/upload/videos.php(4): require()
)
[8] => Array
(
[q] => SELECT * FROM v4_languages_translations AS LT
INNER JOIN v4_languages_keys AS LK ON LK.id_language_key = LT.id_language_key WHERE LK.language_key = 'manage_favorite_collections' AND LT.language_id = '1'
[timetook] => 0.00019001960754395
[memBefore] => 0.93149566650391
[memAfter] => 0.93289947509766
[memUsed] => 0.00140380859375
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(95): Clipbucket_db->select()
#5 /var/www/upload/includes/functions.php(1210): Language->getTranslationByKey()
#6 /var/www/upload/includes/classes/collections.class.php(886): lang()
#7 /var/www/upload/includes/classes/collections.class.php(839): Collections->setting_up_collections()
#8 /var/www/upload/includes/common.php(219): Collections->__construct()
#9 /var/www/upload/includes/config.inc.php(9): require_once()
#10 /var/www/upload/videos.php(4): require()
)
[9] => Array
(
[q] => SELECT * FROM v4_languages_translations AS LT
INNER JOIN v4_languages_keys AS LK ON LK.id_language_key = LT.id_language_key WHERE LK.language_key = 'collections' AND LT.language_id = '1'
[timetook] => 0.00015497207641602
[memBefore] => 0.93289947509766
[memAfter] => 0.94387054443359
[memUsed] => 0.010971069335938
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(95): Clipbucket_db->select()
#5 /var/www/upload/includes/functions.php(1210): Language->getTranslationByKey()
#6 /var/www/upload/includes/classes/collections.class.php(886): lang()
#7 /var/www/upload/includes/classes/collections.class.php(839): Collections->setting_up_collections()
#8 /var/www/upload/includes/classes/video.class.php(1097): Collections->__construct()
#9 /var/www/upload/includes/classes/video.class.php(950): CBvideo->init_collections()
#10 /var/www/upload/includes/common.php(278): CBvideo->init()
#11 /var/www/upload/includes/config.inc.php(9): require_once()
#12 /var/www/upload/videos.php(4): require()
)
[10] => Array
(
[q] => SELECT * FROM v4_languages_translations AS LT
INNER JOIN v4_languages_keys AS LK ON LK.id_language_key = LT.id_language_key WHERE LK.language_key = 'manage_favorite_collections' AND LT.language_id = '1'
[timetook] => 0.00014686584472656
[memBefore] => 0.94387054443359
[memAfter] => 0.94551849365234
[memUsed] => 0.00164794921875
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(95): Clipbucket_db->select()
#5 /var/www/upload/includes/functions.php(1210): Language->getTranslationByKey()
#6 /var/www/upload/includes/classes/collections.class.php(886): lang()
#7 /var/www/upload/includes/classes/collections.class.php(839): Collections->setting_up_collections()
#8 /var/www/upload/includes/classes/video.class.php(1097): Collections->__construct()
#9 /var/www/upload/includes/classes/video.class.php(950): CBvideo->init_collections()
#10 /var/www/upload/includes/common.php(278): CBvideo->init()
#11 /var/www/upload/includes/config.inc.php(9): require_once()
#12 /var/www/upload/videos.php(4): require()
)
[11] => Array
(
[q] => SELECT * FROM v4_languages_translations AS LT
INNER JOIN v4_languages_keys AS LK ON LK.id_language_key = LT.id_language_key WHERE LK.language_key = 'collections' AND LT.language_id = '1'
[timetook] => 0.00015997886657715
[memBefore] => 0.94551849365234
[memAfter] => 0.95546722412109
[memUsed] => 0.00994873046875
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(95): Clipbucket_db->select()
#5 /var/www/upload/includes/functions.php(1210): Language->getTranslationByKey()
#6 /var/www/upload/includes/classes/collections.class.php(886): lang()
#7 /var/www/upload/includes/classes/collections.class.php(839): Collections->setting_up_collections()
#8 /var/www/upload/includes/classes/photos.class.php(782): Collections->__construct()
#9 /var/www/upload/includes/classes/photos.class.php(739): CBPhotos->init_collections()
#10 /var/www/upload/includes/common.php(279): CBPhotos->init_photos()
#11 /var/www/upload/includes/config.inc.php(9): require_once()
#12 /var/www/upload/videos.php(4): require()
)
[12] => Array
(
[q] => SELECT * FROM v4_languages_translations AS LT
INNER JOIN v4_languages_keys AS LK ON LK.id_language_key = LT.id_language_key WHERE LK.language_key = 'manage_favorite_collections' AND LT.language_id = '1'
[timetook] => 0.00014901161193848
[memBefore] => 0.95546722412109
[memAfter] => 0.95711517333984
[memUsed] => 0.00164794921875
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(95): Clipbucket_db->select()
#5 /var/www/upload/includes/functions.php(1210): Language->getTranslationByKey()
#6 /var/www/upload/includes/classes/collections.class.php(886): lang()
#7 /var/www/upload/includes/classes/collections.class.php(839): Collections->setting_up_collections()
#8 /var/www/upload/includes/classes/photos.class.php(782): Collections->__construct()
#9 /var/www/upload/includes/classes/photos.class.php(739): CBPhotos->init_collections()
#10 /var/www/upload/includes/common.php(279): CBPhotos->init_photos()
#11 /var/www/upload/includes/config.inc.php(9): require_once()
#12 /var/www/upload/videos.php(4): require()
)
[13] => Array
(
[q] => SELECT tools.id_tool, language_key_label, language_key_description, elements_total, elements_done, COALESCE(NULLIF(language_key_title, ''), 'ready') as language_key_title, function_name, code,
CASE WHEN elements_total IS NULL OR elements_total = 0 THEN 0 ELSE elements_done * 100 / elements_total END AS pourcentage_progress, tools_histo.id_histo
,tools.is_automatable, tools.is_disabled, tools.frequency
FROM v4_tools AS tools
LEFT JOIN (
SELECT id_tool, MAX(date_start) AS max_date
FROM v4_tools_histo
GROUP BY id_tool
) tools_histo_max_date ON tools.id_tool = tools_histo_max_date.id_tool
LEFT JOIN v4_tools_histo AS tools_histo ON tools.id_tool = tools_histo.id_tool AND tools_histo.date_start = tools_histo_max_date.max_date
left JOIN v4_tools_histo_status AS tools_histo_status ON tools_histo_status.id_tools_histo_status = tools_histo.id_tools_histo_status
WHERE (tools_histo.id_tool IS NOT NULL OR tools_histo_max_date.id_tool IS NULL)
AND tools.code = 'automate'
ORDER BY tools.id_tool;
[timetook] => 0.00020694732666016
[memBefore] => 0.95711517333984
[memAfter] => 0.99492645263672
[memUsed] => 0.037811279296875
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/admin_tool.class.php(106): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/admin_tool.class.php(234): AdminTool->getTools()
#5 /var/www/upload/includes/classes/admin_tool.class.php(63): AdminTool->getToolByCode()
#6 /var/www/upload/includes/common.php(414): AdminTool->initByCode()
#7 /var/www/upload/includes/config.inc.php(9): require_once()
#8 /var/www/upload/videos.php(4): require()
)
[14] => Array
(
[q] => SELECT tools_histo.date_start
FROM v4_tools_histo AS tools_histo
WHERE tools_histo.id_tool = 23
ORDER BY tools_histo.date_start DESC LIMIT 1
[timetook] => 0.00018692016601562
[memBefore] => 0.99492645263672
[memAfter] => 0.99671173095703
[memUsed] => 0.0017852783203125
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/admin_tool.class.php(1016): Clipbucket_db->_select()
#4 /var/www/upload/includes/common.php(414): AdminTool->getLastStart()
#5 /var/www/upload/includes/config.inc.php(9): require_once()
#6 /var/www/upload/videos.php(4): require()
)
[15] => Array
(
[q] => SELECT * FROM v4_plugins WHERE plugin_active='yes'
[timetook] => 0.00017786026000977
[memBefore] => 0.99671173095703
[memAfter] => 0.99546813964844
[memUsed] => -0.0012435913085938
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/plugin.class.php(216): Clipbucket_db->select()
#5 /var/www/upload/includes/plugins.php(3): CBPlugin->getInstalledPlugins()
#6 /var/www/upload/includes/config.inc.php(10): require_once()
#7 /var/www/upload/videos.php(4): require()
)
[16] => Array
(
[q] => SELECT * FROM v4_languages WHERE language_default='yes'
[timetook] => 0.00026488304138184
[memBefore] => 0.99546813964844
[memAfter] => 1.0033645629883
[memUsed] => 0.0078964233398438
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/lang.class.php(310): Clipbucket_db->select()
#5 /var/www/upload/includes/functions.php(1257): Language->getDefaultLanguage()
#6 /var/www/upload/player/CB_video_js/cb_video_js.php(24): get_current_language()
#7 /var/www/upload/player/CB_video_js/cb_video_js.php(135): CB_video_js->load_dependancies()
#8 /var/www/upload/player/CB_video_js/cb_video_js.php(140): CB_video_js->__construct()
#9 /var/www/upload/includes/plugins.php(35): include_once()
#10 /var/www/upload/includes/config.inc.php(10): require_once()
#11 /var/www/upload/videos.php(4): require()
)
[17] => Array
(
[q] => SELECT id_category_type, name FROM v4_categories_type AS categories_type
[timetook] => 0.00016283988952637
[memBefore] => 1.0033645629883
[memAfter] => 1.0102233886719
[memUsed] => 0.0068588256835938
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/category.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/category.class.php(37): Category->getAllCategoryTypes()
#5 /var/www/upload/includes/classes/category.class.php(43): Category->__construct()
#6 /var/www/upload/videos.php(15): Category->getInstance()
)
[18] => 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 v4_categories AS categories WHERE parent_id = 17
[timetook] => 0.00015521049499512
[memBefore] => 1.0102233886719
[memAfter] => 1.0137557983398
[memUsed] => 0.0035324096679688
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/category.class.php(132): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/category.class.php(406): Category->getAll()
#5 /var/www/upload/videos.php(15): Category->getChildren()
)
[19] => Array
(
[q] => SELECT * FROM v4_tags_type WHERE name IN ('video','actors','producer','executive_producer','director','crew','genre')
[timetook] => 0.00014710426330566
[memBefore] => 1.0137557983398
[memAfter] => 1.0270767211914
[memUsed] => 0.013320922851562
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/tags.class.php(329): Clipbucket_db->select()
#5 /var/www/upload/includes/classes/tags.class.php(337): Tags->getTagTypes()
#6 /var/www/upload/includes/classes/video.class.php(397): Tags->getVideoTypes()
#7 /var/www/upload/videos.php(27): Video->getAll()
)
[20] => 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 END) SEPARATOR ',') AS tags_actors, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 10 THEN tags.name END) SEPARATOR ',') AS tags_crew, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 9 THEN tags.name END) SEPARATOR ',') AS tags_director, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 8 THEN tags.name END) SEPARATOR ',') AS tags_executive_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 11 THEN tags.name END) SEPARATOR ',') AS tags_genre, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 7 THEN tags.name END) SEPARATOR ',') AS tags_producer, GROUP_CONCAT( DISTINCT(CASE WHEN tags.id_tag_type = 1 THEN tags.name END) SEPARATOR ',') AS tags_video, GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category, GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ', ') AS category_names, user_profile.disabled_channel
FROM v4_video AS video
LEFT JOIN v4_users AS users ON video.userid = users.userid LEFT JOIN v4_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN v4_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN v4_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN v4_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN v4_user_profile AS user_profile ON user_profile.userid = users.userid WHERE ( video.date_added IS NOT NULL ) AND ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public'))) AND categories.category_id IN (17) 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,users.username,video.videoid,video.videoid,user_profile.disabled_channel,video.date_added ORDER BY video.date_added DESC LIMIT 450,30
[timetook] => 0.039655923843384
[memBefore] => 1.0270767211914
[memAfter] => 1.0526504516602
[memUsed] => 0.02557373046875
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/video.class.php(478): Clipbucket_db->_select()
#4 /var/www/upload/videos.php(27): Video->getAll()
)
[21] => Array
(
[q] => SELECT COUNT(DISTINCT video.videoid) AS count
FROM v4_video AS video
LEFT JOIN v4_users AS users ON video.userid = users.userid LEFT JOIN v4_video_tags AS video_tags ON video.videoid = video_tags.id_video LEFT JOIN v4_tags AS tags ON video_tags.id_tag = tags.id_tag LEFT JOIN v4_videos_categories AS videos_categories ON video.videoid = videos_categories.id_video LEFT JOIN v4_categories AS categories ON videos_categories.id_category = categories.category_id LEFT JOIN v4_user_profile AS user_profile ON user_profile.userid = users.userid WHERE ( video.date_added IS NOT NULL ) AND ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public'))) AND categories.category_id IN (17)
[timetook] => 0.0047719478607178
[memBefore] => 1.0526504516602
[memAfter] => 1.1394424438477
[memUsed] => 0.0867919921875
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/video.class.php(478): Clipbucket_db->_select()
#4 /var/www/upload/videos.php(41): Video->getAll()
)
[22] => Array
(
[q] => SELECT userid FROM v4_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1
[timetook] => 0.00014495849609375
[memBefore] => 1.1394424438477
[memAfter] => 1.1384658813477
[memUsed] => -0.0009765625
[use_cache] => no
[backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch()
#2 /var/www/upload/includes/classes/db.class.php(120): Clipbucket_db->execute()
#3 /var/www/upload/includes/classes/db.class.php(169): Clipbucket_db->_select()
#4 /var/www/upload/includes/classes/user.class.php(4337): Clipbucket_db->select()
#5 /var/www/upload/videos.php(43): userquery->get_anonymous_user()
)
)