Home › Forum › Problemi Vari con WP › Pagina bianca dopo permalink e WP-Supercache
-
AutorePost
-
-
15 Settembre 2010 alle 17:54 #15019picPartecipante
Nel tentativo di ottimizzare le prestazioni WordPress (3.0.1 in Italiano) su Hosting Solutions, e cercando di seguire le loro stesse istruzioni (http://blog.hostingsolutions.it/359.php) sono finito nei guai.
In pratica ho installato WP-Supercache come da HS consigliato, spuntando le opzioni che loro stessi indicano:
Dont’ cache pages
Pages rebuild
Only refresh current page…..
OK. Ma WP-supercache mi invitava a modificare i permalink per avere pagine fisse html.
Vado quindi in Impostazioni > permalink e clicco su una opzione (http://www.edupublic.org/archives/123). BOOM! pagina bianca e non vedo più un accidente.
Torno indietro e ri-seleziono l’impostazione di default. BOOM, niente da fare sempre pagine bianche!
Allora via FTP cancello la cartella del plugin wp-supercache. Credo che questo abbia peggiorato – se possibile – la situazione. Sta di fatto che continuo ad avere pagine bianche.
Disponendo di un backup di qualche giorno prima, penso allora di reinstallarlo. Rinomino la vecchia directory che contiene wp, ne creo una nuova e installo il backup: tutte le directory, comprese quelle dei plugin proprio tutto, tutto, alla virgola. Senza ovviamente il plugin WP-supercache
Niente da fare. Ottengo sempre una disperante pagina bianca. Che posso fare? Il db sembra a posto.
Che cosa può essere accaduto? Forse è il mod_rewrite di Apache? Ma come posso intervenire?
Ovviamente HS dice che non si occupa di manutenzione di WP…
-
15 Settembre 2010 alle 17:57 #77106ZaRBoR2Partecipante
il problema è nel file .htaccess…. sostituiscilo…
-
15 Settembre 2010 alle 18:59 #77109picPartecipante
Nel backup che ho caricato non c’è un file .htaccess
Quello che avevo dopo il permalink e l’installazione di supercache recitava cosà¬. Potrei ricaricarlo ma non saprei cosa modificare: sai dirmi qualcosa?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /rivista/
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /rivista/index.php [L]
</IfModule>
# END WordPress
dove /rivista/ è la cartella in cui è contenuto WP
-
15 Settembre 2010 alle 19:02 #77110ZaRBoR2Partecipante
se la cartella dove hai messo wordpress è rivista… allora basta caricare il file dentro rivista.. prova e fammi sapere
-
15 Settembre 2010 alle 19:12 #77112picPartecipante
Niente da fare. Pagina bianca. Forse hai ragione. A me sembra che ci sia qualcosa che non va in quel file .htaccess.
Ma non saprei cosa.
del resto mi sembra sia stato modificato quando ho attivato il permalink. E quindi penso che c’entri.
E’ che non conosco questo fantomatico mod_rewrite…
-
15 Settembre 2010 alle 19:22 #77113picPartecipante
In alternativa un’altra ipotesi potrebbe essere la tabella wp_options. E’ venuta fuori spulciando il forum.
Se leggo le ultime righe di questa tabella trovo:
51004 0 widget_focalCache_1 a:2:{s:5:”cache”;a:69:{i:0;s:61:”47#|#2005. P/E#|#… no
51007 0 supercache_stats a:3:{s:9:”generated”;i:1284483705;s:10:”supercache… yes
51008 0 wpsupercache_gc_time 1284483959 yes
51009 0 rewrite_rules a:67:{s:14:”.*wp-atom.php$”;s:19:”index.php?feed=a… yes
51010 0 _site_transient_timeout_theme_roots 1284495027 yes
51011 0 _site_transient_theme_roots a:1:{s:9:”twentyten”;s:7:”/themes”;} yes
Quel yes che vuol dire? Che il plugin wp-supercache è attivo? Allora forse dovrei correggere in No oppure cancellare quelle righe.
Però non vorrei peggiorrae la situazione e prima di farlo meglio chiedere…
-
15 Settembre 2010 alle 19:26 #77114ZaRBoR2Partecipante
no… solo i settaggi del plug in.. tutto qui.. penso che l’errore provenga da .htaccess anche a me è capitato..
-
15 Settembre 2010 alle 21:25 #77115picPartecipante
Yes sta nella colonna Autoload. Ho pensato che potesse influire. L’ho Sostituito con No in quelle 5 righe. Niente da fare: pagina bianca.
Ma ho visto che ce ne sono tanti altri di “Yes”. magari bisognerebbe sostituirli tutti. Mah. Intanto li ho riportati a Yes. Chiedo lumi
Torniamo all’ipotesi .htaccess: ma nel tuo cosa c’è scritto? Cosa contiene? E’ uguale a quello che ho trascritto sopra?
-
16 Settembre 2010 alle 9:05 #77116wollyAmministratore del forum
se il tuo htaccess èè quello, NON hai installato correttamente super-cache, nella pagina di impostazionidel plugin ti da delle informazioni chiare per hataccess che non va solo nella root ma anche in altra dir che ti dice sempre super cache.
Per disinstallare super cache devi seguire le istruzioni di super cache.
-
16 Settembre 2010 alle 12:57 #77119picPartecipante
Sà¬, hai ragione. Ho letto la documentazione e diciamo che HS presenta l’operazione molto più “facile” di quanto in realtà non sia. Avrei dovuto leggerla bene prima. Ma ormai è andata cosà¬.
Ho addirittura cancellato il plugin, ripristinato un precedente backup di WP. ecc.. Quel che non mi spiego è come mai, pur ripristinando una backup di WP del giorno prima, e quindi privo di qualsiasi contaminazione da permalink o wp-supercache, ciò non mi consenta nemmeno di vedere le pagine. Per questo ho pensato che il problema fosse in qualche tabella del db modificata da wp-supercache o dalla configurazione dei permalinks….
-
16 Settembre 2010 alle 14:03 #77120SteveAglAmministratore del forum
rimetti i permalink base e verifica che vada tutto poi reimposta i permalink originali… se hai ripristinato un DB pre supercache ovviamente NON può essere influenzato da questa… nel dubbio rinomina il file htaccess o cancellalo dopo averne fatto una copia
-
16 Settembre 2010 alle 14:12 #77121picPartecipante
Non so però come fare a mettere i permalink di base. Non posso entrare nel pannello di admin. Vedo una pagina bianca e basta. Il db è rimasto lo stesso, ho solo ripristinato i file di Wp del giorno prima via ftp. htaccecss l’ho tolto.
Ho anche fatto questa prova: ho caricato un WP 3.0.1 di fiamma e l’ho configurato. Poi ho tentato di fargli leggere il database “vecchio”. Il risultato è sempre stato lo stesso: una pagina bianca. Questo mi ha fatto dedurre che il problema sia il db, ma non saprei se è una deduzione corretta
-
18 Settembre 2010 alle 15:03 #77147picPartecipante
Tanto per dire com’è andata a finire… ho reinstallato un db di qualche tempo prima ed è andato a posto tutto tranne una cosa: gli utenti.
Come admin ero ok, ma gli utenti autori non visualizzavano più i pulsanti di pubblicazione degli articoli (stranamente vedevano però queòli di pubblicazione della pagina).
Ho ricreato le utenze trasferendovi le relative paternità degli articoli: tutto ok.
Tuttavia non ho capito perché.
Mah.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.