Home › Forum › Problemi Vari con WP › Errore nello stabilire una connessione al database
-
AutorePost
-
-
4 Giugno 2008 alle 7:34 #6866Walter22Partecipante
Salve,
quando prova ad andare in ./wp-admin/install.php mi esce un errore che dice che è impossibile stabile una connessione con database. Ho provato con un altro database ma l’ errore persiste.
Uso (cerco di installare) l’ ultima versione di WordPress su hosting Aruba Windows (so già il fatto dei permessi e dei problemi che ci sono..).
Potreste aiutarmi?
Grazie,
Walter.
-
4 Giugno 2008 alle 8:25 #54308ArturoPartecipante
se ti da un errore di connessione al database devi controllare i dati inseriti nel file wp-config.php, su aruba con i piani base non hai nessun database, che dev’essere MySQL, nel caso tu l’abbia acquistati in piu’ controlla che i campi:
define(‘DB_NAME’, ‘NOMEDB’); // Nome del database
define(‘DB_USER’, ‘USERNAME’); // Il vostro username MySQL
define(‘DB_PASSWORD’, ‘PASSWORD’); // …e la password
define(‘DB_HOST’, ‘localhost’); // al 99% non dovrebbe esserci necessità di modificare questo valore
per quello che riguarda l’host, non ricordo se aruba fornisce come host “localhost” oppure da un indirizzo diverso, controlla che questi campi siano corretti.
-
4 Giugno 2008 alle 9:28 #54314Q-designPartecipante
aruba fornisce un indirizzo ip (12.123.123.12) come collegamento al database Mysql, quindi in “localhost” va inserito tale numero che ti è stato fornito al momento dell’acquisto del database.
-
4 Giugno 2008 alle 10:02 #54317Walter22Partecipante
Lo so, ed è quello che ho fatto… L’ errore persiste…
-
4 Giugno 2008 alle 10:07 #54318wollyAmministratore del forum
-
4 Giugno 2008 alle 10:08 #54319Q-designPartecipante
se non riesce a comunicare con il database, c’è un errore nella compilazione del file wp-config.php… hai scelto il database (dei 5 forniti da Aruba)? l’username e la password del Mysql sono differeti da quelli che utilizzi per collegarti via ftp al tuo sito (so che è una cosa che hai già osservato, ma non vedo altri problemi).
-
4 Giugno 2008 alle 10:46 #54322Walter22Partecipante
Allora ragazzi, sono riuscito ad installarlo però c’è un altro problema: non si vedono le immagini. Visualizzo solo i testi…
-
4 Giugno 2008 alle 10:51 #54323ArturoPartecipante
assicurati di aver caricato tutti i file del theme che utilizzi…
-
4 Giugno 2008 alle 10:53 #54324Walter22Partecipante
Guarda che ho appena finito di installarlo. Non ho toccato niente, ho solo uplodato nella cartella public i file che ho scaricato da questo sito O_O
-
4 Giugno 2008 alle 11:05 #54325ArturoPartecipante
l’upload mica e’ infallibile, magari qualche immagine del theme non e’ stata caricata… controlla che ci sia tutto!
-
4 Giugno 2008 alle 11:09 #54326SteveAglAmministratore del forum
se non si vede immagini o non carica i CSS i casi son due o non sono stati caricati o non sono accessibili per permessi errati… altre possibilità non ve ne sono.
-
4 Giugno 2008 alle 11:16 #54327Walter22Partecipante
Guardando il collegamento delle immagini, guardate cosa ho scoperto:
http://myblog.walter22.it/?step=2/wp-includes/images/rss.png
Tutte hanno questa stringa ?step=2, ma al posto di quella ci dovrebbe essere il nome della cartella, ovvero public
-
4 Giugno 2008 alle 11:28 #54328Q-designPartecipante
Allora ragazzi, sono riuscito ad installarlo però c’è un altro problema: non si vedono le immagini. Visualizzo solo i testi…
Se scrivi in questo topic come hai risolto, magari potrebbe essere di aiuto per qualcun altro con i tuoi stessi problemi
-
4 Giugno 2008 alle 11:30 #54329Walter22Partecipante
In realtà sono andato alla cieca rimodificando tutti i dati del file config xD
-
4 Giugno 2008 alle 11:36 #54330wollyAmministratore del forum
c’è una articolo nel blog intitolato se ben ricordo mamma ho perso il blog che ti spiega cosa fare.
-
4 Giugno 2008 alle 19:16 #54369Walter22Partecipante
Ho letto l’ articolo ma nn ho trovato niente che mi poteva aiutare…
-
4 Giugno 2008 alle 19:27 #54370wollyAmministratore del forum
fai quello che c’è scritto metti i percorsi corretti e vedrai che funziona
-
4 Giugno 2008 alle 19:39 #54371Walter22Partecipante
Ci provo e ti faccio sapere
-
6 Giugno 2008 alle 7:45 #54411Walter22Partecipante
Ho seguito quello che l’ articolo dice però perchè adesso mi esce:
Parse error: syntax error, unexpected T_STRING in Inetpubwebsmyblogwalter22itpublicwp-config.php on line 14
?
-
6 Giugno 2008 alle 7:58 #54412SteveAglAmministratore del forum
avrai cancellato qualche apice o parentesi o punto e virgola…
-
6 Giugno 2008 alle 8:24 #54414Walter22Partecipante
No, ho copiato la stringa cosଠcome stava nell’ articolo è l’ ho incollata sotto i dati del MySQL.
-
6 Giugno 2008 alle 8:38 #54416SteveAglAmministratore del forum
allora incolla qua la riga (14) che da l’errore… o meglio l’intero wp-config epurato ovviamente di dati sensibili…
però prima prova con questa coppia di righe (adattancdole):
define(‘WP_SITEURL’, ‘http://example.com/wordpress’);
define(‘WP_HOME’, ‘http://example.com/wordpress’);
Perchè ad occhio mi sa che nell’articolo l’ultimo apice WP lo ha convertito in un apice rovescio… ora corretto.
-
6 Giugno 2008 alle 9:35 #54419Walter22Partecipante
TUTTO RISOLTOOOOOOOO!!!!!
RAGAZZI SIETE MITICIIIIII!!!!!
Pensavo di aver comprato un dominio per niente
GRAZIE A TUTTI VOI!
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.