Chargement
Array ( [0] => Array ( [q] => SELECT * FROM v4_config [timetook] => 0.00021886825561523 [memBefore] => 0.51705169677734 [memAfter] => 0.54193115234375 [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/photos.php(5): require() ) [1] => Array ( [q] => SELECT * FROM v4_languages WHERE language_default='yes' [timetook] => 0.00014209747314453 [memBefore] => 0.54193115234375 [memAfter] => 0.72126770019531 [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/photos.php(5): 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.00070714950561523 [memBefore] => 0.72126770019531 [memAfter] => 0.79366302490234 [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/photos.php(5): require() ) [3] => Array ( [q] => SELECT * FROM v4_sessions WHERE session ='fg60s8gedbef54f1uq1olksrqg' [timetook] => 0.00039792060852051 [memBefore] => 0.79366302490234 [memAfter] => 0.91567993164062 [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/photos.php(5): require() ) [4] => Array ( [q] => SELECT * FROM v4_sessions WHERE session_string='guest' AND session ='fg60s8gedbef54f1uq1olksrqg' [timetook] => 0.00024509429931641 [memBefore] => 0.90463256835938 [memAfter] => 0.92092132568359 [memUsed] => 0.016288757324219 [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/photos.php(5): require() ) [5] => Array ( [q] => SELECT version.id, version.version, version.revision FROM v4_version AS version [timetook] => 0.00013899803161621 [memBefore] => 0.92092132568359 [memAfter] => 0.92212677001953 [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/photos.php(5): 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.00018000602722168 [memBefore] => 0.92212677001953 [memAfter] => 0.92454528808594 [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/photos.php(5): 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.0001530647277832 [memBefore] => 0.92454528808594 [memAfter] => 0.93537139892578 [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/photos.php(5): 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.0001368522644043 [memBefore] => 0.93537139892578 [memAfter] => 0.93677520751953 [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/photos.php(5): 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.00014901161193848 [memBefore] => 0.93677520751953 [memAfter] => 0.94774627685547 [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/photos.php(5): 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.00015091896057129 [memBefore] => 0.94774627685547 [memAfter] => 0.94939422607422 [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/photos.php(5): 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.00015616416931152 [memBefore] => 0.94939422607422 [memAfter] => 0.95934295654297 [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/photos.php(5): 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.00015091896057129 [memBefore] => 0.95934295654297 [memAfter] => 0.96099090576172 [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/photos.php(5): 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.00016093254089355 [memBefore] => 0.96099090576172 [memAfter] => 0.99886322021484 [memUsed] => 0.037872314453125 [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/photos.php(5): 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.00014209747314453 [memBefore] => 0.99886322021484 [memAfter] => 1.0006484985352 [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/photos.php(5): require() ) [15] => Array ( [q] => SELECT * FROM v4_plugins WHERE plugin_active='yes' [timetook] => 0.00014400482177734 [memBefore] => 1.0006484985352 [memAfter] => 0.99940490722656 [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/photos.php(5): require() ) [16] => Array ( [q] => SELECT * FROM v4_languages WHERE language_default='yes' [timetook] => 0.00014591217041016 [memBefore] => 0.99940490722656 [memAfter] => 1.0073013305664 [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/photos.php(5): require() ) [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, user_profile.disabled_channel FROM v4_photos AS photos LEFT JOIN v4_users AS users ON photos.userid = users.userid LEFT JOIN v4_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN v4_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN v4_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN v4_categories AS categories ON photos_categories.id_category = categories.category_id LEFT JOIN v4_collection_items AS collection_items ON photos.photo_id = collection_items.object_id AND collection_items.type = 'photos' LEFT JOIN v4_user_profile AS user_profile ON user_profile.userid = users.userid WHERE (YEAR(CURDATE())-1 = YEAR(photos.date_added) ) AND (((photos.active = 'yes' 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 10,10 [timetook] => 0.0018370151519775 [memBefore] => 1.0073013305664 [memAfter] => 1.0253601074219 [memUsed] => 0.018058776855469 [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/photos.class.php(374): Clipbucket_db->_select() #4 /var/www/upload/photos.php(20): Photo->getAll() ) [18] => Array ( [q] => SELECT COUNT(DISTINCT photos.photo_id) AS count, user_profile.disabled_channel FROM v4_photos AS photos LEFT JOIN v4_users AS users ON photos.userid = users.userid LEFT JOIN v4_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN v4_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN v4_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN v4_categories AS categories ON photos_categories.id_category = categories.category_id LEFT JOIN v4_collection_items AS collection_items ON photos.photo_id = collection_items.object_id AND collection_items.type = 'photos' LEFT JOIN v4_user_profile AS user_profile ON user_profile.userid = users.userid WHERE (YEAR(CURDATE())-1 = YEAR(photos.date_added) ) AND (((photos.active = 'yes' AND (photos.broadcast = 'public'))) AND collection_items.collection_id IS NOT NULL ) GROUP BY user_profile.disabled_channel [timetook] => 0.00090789794921875 [memBefore] => 1.0253601074219 [memAfter] => 1.0347290039062 [memUsed] => 0.009368896484375 [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/photos.class.php(374): Clipbucket_db->_select() #4 /var/www/upload/photos.php(34): Photo->getAll() ) [19] => Array ( [q] => SELECT collections.collection_id , collections.collection_name , collections.collection_description , collections.userid , collections.date_added , collections.featured , collections.broadcast , collections.allow_comments , collections.allow_rating , collections.total_comments , collections.last_commented , collections.rating , collections.rated_by , collections.voters , collections.active , collections.public_upload , collections.type , collections.collection_id_parent , collections.thumb_objectid , users.username AS user_username, users.email, users.dob , COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) AS total_objects , GROUP_CONCAT( DISTINCT(tags.name) SEPARATOR ',') AS tags , GROUP_CONCAT( DISTINCT(categories.category_id) SEPARATOR ',') AS category , GROUP_CONCAT( DISTINCT(categories.category_name) SEPARATOR ',') AS category_names FROM v4_collections AS collections LEFT JOIN v4_users AS users ON collections.userid = users.userid LEFT JOIN v4_collection_items AS collection_items ON collections.collection_id = collection_items.collection_id LEFT JOIN v4_video AS video ON collections.type = 'videos' AND collection_items.object_id = video.videoid AND ( (video.active = 'yes' AND video.status = 'Successful' AND (video.broadcast = 'public' OR (video.broadcast = 'unlisted' AND video.video_password = '')))) LEFT JOIN v4_photos AS photos ON collections.type = 'photos' AND collection_items.object_id = photos.photo_id AND (((photos.active = 'yes' AND (photos.broadcast = 'public' OR (photos.broadcast = 'unlisted')))) AND collection_items.collection_id IS NOT NULL ) LEFT JOIN v4_collection_tags AS collection_tags ON collections.collection_id = collection_tags.id_collection LEFT JOIN v4_tags AS tags ON collection_tags.id_tag = tags.id_tag LEFT JOIN v4_collections_categories AS collections_categories ON collections.collection_id = collections_categories.id_collection LEFT JOIN v4_categories AS categories ON collections_categories.id_category = categories.category_id WHERE collections.active = 'yes' AND collections.type = 'photos' AND collections.collection_id_parent IS NULL AND collections.collection_id_parent IS NULL AND (collections.active = 'yes' AND collections.broadcast = 'public') GROUP BY collections.collection_id HAVING COUNT( DISTINCT(CASE WHEN collections.type = 'videos' THEN video.videoid ELSE photos.photo_id END)) > 0 LIMIT 6 [timetook] => 0.0049619674682617 [memBefore] => 1.0347290039062 [memAfter] => 1.044075012207 [memUsed] => 0.0093460083007812 [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/collections.class.php(418): Clipbucket_db->_select() #4 /var/www/upload/photos.php(39): Collection->getAll() ) [20] => 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, user_profile.disabled_channel FROM v4_photos AS photos LEFT JOIN v4_users AS users ON photos.userid = users.userid LEFT JOIN v4_photo_tags AS photo_tags ON photos.photo_id = photo_tags.id_photo LEFT JOIN v4_tags AS tags ON photo_tags.id_tag = tags.id_tag LEFT JOIN v4_photos_categories AS photos_categories ON photos.photo_id = photos_categories.id_photo LEFT JOIN v4_categories AS categories ON photos_categories.id_category = categories.category_id LEFT JOIN v4_collection_items AS collection_items ON photos.photo_id = collection_items.object_id AND collection_items.type = 'photos' LEFT JOIN v4_user_profile AS user_profile ON user_profile.userid = users.userid WHERE photos.featured = 'yes' AND (((photos.active = 'yes' 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 0,6 [timetook] => 0.0008690357208252 [memBefore] => 1.044075012207 [memAfter] => 1.0585556030273 [memUsed] => 0.014480590820312 [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/photos.class.php(374): Clipbucket_db->_select() #4 /var/www/upload/photos.php(51): Photo->getAll() ) [21] => Array ( [q] => SELECT userid FROM v4_users WHERE username='anonymous' AND email='anonymous@website' LIMIT 1 [timetook] => 0.00014495849609375 [memBefore] => 1.0585556030273 [memAfter] => 1.0535736083984 [memUsed] => -0.0049819946289062 [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/photos.php(56): userquery->get_anonymous_user() ) )
Array ( [0] => Array ( [q] => UPDATE v4_sessions SET last_active='2024-12-22 06:16:49',current_page='https://acamedia.ac-nice.fr/photos/all/All/most_commented/last_year/2' WHERE session='fg60s8gedbef54f1uq1olksrqg' [timetook] => 0.00023889541625977 [memBefore] => 0.91567993164062 [memAfter] => 0.90463256835938 [memUsed] => -0.01104736328125 [use_cache] => no [backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch() #2 /var/www/upload/includes/classes/db.class.php(326): Clipbucket_db->execute() #3 /var/www/upload/includes/classes/session.class.php(105): Clipbucket_db->update() #4 /var/www/upload/includes/classes/user.class.php(5273): Session->get_sessions() #5 /var/www/upload/includes/classes/user.class.php(874): userquery->get_sessions() #6 /var/www/upload/includes/common.php(156): userquery->init() #7 /var/www/upload/includes/config.inc.php(9): require_once() #8 /var/www/upload/photos.php(5): require() ) )
Sorry Ninja, nothing to show here
Sorry Ninja, nothing to show here
Array ( [0] => Array ( [q] => SET NAMES "utf8mb4" [timetook] => 0.00015401840209961 [memBefore] => 0 [memAfter] => 0.42159271240234 [memUsed] => 0.42159271240234 [use_cache] => no [backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch() #2 /var/www/upload/includes/classes/db.class.php(78): Clipbucket_db->execute() #3 /var/www/upload/includes/classes/db.class.php(25): Clipbucket_db->connect() #4 /var/www/upload/includes/config.php(17): Clipbucket_db->__construct() #5 /var/www/upload/includes/common.php(71): require_once() #6 /var/www/upload/includes/config.inc.php(9): require_once() #7 /var/www/upload/photos.php(5): require() ) [1] => Array ( [q] => SET NAMES "utf8mb4" [timetook] => 0.00014686584472656 [memBefore] => 0.42159271240234 [memAfter] => 0.424072265625 [memUsed] => 0.0024795532226562 [use_cache] => no [backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch() #2 /var/www/upload/includes/classes/db.class.php(78): Clipbucket_db->execute() #3 /var/www/upload/includes/config.php(19): Clipbucket_db->connect() #4 /var/www/upload/includes/common.php(71): require_once() #5 /var/www/upload/includes/config.inc.php(9): require_once() #6 /var/www/upload/photos.php(5): require() ) [2] => Array ( [q] => SET NAMES "utf8mb4" [timetook] => 0.00013303756713867 [memBefore] => 0.424072265625 [memAfter] => 0.51705169677734 [memUsed] => 0.092979431152344 [use_cache] => no [backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch() #2 /var/www/upload/includes/classes/db.class.php(78): Clipbucket_db->execute() #3 /var/www/upload/includes/classes/db.class.php(25): Clipbucket_db->connect() #4 /var/www/upload/includes/classes/db.class.php(18): Clipbucket_db->__construct() #5 /var/www/upload/includes/functions_db.php(10): Clipbucket_db->getInstance() #6 /var/www/upload/includes/classes/my_queries.class.php(32): db_select() #7 /var/www/upload/includes/common.php(98): myquery->Get_Website_Details() #8 /var/www/upload/includes/config.inc.php(9): require_once() #9 /var/www/upload/photos.php(5): require() ) )
Array ( [q] => SET NAMES "utf8mb4" [timetook] => 0.00015401840209961 [memBefore] => 0 [memAfter] => 0.42159271240234 [memUsed] => 0.42159271240234 [use_cache] => no [backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch() #2 /var/www/upload/includes/classes/db.class.php(78): Clipbucket_db->execute() #3 /var/www/upload/includes/classes/db.class.php(25): Clipbucket_db->connect() #4 /var/www/upload/includes/config.php(17): Clipbucket_db->__construct() #5 /var/www/upload/includes/common.php(71): require_once() #6 /var/www/upload/includes/config.inc.php(9): require_once() #7 /var/www/upload/photos.php(5): require() )
Array ( [q] => UPDATE v4_sessions SET last_active='2024-12-22 06:16:49',current_page='https://acamedia.ac-nice.fr/photos/all/All/most_commented/last_year/2' WHERE session='fg60s8gedbef54f1uq1olksrqg' [timetook] => 0.00023889541625977 [memBefore] => 0.91567993164062 [memAfter] => 0.90463256835938 [memUsed] => -0.01104736328125 [use_cache] => no [backtrace] => #1 /var/www/upload/includes/classes/db.class.php(236): devWitch() #2 /var/www/upload/includes/classes/db.class.php(326): Clipbucket_db->execute() #3 /var/www/upload/includes/classes/session.class.php(105): Clipbucket_db->update() #4 /var/www/upload/includes/classes/user.class.php(5273): Session->get_sessions() #5 /var/www/upload/includes/classes/user.class.php(874): userquery->get_sessions() #6 /var/www/upload/includes/common.php(156): userquery->init() #7 /var/www/upload/includes/config.inc.php(9): require_once() #8 /var/www/upload/photos.php(5): require() )