Gnucki a écrit: En ce qui concerne la plupart des boutons, je mise sur du cache, car j'ai observé le problème un très court labs de temps.
Avez vous essayé de faire [Ctrl+F5] pour virer le cache des assets du site?
Non, ça ne vient pas de là, ou alors il faut un truc plus puissant qu'un ctrl+F5 pour vider les caches :-/ Je pense que beaucoup d'éléments sont chargés en asynchrone via des librairies javascript. Si le chargement ne passe pas, pour x raisons, les contenus ne s'affichent pas correctement. Quant à comprendre pourquoi, c'est vraiment très intriguant.
Voici ce que je peux dire : au chargement, la page renvoie de très nombreuses erreurs de JS, dont une particulièrement bloquante :
(index):696 Uncaught TypeError: Cannot read property 'registered' of undefined
at HTMLDocument.<anonymous> ((index):696)
at o (jquery.min.js:2)
at Object.fireWith (jquery.min.js:2)
at Function.ready (jquery.min.js:2)
at HTMLDocument.B (jquery.min.js:2)
Ce que semble dire cette erreur, c'est que le site ne parvient pas à me considérer comme étant identifié, bien que je le sois ! Je n'ai donc pas l'affichage standard des utilisateurs enregistrés.
Si on suit l'erreur jusqu'à sa source, on trouve ceci en erreur :
$(document).ready(function() {function headerAdjust() {var banner_headline = $('#header-banner h1, #header-banner h2'),banner_headline_height = banner_headline.height();if (banner_headline_height > 90) {banner_headline.css('font-size', parseInt(banner_headline.css('font-size')) - 1 + 'px');requestAnimationFrame(headerAdjust);} else {banner_headline.css('opacity', 1);}}requestAnimationFrame(headerAdjust);if(_userdata['session_logged_in']) {if (!FA.Notification.registered()) {FA.Notification.register();}Toolbar.init;var timeout = setInterval(reloadNotif, 1000);};function reloadNotif() {if (_toolbar.notifications.unread > 0) {if (!$("#unread_notif").length) {$("#header-notif > i").before('<span id="unread_notif">' + _toolbar.notifications.unread + '</span>');$('#menu_notifications > span').before('<span id="unread_notif_menu">' + _toolbar.notifications.unread + '</span>');}var unread_notif = $("#unread_notif");var unread_notif_menu = $("#unread_notif_menu");unread_notif.html(_toolbar.notifications.unread);unread_notif_menu.html(_toolbar.notifications.unread);if(! unread_notif.hasClass("notification-new")) {unread_notif.addClass('notification-new');unread_notif_menu.addClass('notification-new');$("#mNotificationBtn").addClass('notification-new');}} else if ($("#unread_notif").length) {$("#unread_notif, #unread_notif_menu").remove();}};var scroll_top = $('html').scrollTop();$('#main-menu-btn').on('click', function () {scroll_top = $('html').scrollTop();$('body').css({overflow: 'hidden',maxHeight: '100%'}).scrollTop(scroll_top);});$('#header-user').on('click', function () {scroll_top = $('html').scrollTop();$('body').css({overflow: 'hidden',maxHeight: '100%'}).scrollTop(scroll_top);});$('#header-notif').on('click', function () {scroll_top = $('html').scrollTop();$('body').css({overflow: 'hidden',maxHeight: '100%'}).scrollTop(scroll_top);});$('#dimmer').on('click', function () {scroll_top = $('body').scrollTop();$('body').attr('style', '');$('html').scrollTop(scroll_top);});});//]]></script><script>$(document).ready( function() {$('div.ti-connect').attr({'data-loc' : 'https://connect.topicit.net/','data-login' : 'https://oree-des-conteurs.forumactif.org/topicit/index.php/connect','data-version' : '1','data-lang' : 'fr'});(function(d, s, id) {var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "https://connect.topicit.net/scripts/connect.js";fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'topicit-connect'));});</script><script type="text/javascript" src="https://illiweb.com/rs3/51/frm/awesome/main.js"></script> <!-- BEGIN 1425605 - etoxic - FR - CDB - PCK - sticky footer - 728x90-->Le problème est donc quelque part dans ce fourbi de JS... courage !
_________________
---------
Yo no soy David Wozniak