Home › Forum › Installazione WP › Problema database (credo)
-
AutorePost
-
-
7 Gennaio 2009 alle 9:09 #9003JackSparrow87Partecipante
Buongiorno a tutti,
sono nuovo di queste parti, per cui mi scuso in anticipo se dimostrerò pubblicamente la mia ignoranza in fatto di server e database.
Vi illustro il mio problema nella speranza che possiate darmi una mano:
io ero in hosting su macchina windows, con ovvi problemi. Quando contatto il centro assistenza, questi mi propongono di trasferirmi su una macchina linux nuova di zecca, e accetto. Inizialmente pensavo di “trasferire” tutto, per cui mi sono fatto il backup del db, ho copiato in remoto il sito, e appena ho avuto i nuovi dati per il server nuovo ho iniziato con l’installare nuovamente wp da capo: fin qui ha funzionato.
I problemi sono iniziati quando ho ripristinato il vecchio db e poi ho cercato di caricare via ftp la cartella con i contenuti wp-contents. Qui non andava più.
Allora deciso a sbrogliarmela da solo ho cancellato tutto, ho eliminato le tabelle dal db (tutte), ho reinstallato wp sperando di poter nuovamente effettuare l’installazione da capo…e qui casca l’asino. Ora mi ritrovo con una pagina bianca, sia in home, sia in qualunque altro indirizzo, oltre che un’altra che in alcuni indirizzi mi avverte che non trova il file (errore 404), anche se questo è presente…
Devo modificare qualcosa nel database? e come? pensavo di crearne uno nuovo e cancellare quello vecchio, ma non possiedo i privilegi per farlo.
grazie dell’attenzione!
-
7 Gennaio 2009 alle 10:49 #60924degraPartecipante
Solitamente cambiando tipo di server cambia il percorso della root, quindi potrebbe sballarsi tutto. Prova a vedere questo articolo, se ti può essere d’aiuto per ripristinare il blog con gli indirizzi giusti.
-
7 Gennaio 2009 alle 11:10 #60925JackSparrow87Partecipante
Quello può essere, ma allora non mi spiego come sia possibile che la prima volta l’installazione è amdata a buon fine…
-
7 Gennaio 2009 alle 11:27 #60926JackSparrow87Partecipante
Ho dato un’occhiata, però il mio problema è anche questo: ho cancellato tutte le tabelle del database, e vorrei azzerarlo per non dover ripristinare la vecchia copia di backup (che ha molte tabelle legate anche a plugins vecchi). In sostanza mi accontenterei di ripristinare il database allo stato iniziale e reinstallare da capo wp. Come posso farlo? cancellando semplicemente tutte le tabelle non funziona
-
7 Gennaio 2009 alle 13:18 #60929SteveAglAmministratore del forum
Cancellando le tabelle del DB riparti da zero, se hai modo di vedere i log del server forse potresti avere qualche ingo, aggiungere anche:
define(‘WP_DEBUG’, true);
nel file wp–config potrebbe mostrare errori che solitamente vengono nascosti, io prima però ricaricherei TUTTI i file di WP.
-
7 Gennaio 2009 alle 13:46 #60932JackSparrow87Partecipante
già fatto: ora sarò più dettagliato, cosଠvediamo se si giunge alla soluzione:
Ho cancellato tutte le tabelle del database. Poi ho caricato tutti i file nella cartella htdocs come mi è stato indicato dall’assistenza al passaggio sul nuovo server. Il file config.php è lo stesso che la prima volta ha funzionato permettendomi di installare correttamente wp. Il problema è che ora io apro la pagina nella home e questa è bianca, e qualunque indirizzo io provi a digitare, ad esempio per avviare il file install.php, mi visualizza una pagina bianca oppure mi dice che c’è un errore e che quel file non esiste (fiel not found). Eppure c’è, e lo vedo da ftp.
Il punto è: perchè la prima volta tutto ok, e da quando ho provato a ripristinare il backup del db e a caricare i files vecchi (con i post del vecchio blog), non riesco più a far nulla? in fin dei conti ho ricancellato tutto e sono ripartito da capo..
Grazie a tutti dell’aiuto
-
7 Gennaio 2009 alle 16:46 #60939SteveAglAmministratore del forum
Se è davvero come dici tu, che tutti i file sono caricati ma che non accedi al lato amministrativo ne al blog… apri un ticket col tuo provider perchè possa dirti che cosa legge nei log del server. Altro non so dirti..
-
8 Gennaio 2009 alle 0:24 #60965JackSparrow87Partecipante
grazie dell’aiuto…lo contatto e vi farò sapere.
-
10 Gennaio 2009 alle 16:28 #61047JackSparrow87Partecipante
Grazie a tutti dell’aiuto..per fortuna il provider ha deciso di dare un’occhiata e ha sistemato tutto…
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.