Home › Forum › Plugin e temi di WP › problema visuallizzazione script
-
AutorePost
-
-
23 Aprile 2018 alle 16:46 #31704mymmo73Partecipante
Salve a tutti sono nuovo del forum, ho qualche domanda da fare riguardo a un problema che ho con uno script, premetto che non sono molto esperto di wordpress ancora meno di linguaggio JavaScript, Ho provato ad inserire questo codice <script type=â€text/javascript†src=â€https://xxxxxxx.com/scripts/banner.php?a_aid=xxxxxxx&a_bid=520183d0″></script> nell’editor di testo dell’articolo di WordPress nella versione desktop funziona tutto regolarmente, nella versione mobile è come se non ci fosse nulla non riesco a capire se è una questione di librerie non installate, oppure se è un conflitto di codici, ho inserito altri script come AdSense funzionano senza problemi In entrambe le modalità sia desktop che mobile, ho aggiornato il tema attualmente in uso e tutti i plugin, ho provato anche ad istallare il plugin jQuery Updater ma niente da fare, vi sarei molto grato se mi dareste una mano, ringrazio tutti anticipatamente.
-
23 Aprile 2018 alle 17:52 #122143TittiModeratore
Non dici di che codice si tratta (dove l’hai preso, se ci sono istruzioni sulla posizione, ecc.), né hai messo il link alla pagina. Posso solo dirti di fare il debug sul dispositivo mobile su cui non funziona e con l’errore saprai cosa cercare.
-
23 Aprile 2018 alle 21:13 #122144mymmo73Partecipante
Chiedo scusa per non essere stato chiaro a postare il problema, non ci sono istruzioni per quanto riguarda l’installazione dello Script, la pagina su cui ho il problema è la seguente http://www.autonoleggigratis.it/noleggio-auto/ l’oggetto in questione che riproduce l’errore è il form noleggio auto, nella versione desktop viene visualizzato regolarmente invece nella versione mobile è come se non ci fosse nulla, considerando che si tratta di javascript magari è un problema di relativa libreria, oppure un conflitto di codice, ho trovato molte guide in giro per la rete ma non sono riuscito a risolvere. Come si esegue il debug mobile? Grazie.
-
24 Aprile 2018 alle 7:35 #122145mymmo73Partecipante
Mi sono dimenticato di dire che ho aggiornato wordpress, il tema attualmente in uso, e tutti i plugin..
-
24 Aprile 2018 alle 12:45 #122146TittiModeratore
Quella pagina io la vedo uguale su desktop come sul mobile e non c’è nessun form di noleggio, l’unico form che vedo è quello dei commenti.
Vedo però due banner pubblicitari nella sidebar i quali cliccati aprono entrambi su altra pagina due form di noleggio, visibili via desktop e via mobile.
In ogni caso su Chrome la console degli errori ne segnala due e si riferiscono a quei banner/form: Failed to load resource: net::ERR_INSECURE_RESPONSE
Un problema che non è certo di WordPress (e l’errore lo puoi rilevare tu stesso usando gli strumenti di ispezione del browser), che quindi noi non supportiamo e che probabilmente riguarda il certificato di sicurezza non valido, scaduto o altro.
Idem per il debug mobile, non ha nulla a che fare con WordPress, devi cercare supporto o istruzioni su come fare il debug sul tuo dispositivo a seconda del suo sistema operativo.
P.S.: su un altro browser dove ho installato AdGuard a quella pagina mi ha bloccato ben 64 ads. Non so da dove vengano, in ogni caso mi sembrano un’esagerazione. Il sito carica una valanga di script bloccando il caricamento e prima o poi dovrai fare pulizia e ottimizzarlo.
-
24 Aprile 2018 alle 14:57 #122148mymmo73Partecipante
Ho fatto il debug sul dispositivo mobile come mi hai consigliato infatti ma da proprio l’errore per la quale ho aperto questa discussione però ora non so come muovermi qui potrai visionare un screenshot del problema http://www.autonoleggigratis.it/wp-content/uploads/2018/04/errore-script.jpg grazie mille per la disponibilità ..
-
24 Aprile 2018 alle 15:08 #122149mymmo73Partecipante
Quella pagina io la vedo uguale su desktop come sul mobile e non c’è nessun form di noleggio, l’unico form che vedo è quello dei commenti.
Vedo però due banner pubblicitari nella sidebar i quali cliccati aprono entrambi su altra pagina due form di noleggio, visibili via desktop e via mobile.
In ogni caso su Chrome la console degli errori ne segnala due e si riferiscono a quei banner/form: Failed to load resource: net::ERR_INSECURE_RESPONSE
Un problema che non è certo di WordPress (e l’errore lo puoi rilevare tu stesso usando gli strumenti di ispezione del browser), che quindi noi non supportiamo e che probabilmente riguarda il certificato di sicurezza di uno (forse il secondo) o di tutti e due i form, non valido, scaduto o altro.
Idem per il debug mobile, non ha nulla a che fare con WordPress, devi cercare supporto o istruzioni su come fare il debug sul tuo dispositivo a seconda del suo sistema operativo.
P.S.: su un altro browser dove ho installato AdGuard a quella pagina mi ha bloccato ben 64 ads. Non so da dove vengano, in ogni caso mi sembrano un’esagerazione. Il sito carica una valanga di script bloccando il caricamento e prima o poi dovrai fare pulizia e ottimizzarlo.
in questi giorni ho abilitato gli annunci automatici di adsense (che ho disabilitato in questo memento) infatti adsense piazza almeno tre banner per ogni pagina che trovo un tantino esagerato, ho notato subito un rallentamento del sito che secondo me è dovuto proprio a quello.
Comunque su chrome io lo visualizzo cosଠhttp://www.autonoleggigratis.it/wp-content/uploads/2018/04/screenshot-errore1.jpg il form noleggio auto si vede senza problemi. Però ho fatto un prova internet explorer e firefox infatti il form non si vede..
-
24 Aprile 2018 alle 17:38 #122150TittiModeratore
su chrome… il form noleggio auto si vede senza problemi
Io quel form non lo vedo con nessun browser, tu probabilmente sei connesso al sito con Chrome e usi il plugin di cache W3TC quindi lo vedi per quello, devi disconnetterti e/o svuotare la cache, e come dicevo l’errore che ho citato si riferisce al certificato di sicurezza che noi non supportiamo perché non riguarda WordPress.
Lato WordPress puoi sempre fare il primo semplice debug per escludere altri problemi (conflitto di script) dato il numero esagerato di richieste del tuo sito, quasi 2MB di javascript (41 script) e i ben 17 fogli stile, che consiste nel fare le prove canoniche scritte nel box qua sotto in rosso e che ti riporto anche qua
Prima di porre una domanda o una richiesta di aiuto per problemi vari DOVETE CONTROLLARE che il problema si presenta anche se:
1 – TUTTI I PLUGIN SONO STATI DISATTIVATI
2 – AVETE IMPOSTATO IL TEMA STANDARD
Se il problema si presenta anche con un tema standard (serie Twenty di WP) e con tutti i plugin disattivati, allora hai la conferma che non si tratta del tema o di un plugin.
-
25 Aprile 2018 alle 8:40 #122151mymmo73Partecipante
Hai ragione ho provato ha istallare lo script su un alto dominio sempre piattaforma wordpress che uso per i test http://autonoleggilungotermine.it/noleggio-auto funziona solo su chrome e Firefox, su glia altri browser nulla da fare ne anche su mobile, adesso ho mandato una email al fornitore dello script..
-
26 Aprile 2018 alle 12:14 #122154mymmo73Partecipante
Il fornitore dello script mi ha contattato fornendomi un altro url da inserirlo nello script adesso sembra funzionare tutto, comunque sembra che era un problema di certificato SSL, grazie per la tua disponibiltà mi dispiace tanto di avere creato una discussione inutile ciao alla prossima.
-
26 Aprile 2018 alle 13:22 #122147TittiModeratore
comunque sembra che era un problema di certificato SSL
Scusa, ma tu per “certificato di sicurezza” che avevi inteso?
-
27 Aprile 2018 alle 10:16 #122156mymmo73Partecipante
avevo capito che si trattava del crtificato SSL..
-
27 Aprile 2018 alle 11:31 #122157TittiModeratore
OK, tanto per chiarire.
Comunque io da Firefox continuo a non vederlo (sଠda Chrome ed Edge), quindi faglielo presente. Prova anche a svuotare la cache del plugin di cache.
-
27 Aprile 2018 alle 14:37 #122158mymmo73Partecipante
Ho svuotato la cache di wordpress ho anche rimosso i coockie e cronologia da firefox e si vede senza problemi..
-
28 Aprile 2018 alle 7:45 #122159TittiModeratore
Pardon, come non detto. Neppure finito di leggere la tua frase e m’è venuto subito in mente che ieri ho guardato con gli ad bloccati; non controllo nemmeno, era di sicuro per quello. Mancanza di caffè…
-
29 Aprile 2018 alle 15:15 #122160mymmo73Partecipante
tranquillo alla prossima..
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.