Home › Forum › Installazione WP › Error log
-
AutorePost
-
-
3 Maggio 2012 alle 15:50 #21551ladymukPartecipante
Ciao,
mi scuso fin da subito per aver aperto un’alta discussione ma quella precedente mi ha presentato un bug.
Ho provato ad installare WP (versione 3.2 e anche la 3.1) su un server che ospita il mio dominio da due anni. Fino adesso non avevo avuto alcun problema (con versione WP 2.5).
Dopo aver avuto un problema “Error 500” causato da un tema mal funzionante, avevo ripristinato il sito grazie alla collaborazione di voi del forum.
Ho salvato i dati, dopodichè ho eliminato tabelle di WP e DB per poter procedere ad una nuova installazione da zero (avevo già deciso di rifare il sito da capo), però ora qualsiasi installazione mi dà errore, ho persino chiesto al provider di resettarmi il sito ma non è cambiato nulla.
Il server è Linux. Dal provider non mi hanno saputo dare nessuna spiegazione utile.
Questo è l’error log risalente al giorno dell’ultimo tentativo di installazione, qualcuno mi saprebbe aiutare?
[Mon Apr 30 23:27:07 2012] [error] [client 62.163.86.23] File does not exist: /home/cast07e1/public_html/403.shtml
[Mon Apr 30 23:27:07 2012] [error] [client 62.163.86.23] attempt to invoke directory as script: /home/cast07e1/public_html/cgi-bin/
[Mon Apr 30 23:10:12 2012] [error] [client 66.249.66.102] File does not exist: /home/cast07e1/public_html/403.shtml
[Mon Apr 30 23:10:12 2012] [error] [client 66.249.66.102] attempt to invoke directory as script: /home/cast07e1/public_html/cgi-bin/
[Mon Apr 30 23:00:53 2012] [error] [client 109.118.26.170] File does not exist: /home/cast07e1/public_html/404.shtml
[Mon Apr 30 23:00:53 2012] [error] [client 109.118.26.170] File does not exist: /home/cast07e1/public_html/favicon.ico
[Mon Apr 30 23:00:53 2012] [error] [client 66.249.66.102] File does not exist: /home/cast07e1/public_html/404.shtml
[Mon Apr 30 23:00:53 2012] [error] [client 66.249.66.102] File does not exist: /home/cast07e1/public_html/robots.txt
[Mon Apr 30 21:57:10 2012] [error] [client 65.52.104.29] File does not exist: /home/cast07e1/public_html/404.shtml
[Mon Apr 30 21:57:10 2012] [error] [client 65.52.104.29] File does not exist: /home/cast07e1/public_html/wordpress
[Mon Apr 30 21:56:04 2012] [error] [client 65.52.104.29] File does not exist: /home/cast07e1/public_html/404.shtml
[Mon Apr 30 21:56:04 2012] [error] [client 65.52.104.29] File does not exist: /home/cast07e1/public_html/robots.txt
[Mon Apr 30 21:14:10 2012] [error] [client 94.36.159.206] File does not exist: /home/cast07e1/public_html/404.shtml
[Mon Apr 30 21:14:10 2012] [error] [client 94.36.159.206] File does not exist: /home/cast07e1/public_html/favicon.ico
[Mon Apr 30 21:14:10 2012] [error] [client 94.36.159.206] File does not exist: /home/cast07e1/public_html/404.shtml
[Mon Apr 30 21:14:10 2012] [error] [client 94.36.159.206] File does not exist: /home/cast07e1/public_html/favicon.ico
Vi ringrazio
-
3 Maggio 2012 alle 19:04 #95278wordpress-specPartecipante
a prima vista non sembra un problema php, infatti non vedo warning o syntax error, mi sembra sia da imputare al apache, infatti questi sono errori di apache, secondo me c’è qualche problema sul hosting, l’unico degno di nota è questo:
attempt to invoke directory as script: /home/cast07e1/public_html/cgi-bin/
gli altri sono consuetudine, perché sono file standard che vengono cercati dagli spider e dai browser.
Ha controllato l’htaccess? che c’è dentro? solo le regole predefinite di wordpress?
hai controllato i permessi delle cartelle? sono tutte 755 (per le directory) e 644 (per i file)?
-
3 Maggio 2012 alle 21:11 #95279ladymukPartecipante
I permessi li avevo già controllati e corrispondevano.
Il file htaccess risulta … empty … quindi vuoto!!!
Ho provato a rigenerarlo (creando un .txt ) però è sempre vuoto.
Nella vecchia installazione avevo solo BEGIN WordPress END WordPress .. ora come lo devo modificare? Ho provato a cercare ma non ho capito quali sono le regole predefinite di WordPress
Grazie mille
-
4 Maggio 2012 alle 12:01 #95284TittiModeratore
Le regole le trovi nella pagina Impostazioni permalink. Puoi farlo tu o lasciarlo fare in automatico a WP rendendo il file scrivibile solo per quel momento.
Per quanto riguarda i permessi non c’è una regola fissa per tutti, possono cambiare a seconda dell’hosting e di quello che ti “permette” di fare
Qualcosa però mi dice che il problema non è solo quello… comunque naturalmente prova.
-
4 Maggio 2012 alle 12:53 #95290ladymukPartecipante
Le regole le trovi nella pagina Impostazioni permalink. Puoi farlo tu o lasciarlo fare in automatico a WP rendendo il file scrivibile solo per quel momento.
Per quanto riguarda i permessi non c’è una regola fissa per tutti, possono cambiare a seconda dell’hosting e di quello che ti “permette” di fare
Qualcosa però mi dice che il problema non è solo quello… comunque naturalmente prova.
Effettivamente avevo già provato, ho riprovato ma niente.. . tutto come prima.
Penso sia strano che continua a dare errore anche dopo un reset, che non sia stato fatto nel modo giusto. Avete altri suggerimenti ? La situazione si fa disperata…
Una cosa tanto per conferma:
Io di solito installato wordpress in una sottodirectory “wordpress” appunto. Solo il file index.php lo sposto nella root dove è presente anche htaccess (che ci si mette da solo). Sono giusti questi passaggi? O forse dovrei provare ad installare tutto nella dir principale?
-
4 Maggio 2012 alle 13:07 #95293
-
9 Maggio 2012 alle 21:30 #95421ladymukPartecipante
Ce l’ho quasi fatta…
allora ho notato che effettivamente non tutti i permessi delle cartelle e dei file rano giusti. Io avevo controllato i permessi ma non di TUTTI I FILE UNO A UNO ….
comunque mi sono armata di santa pazienza e ho modificato tutto . Ora la home del sito funziona.
QUello però che non va è l’indirizzo:
http://http://www.miosito.it/wordpress/wp-admin/ questa pagina dà ancora internal server error.
Forse ho dimenticato di aggiornare i permessi di qualche file (anche se non mi sembra), oppure qualcosa non deve essere 644 per i file e 755 per le cartelle.
C’è un modo per capire dove sta l’errore ora che è più circoscritto ?
Vi ringrazio
-
9 Maggio 2012 alle 21:57 #95424San PietroburgoPartecipante
Se il sito è quello in firma la pagina per il login funziona a questo indirizzo: /wordpress/wp-login.php?
Per i permessi il sysadmin del servizio di hosting può ripristinarli in pochi secondi con due comandi.
Il sito in firma vedo utilizza il tema di default ed immagino non abbia plugin; pertanto l’errore nell’accedere alla dashboard potrebbe essere un valore molto basso del memory limit per la tua installazione su quel server.
-
10 Maggio 2012 alle 10:57 #95437ladymukPartecipante
Se il sito è quello in firma la pagina per il login funziona a questo indirizzo: /wordpress/wp-login.php?
Per i permessi il sysadmin del servizio di hosting può ripristinarli in pochi secondi con due comandi.
Il sito in firma vedo utilizza il tema di default ed immagino non abbia plugin; pertanto l’errore nell’accedere alla dashboard potrebbe essere un valore molto basso del memory limit per la tua installazione su quel server.
Si, il sito è quello in firma, utilizza tema di default perchè è stato appena installato, quindi non ha neanche un plugin installato.
Ho provato a chiedere aiuto all’hosting ma non sanno nulla di wordpress nè di permessi ad esso necessari.
Quando vado qui …. /wordpress/wp-login.php/ mi dà la pagina login e sembra del tutto funzionante. Quando però provo a fare login , mi porta a wordpress/wp-admin presentandomi la pagina di internal server error.
Ho anche un altro sito che ho installato da pochissimo e ancora in costruzione, non mi presenta alcun problema. Sbirciando nei suoi permessi vedo che alcune cartelle sono 777 altre 755 , alcuni file 644 e altri 666 ma non ne capisco la logica…come posso riproporla in quest’altro sito? (che ha funzionato bene per due anni?)
Se installo nuovamente WP mi dovrebbe riportare i permessi tutti a 777 e 666 quindi mi dà sicuramente di nuovo Error 500.
Scusa non so cos’è la dashboard. Inoltre su questo hosting ho installato WP sempre normalmente, cosa può essere cambiato nel memory limit ? (Che c’entra con lo spazio fisico disponibile?)
Grazie
-
11 Maggio 2012 alle 9:08 #95455ladymukPartecipante
Ciao, scusate … oltre a quelle sopra altre domande …
Cosa posso dire al mio servizio di Hosting per avere i permessi “come li avevo prima?” è evidente che è cambiato qualcosa… gli faccio l’esempio di un altro sito (sempre mio) che so funzionare perfettamente?
L’hosting è un server Linux …
da cosa si stabilisce se un file o una cartella necessita di permessi 644/666 755/777 ?
Grazie per l’aiuto che vorrete darmi.
-
11 Maggio 2012 alle 10:18 #95459San PietroburgoPartecipante
In via generale i permessi dei file sono 644, mentre quelli delle directory 755. Ovviamente questo aspetto lo conosce (o dovrebbe conoscere) il System Admin del servizio di hosting ed è lui che dovrebbe ripristinare la tua installazione se non è presente un apposito comando per l’utente.
Sempre in via generale e per motivi di sicurezza, impostare 777 equivale a nulla.
La “via generale” significa che molti host lavorano cosà¬, ma esistono anche diverse eccezioni; ad esempio aruba ed altri.
Potresti innanzitutto dire di che servizio host si tratta; faciliterà il compito di coloro che rispondono (potrebbe essere che qualche altro utente lo conosce).
I permessi non li cambiare manualmente attraverso FTP, poiché ci mette una vita..
-
11 Maggio 2012 alle 13:44 #95477ladymukPartecipante
In via generale i permessi dei file sono 644, mentre quelli delle directory 755. Ovviamente questo aspetto lo conosce (o dovrebbe conoscere) il System Admin del servizio di hosting ed è lui che dovrebbe ripristinare la tua installazione se non è presente un apposito comando per l’utente.
Sempre in via generale e per motivi di sicurezza, impostare 777 equivale a nulla.
La “via generale” significa che molti host lavorano cosà¬, ma esistono anche diverse eccezioni; ad esempio aruba ed altri.
Potresti innanzitutto dire di che servizio host si tratta; faciliterà il compito di coloro che rispondono (potrebbe essere che qualche altro utente lo conosce).
I permessi non li cambiare manualmente attraverso FTP, poiché ci mette una vita..
Giusto, è Pegaso Hosting (http://www.pegasohosting.net/), i permessi li ho cambiati da cpanel, è molto veloce … ma se non so come impostarli non ne esco…. proverò a ricontattare l’hosting, magari troverò qualcuno che mi risponde più esperto, grazie mille…
-
11 Maggio 2012 alle 15:36 #95479San PietroburgoPartecipante
Ho dato uno sguardo al loro sito ed alle faq, ma di permessi (chmod) non dicono nulla, come nemmeno trovo a quanto ammonta il valore memory limit nei vari piani di webhosting (memory limit da non confondere con lo spazio disponibile, sono due cose totalmente diverse).
Rileggendo questa discussione ho notato che una settimana fa’ hai detto di:::
Il file htaccess risulta … empty … quindi vuoto!!!
Ho provato a rigenerarlo (creando un .txt ) però è sempre vuoto.
Quel file non deve avere alcuna estensione, quindi .txt non può funzionare ed inoltre non puoi metterlo manualmente nella root ma vuoto.
WordPress il file .htaccess lo genera (o lo scrive se è già presente) solamente nel momento in cui si pigia il tasto conferma alla voce permalinks del menù impostazioni. Pertanto metterne uno vuoto significa che è come non averlo sin quando non viene fatta la procedura anzidetta.
Quindi il consiglio è:::
1. Creare il file da cPanel nominandolo .htaccess
Dopo lo scarichi in locale, lo apri con un editor di testo (notepad va benissimo) ci scrivi le sue regole, chiudi, salvi e fai l’upload nel server sempre attraverso cPanel o FTP;
2. da cPanel setti i permessi delle directory a 755 mentre per i file 644.
-
11 Maggio 2012 alle 21:00 #95481ladymukPartecipante
Ho dato uno sguardo al loro sito ed alle faq, ma di permessi (chmod) non dicono nulla, come nemmeno trovo a quanto ammonta il valore memory limit nei vari piani di webhosting (memory limit da non confondere con lo spazio disponibile, sono due cose totalmente diverse).
Rileggendo questa discussione ho notato che una settimana fa’ hai detto di:::
Il file htaccess risulta … empty … quindi vuoto!!!
Ho provato a rigenerarlo (creando un .txt ) però è sempre vuoto.
Quel file non deve avere alcuna estensione, quindi .txt non può funzionare ed inoltre non puoi metterlo manualmente nella root ma vuoto.
WordPress il file .htaccess lo genera (o lo scrive se è già presente) solamente nel momento in cui si pigia il tasto conferma alla voce permalinks del menù impostazioni. Pertanto metterne uno vuoto significa che è come non averlo sin quando non viene fatta la procedura anzidetta.
Quindi il consiglio è:::
1. Creare il file da cPanel nominandolo .htaccess
Dopo lo scarichi in locale, lo apri con un editor di testo (notepad va benissimo) ci scrivi le sue regole, chiudi, salvi e fai l’upload nel server sempre attraverso cPanel o FTP;
2. da cPanel setti i permessi delle directory a 755 mentre per i file 644.
Allora riguardo il file .htaccess mi sono espressa male non intendevo che aveva estensione .txt ma che avevo eseguito la procedura (e modificato con il notepad).
Comunque ho seguito la procedura inserendo queste regole:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Ma si è impicciato tutto!!!!
Adesso si invece di andare nel pannello di amministrazione non mi visualizza più l’error 500 ma la pagina home del sito!!!! (ho pulito la cache e cambiato browser).
Non capisco … ho provato a vedere un altro sito che ho sempre installato io e non dà problemi :
il file .htaccess contient solo:
# BEGIN WordPress
# END WordPress
(che era quello che conteneva il sito “rotto” prima della “rottura”.
i permessi delle dir sono settati quasi tutti a 755 tranne le cartelle wp-admin , wp-content, wp-includes che sono settati a 777 e qualcuno delle loro sottocartelle.
i file a 644 tranne wp-config.php a 666 … è un impazzimento.
A questo punto vorrei provare di nuovo a cancellare la cartella wordpress e installarla nuovamente, ma sono sicura che i permessi ritornebbero a 777 per le dir e 666 per tutti i file e starei da capo a dodici.
Avete consigli, la situazione si sta facendo disperata
Grazie infinite
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.