Home › Forum › Problemi Vari con WP › MEMORY LIMIT mi fa impazzire..
-
AutorePost
-
-
24 Maggio 2010 alle 18:13 #13970PinguinelloPartecipante
Provider Tophost.
Parto col dire questo perchè sto letteralmente impazzendo:
1)Carico WordPress
2)Installo All in seo Pack
3)Installo il Tema personalizzato
4)Installo Google Sitemap XML
Il sito va in crash col solito messaggio: Memory Limit 333055 (il file setting è già configurato a 32M).. Cancello google sitemap, metto 64M e il plugin viene attivato ma con questo errore: Cannot modify header information – headers already sent by che poi diventerà fisso ogni qual volta proverò a modificare qualcosa.
Idee su cosa fare?
Grazie a tutti.
-
24 Maggio 2010 alle 18:38 #73757SteveAglAmministratore del forum
Disabilitare tutto e riattivare un plugin alla volta… con memeria più alta
-
24 Maggio 2010 alle 18:39 #73759zhenyaPartecipante
headers already sent by ???
e il resto del messaggio? La sfera di cristallo Wolly ancora non l’ha riavuta dal meccanico; è in riparazione.
Comunque a naso:
– la modifica della memoria va fatta nel file wp-config aggiungendo la dicitura che, con un cerca qui su wordpress italy, non sarà difficile trovare (se ne è parlato milioni di volte).
– al 99% dei casi il messaggio “Cannot modify header information – headers already sent by..” significa che ci sono righe o spazi (bianchi) di troppo nel file wp-config e, molto probabile poiché lo hai toccato, nel wp-settings.
pertanto:
– sostituisci il wp-settings prelevandone uno genuino dalla distro scaricabile qui su wp italy.
– aggiungi il tag di memoria in wp-config (usa il notepad per aprirlo) controllando che non abbia spazi o righe vuote (lo confronti con un wp-config-sample genuino della distro di cui sopra).
-
24 Maggio 2010 alle 21:17 #73765PinguinelloPartecipante
Se aumento la memoria va in crash come ho scritto nel primo post..
Zhenya, non riesco a trovare un articolo su come configurare il limite memoria nel wp-config..
Grazie!
-
24 Maggio 2010 alle 22:03 #73766zhenyaPartecipante
1, leggi questa guida e, come ho già detto sostituisci il wp-settings poiché lo hai modificato e non serviva; pertanto meglio sostituirlo che incasinarlo.
2.Prova a mettere la memoria a 42 o 48 e NON 64 cioè inserisci nel file wp-config:
define(‘WP_MEMORY_LIMIT’, ’42M’);
Con questa ricerca avresti trovato.
Controlla non ci siano spazi vuoti o riga bianca nel wp-config (leggi la guida al primo link che ho messo e questo 3ad).
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.