Home › Forum › Problemi Vari con WP › trasferimento dominio wordpress servizio hosting
-
AutorePost
-
-
16 Gennaio 2014 alle 16:54 #26348mark1210Partecipante
Salve ho effettuato il trasferimento dello stesso dominio da una società hosting ad un’altra.
Le procedure a cui ho tenuto conto sono state:
1 salvare tutti i file presenti via FTP sulla cartella principale
2 fare una esportazione del database in file zip
una volta che il nuovo servizio hosting ha puntato i dns sullo stesso indirizzo web ho:
1 Caricato i vecchi file via FTP sulla cartella operativa richiestami
2 Creato un nuovo database ed Importato il database vecchio (senza cambiare nulla dato che il dominio rimane lo stesso)
3 configurato il file wp-config.php inserndo gli accesso del nuovo database
nulla è visibile del mio dominio cosa ho tralasciato di fondamentale non riesco a capire ?
-
16 Gennaio 2014 alle 17:19 #108883SteveAglAmministratore del forum
nulal è visibile = pagina bianca?
Se si capire se e come leggere l’error log del server (chiedere al fonitore di hosting) perchè c’è qualche errore…
-
16 Gennaio 2014 alle 17:55 #108884mark1210Partecipante
-
16 Gennaio 2014 alle 18:02 #108885TittiModeratore
Ricontrolla i dati nel wp-config e se ci sono righe vuote, e il log degli errori come ha detto Steve
-
16 Gennaio 2014 alle 18:21 #108886mark1210Partecipante
Grazie, ho ricontrollato il file wp-config lo ho anche cancellato e rifatto generare dal wordpress inserendo i dati del nuovo database, ma nulla ma è possibile che abbia commesso qualche errore nel caricare il database? è salvato in zip e lo ho semplicemente importato vedo le tabelle sono tutte riapparse mi pare sia tutto in regola cosa ne dite?
Grazie
Marco
-
16 Gennaio 2014 alle 18:34 #108887TittiModeratore
WP non genera il wp-config, WP ti da un esempio che tu devi compilare con i dati e rinominare.
Fatto questo, aggiungi questo codice
error_reporting(E_ALL); ini_set('display_errors', 1);
dopo la prima riga <?php
e
define( 'WP_DEBUG', true);
sopra /* That’s all, stop editing! Happy blogging. */ e guarda cosa dicono gli errori
-
16 Gennaio 2014 alle 20:20 #108891mark1210Partecipante
Salve ho creato il file e caricato nel server solo nel frattempo avevo cancellato il database credendo non lo avessi importato bene, solo adesso mentre lo sto reimportando mi da questo messaggio (sono davvero messo male?)
Grazie di nuovo
query SQL:
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
—
— Database:
cortonamiadatabase
—
—
—
— Struttura della tabella
wp_cn_social_icon
—
CREATE TABLE IF NOT EXISTS
wp_cn_social_icon
(id
bigint( 20 ) NOT NULL AUTO_INCREMENT ,title
varchar( 255 ) default NULL ,url
varchar( 255 ) NOT NULL ,image_url
varchar( 255 ) NOT NULL ,sortorder
int( 11 ) NOT NULL default ‘0’,date_upload
varchar( 100 ) default NULL ,target
tinyint( 1 ) NOT NULL default ‘1’,PRIMARY KEY (
id
)) ENGINE = InnoDB DEFAULT CHARSET = utf8 AUTO_INCREMENT =4;
Messaggio di MySQL: Documentazione
-
16 Gennaio 2014 alle 23:22 #108892mark1210Partecipante
Salve adesso ho ricaricato il database e pare lo abbia caricato con successo, dopo aver corretto il wp-config.php adesso mi da questo errore:
Parse error: syntax error, unexpected T_STRING in /home/mhd-01/www.cortonamia.com/htdocs/wp-config.php on line 31
Grazie
Marco
-
16 Gennaio 2014 alle 23:41 #108893mark1210Partecipante
Salve adesso ho inserito i dati perfetti nel file wp-config.php piu le linee suggerite da lei:
error_reporting(E_ALL); ini_set(‘display_errors’, 1);
dopo la prima riga <?php
e
define( ‘WP_DEBUG’, true);
sopra /* That’s all, stop editing! Happy blogging. */ e guarda cosa dicono gli errori
e tutto sembra tornato come all ‘rigine il sito non si visualizza pagina bianca vedo solo come progresso la favicon accanto all’indirizzo del browser …
Grazie del suo prezioso tempo
Marco
-
16 Gennaio 2014 alle 23:52 #108894TittiModeratore
Compili male il wp-config.php, l’errore è alla riga 31, riscrivila a mano aprendo il file con un semplice blocco note di testo, forse sono gli apici, poi cancella quelle righe che ti ho detto di mettere
-
17 Gennaio 2014 alle 8:37 #108895mark1210Partecipante
Pare abbia scoperto il problema ecco come segue:
Il sito nel vecchio domain era ubicato a: http://cortonamia.com’ mentre con il nuovo server è ubicato a ‘http://www.cortonamia.com’
Forse la soluzione migliore è aggiornare gli url del database? se si una volta aperto il fil .sql come posso fare un remplace url? e con quale software?
Grazie
Marco
-
17 Gennaio 2014 alle 10:54 #108900TittiModeratore
Puoi usare questo script per cambiare l’URL, ma leggi le istruzioni attentamente e tieni ovviamente sempre una copia del DB a parte.
-
17 Gennaio 2014 alle 13:43 #108903mark1210Partecipante
Salve ho usato quello script ma alla fine ha dato degli errori del tipo che alcune schede non erano state modificate di fatti non funzionava il sito. Non mi so perso d’animo ho cancellato il database ricaricato il vecchio ed ho successivamente modificato gli URL direttamente dal PHPmyAdmin seguendo questa procedura:
http://wordpress.shadowlantern.com/how-change-wordpress-url-phpmyadmin/
una vota fatta ho provato ad esportare il database modificato e gli URL visti da un text editor con il finder risultano tutti modificati
Ma il problema persiste il sito non viene visualizzato al nuovo indirizzo http://www.cortonamia.com da il solito messaggio: Error establishing a database connection
mmmm
Qualche idea?
Grazie, Marco
-
17 Gennaio 2014 alle 13:47 #108904wollyAmministratore del forum
Error establishing a database connection
i dati di connessione nel wp-config sono sbagliati.
-
17 Gennaio 2014 alle 16:46 #108910mark1210Partecipante
Salve eccomi di nuovo, ho deciso di reinstallare il database che prima ho modificato con il textedit di MAC sostituendo tutti gli URL vecchi con quelli nuovi con la funzione sostituisci tutti (ne ha aggiornato piu di 5000mila) fatto questo ho generato un nuovo database e caricato, aggiustato il file wp-config e finalmente il sito si vede fa ma … solo al home page i link sono tutti morti il wordpress funzione ma se pubblico una pagina nuova .. mi da ok la provo ad aprire non va da errore 404 …
non so piu come fare …. :S
Qualche suggerimento?
Marco
-
17 Gennaio 2014 alle 17:05 #108911mark1210Partecipante
Ultimo aggiornamento per riportare i link al lavoro sono andato, sui permanet llink li ho impostati di default salvati e subito dopo e poi riportati come prima si sono come per magia tutti riabilitati ! adesso non mi resta che effettuare il re indirizzamento dei link attraverso Googlebot ma non lo ho mai fatto possiedo fortunatamente l account con google webmaster per questo sito ho letto che da questo strumento si possano suggerire i nuovi link se si sapreste indicarmi come ?
Grazie
Marco
-
17 Gennaio 2014 alle 19:08 #108912SteveAglAmministratore del forum
Non faciamo assistenza ai prodotti google visto che NON riguarda WP.
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.