Home › Forum › Problemi Vari con WP › Comparsa caratteri à¯Â»Â¿ e wp-admin blank page
-
AutorePost
-
-
13 Maggio 2016 alle 13:35 #30847wagner1848Partecipante
Ciao a tutti,
ho un problema “strano”.
Sono comparsi, da ieri a oggi questi caratteri
à¯Â»Â¿
sul mio sito in wordpress.
Mentre il frontend si naviga correttamente (al netto di quella riga in testa a tutto con quegli strani caratteri),
non riesco ad accedere all’amministrazione.
Da wp-admin mi da pagina bianca, da wp-login.php invece mi fa vedere il form per l’autenticazione ma mi segnala (oltre a mostrare in alto quei caratteri) l’errore:
ERRORE: i cookie sono bloccati a causa di un output inaspettato
Uso un tema twentyfourteen, quindi niente di stravagante.
Ho provato a disattivare i plugin da db, niente. Ho provato a cambiare tema il nome al tema, niente da fare.
Ho provato a modificare le cartelle wp-admin e wp-includes (ho pensato a un aggiornamento andato male): niente.
Ho attivato il WP_DEBUG:
Sulla pagina wp-admin mi restituisce un errore sul file pluggable.com:
Warning: Cannot modify header information – headers already sent by (output started at /var/www/www.cesanasestriere.com/wp-load.php:1) in /var/www/www.cesanasestriere.com/wp-includes/pluggable.php on line 1196
sulla pagina wp-login.php invece:
Warning: Cannot modify header information – headers already sent by (output started at /var/www/www.cesanasestriere.com/wp-load.php:1) in /var/www/www.cesanasestriere.com/wp-login.php on line 431
Warning: Cannot modify header information – headers already sent by (output started at /var/www/www.cesanasestriere.com/wp-load.php:1) in /var/www/www.cesanasestriere.com/wp-login.php on line 444
Ora, ho esaurito le idee.
Qualcuno di voi ha mai avuto un problema simile?
Sono disperato…
Grazie a tutti
W
-
13 Maggio 2016 alle 18:14 #120464TittiModeratore
Rimetti su il file o i file che hai modificato nella loro versione originale, o in alternativa se non ricordi cos’hai modificato ripristina TUTTO il backup dei file. Se hai modificato solo il tema, metti su il tema originale.
Se non hai backup recenti (male), dovrai cercare l’errore manualmente nei file che hai modificato.
Se guardi il tuo sorgente vedi che quei caratteri sono all’inizio, prima del doctype.
Avrai usato qualche entità HTML (tipo: & nbsp;) dimenticando, ad esempio, il punto e virgola. Controlla anche i widget di testo.
Non so cosa tu possa aver modificato nelle cartelle wp-admin e wp-includes, in ogni caso ripristina gli originali perché anche se il problema ora non è lଠse li hai toccati hai sbagliato: lଠnon ci devi mai mettere le mani quindi rimetti le cartelle originali via FTP.
Approfittane per aggiornare WordPress (siamo alla 4.5.2!), stai usando una vecchia versione e non va bene.
Il tuo admin non ha niente che non va, è perfettamente raggiungibile, devi solo abilitare i cookie nel browser (oppure hai solo svuotato tutta la cache) e riprovare a entrare.
Il warning è un avviso che ti informa che con tutta probabilità hai lasciato spazi vuoti nel wp-config.php, nel functions.php, nell’header.php o da qualche altra parte, è sempre lo stesso o un altro problema di caratteri sbagliati o al posto sbagliato.
Se tu avessi cliccato sui link presenti nella pagina di login avresti letto questa pagina.
Inoltre, i plugin si disattivano via FTP o dalla bacheca, non dal DB – fai quindi prima questa prova disattivandoli TUTTI per vedere che non si colpa di un plugin.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.