Pagina 1 di 2 12 UltimaUltima
Risultati da 1 a 10 di 11

Discussione: Problema Post Migrazione con Impex da PHPbb3 a VB 4.2.0

  1. #1

    Problema dopo Migrazione con Impex da PHPbb3 a VB 4.2.0

    Salve a tutti. Ho un grossissimo problema con il mio forum.
    Ho migrato con impex da phpbb3 a vb 4.2.0.

    Usando impex è andato tutto per il verso giusto e le voci di successo sono presenti nell pannello dell'impex.

    Dopo aver eseguitot tutta l'importazione, vedo le categorie del forum, ma non vedo ne le discussioni ne i post.

    Ho usato il ripara tabelle ed aggiornato i contatori, ma non riesco ancora a vedere niente. Se invece inserisco una nuova discussione riesco a vederla.

    Potete darmi una mano per cortesia?
    Ultima modifica di Media-Master; 10-09-2012 alle 02:19 Motivo: riscrittura titolo

  2. #2
    Ho anche a cambiato la modalità di visualizzazione delle discussionni ma niente da fare.

  3. #3
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Come da manuale / guida della procedura è necessario aggiornare anche i contatori (area manutenzione) e ricostruire gli indici.
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  4. #4
    grazie per la risposta. ho convertito l'intero forum, e dopo una settimana ho finito di rifare il nuovo forum. Ora ho un grosso problema.. i thread, ed i post hanno un charset delle accentate sbagliato, mentre se scrivo una nuova discussione le accentate sono corrette. Siccome non posso rifare tutto il processo di import con impex, potete suggerirmi una query da lanciare per correggere i caratteri errati presenti nelle tabelle del database di thread e post?

    il set di caratteri sbagliato è quest: è , ù etc...

  5. #5
    Inattivo
    Data Registrazione
    Jul 2006
    Località
    Porto Recanati, Italy
    Età
    41
    Messaggi
    871
    Per il set dei caratteri se non erro devi contattare il tuo hoster e dirglielo...

  6. #6
    ciao risca, il problema è che ormai quei caratteri sono presenti sul database, bisogna lanciare una query per sostituire quei caratteri, infatti se io apro una nuova discussione o scrivo qualsiasi cosa di nuovo tutto funziona, ma tutto ciò che è stato importato da impex mantiene quel maledetto set. Spero che qualcuno possa suggerirmi una query per spstituirli.

  7. #7
    credo di aver trovato il problema, ho visto che nel database tuttò ciò che è stato importato com impex mostra charset latin swedish, come posso cambiare tutto quanto in utf8?

  8. #8
    niente da fare.
    Mi serve proprio una query per sostituire i caratteri sbagliati dentro il database. Se qualcuno ha un idea...

  9. #9
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Codice:
    UPDATE post SET pagetext=REPLACE(pagetext, 'X', 'Y')
    Questo è la base su cui operare (in phpmyadmin o, meglio, da shell).

    La query sostituisce tutte le occorrenze X con Y. C'è da tenere presente che bisogna creare tante query quante sono le sostituzioni, ma così puoi anche risolvere altri problemi, come ad esempio il cambiamento di percorsi e URL all'interno dei testi e delle firme.

    Alla fine, ricordati di svuotare la cache dei post con:
    Codice:
    TRUNCATE  TABLE postparsed
    Inoltre devi applicare queste query anche sui titoli delle discussioni, sui nomi di utente, titoli dei singoli messaggi, messaggi privati, FAQ, ecc ecc.

    Dopo aver fatto questo lavoro, assicurati che tutte le tabelle hanno la stessa codifica e che sono tutti MyISAM (altrimenti li converti), e poi riapri il forum al pubblico.

    Ricordati fare il backup delle tabelle coinvolte
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  10. #10
    grazie per la risposta y2ksw, alla fine non ho letto la tua risposta accidenti e sper di non aver fatto danni.

    Ti posto le query che ho utilizzato per pulire dai due tipi di caratteri... adesso sembra andr bene. il problema è che non ho fatto il TRUNCATE TABLE postparsed... spero non succeda niente.

    Codice:
    UPDATE post SET pagetext = REPLACE(pagetext,'ì','ì');
    UPDATE post SET pagetext = REPLACE(pagetext,'ù','ù');
    UPDATE post SET pagetext = REPLACE(pagetext,'è','è');
    UPDATE post SET pagetext = REPLACE(pagetext,'é','é');
    UPDATE post SET pagetext = REPLACE(pagetext,'ò','ò');
    UPDATE post SET pagetext = REPLACE(pagetext,'ÃÂ','à')
    
    UPDATE post SET title = REPLACE(title,'ì','ì');
    UPDATE post SET title = REPLACE(title,'ù','ù');
    UPDATE post SET title = REPLACE(title,'è','è');
    UPDATE post SET title = REPLACE(title,'é','é');
    UPDATE post SET title = REPLACE(title,'ò','ò');
    UPDATE post SET title = REPLACE(title,'ÃÂ','à')
    
    UPDATE pmtext SET message = REPLACE(message,'ì','ì');
    UPDATE pmtext SET message = REPLACE(message,'ù','ù');
    UPDATE pmtext SET message = REPLACE(message,'è','è');
    UPDATE pmtext SET message = REPLACE(message,'é','é');
    UPDATE pmtext SET message = REPLACE(message,'ò','ò');
    UPDATE pmtext SET message = REPLACE(message,'ÃÂ','à')
    
    UPDATE pmtext SET title = REPLACE(title,'ì','ì');
    UPDATE pmtext SET title = REPLACE(title,'ù','ù');
    UPDATE pmtext SET title = REPLACE(title,'è','è');
    UPDATE pmtext SET title = REPLACE(title,'é','é');
    UPDATE pmtext SET title = REPLACE(title,'ò','ò');
    UPDATE pmtext SET title = REPLACE(title,'ÃÂ','à')
    
    UPDATE thread SET title = REPLACE(title,'ì','ì');
    UPDATE thread SET title = REPLACE(title,'ù','ù');
    UPDATE thread SET title = REPLACE(title,'è','è');
    UPDATE thread SET title = REPLACE(title,'é','é');
    UPDATE thread SET title = REPLACE(title,'ò','ò');
    UPDATE thread SET title = REPLACE(title,'ÃÂ','à')
    
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ì','ì');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ù','ù');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'è','è');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'é','é');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ò','ò');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ÃÂ','à')
    
    ---- da eseguire dopo la prima
    
    UPDATE post SET pagetext = REPLACE(pagetext,'á','á');
    UPDATE post SET pagetext = REPLACE(pagetext,'ä','ä');
    UPDATE post SET pagetext = REPLACE(pagetext,'â','â');
    UPDATE post SET pagetext = REPLACE(pagetext,'é','é');
    UPDATE post SET pagetext = REPLACE(pagetext,'è','è');
    UPDATE post SET pagetext = REPLACE(pagetext,'ê','ê');
    UPDATE post SET pagetext = REPLACE(pagetext,'ë','ë');
    UPDATE post SET pagetext = REPLACE(pagetext,'ì','ì');
    UPDATE post SET pagetext = REPLACE(pagetext,'Ã*','í');
    UPDATE post SET pagetext = REPLACE(pagetext,'î','î');
    UPDATE post SET pagetext = REPLACE(pagetext,'ïo','ï');
    UPDATE post SET pagetext = REPLACE(pagetext,'ò','o');
    UPDATE post SET pagetext = REPLACE(pagetext,'ó','ò');
    UPDATE post SET pagetext = REPLACE(pagetext,'ô','ó');
    UPDATE post SET pagetext = REPLACE(pagetext,'ö','ô');
    UPDATE post SET pagetext = REPLACE(pagetext,'ù','ö');
    UPDATE post SET pagetext = REPLACE(pagetext,'ú','ù');
    UPDATE post SET pagetext = REPLACE(pagetext,'ü','ú');
    UPDATE post SET pagetext = REPLACE(pagetext,'û','ü');
    UPDATE post SET pagetext = REPLACE(pagetext,'€','û');
    UPDATE post SET pagetext = REPLACE(pagetext,'Ã','à');
    UPDATE post SET pagetext = REPLACE(pagetext,'€','€')
    
    UPDATE post SET title = REPLACE(title,'á','á');
    UPDATE post SET title = REPLACE(title,'ä','ä');
    UPDATE post SET title = REPLACE(title,'â','â');
    UPDATE post SET title = REPLACE(title,'é','é');
    UPDATE post SET title = REPLACE(title,'è','è');
    UPDATE post SET title = REPLACE(title,'ê','ê');
    UPDATE post SET title = REPLACE(title,'ë','ë');
    UPDATE post SET title = REPLACE(title,'ì','ì');
    UPDATE post SET title = REPLACE(title,'Ã*','í');
    UPDATE post SET title = REPLACE(title,'î','î');
    UPDATE post SET title = REPLACE(title,'ïo','ï');
    UPDATE post SET title = REPLACE(title,'ò','o');
    UPDATE post SET title = REPLACE(title,'ó','ò');
    UPDATE post SET title = REPLACE(title,'ô','ó');
    UPDATE post SET title = REPLACE(title,'ö','ô');
    UPDATE post SET title = REPLACE(title,'ù','ö');
    UPDATE post SET title = REPLACE(title,'ú','ù');
    UPDATE post SET title = REPLACE(title,'ü','ú');
    UPDATE post SET title = REPLACE(title,'û','ü');
    UPDATE post SET title = REPLACE(title,'€','û');
    UPDATE post SET title = REPLACE(title,'Ã','à');
    UPDATE post SET title = REPLACE(title,'€','€')
    
    UPDATE pmtext SET message = REPLACE(message,'á','á');
    UPDATE pmtext SET message = REPLACE(message,'ä','ä');
    UPDATE pmtext SET message = REPLACE(message,'â','â');
    UPDATE pmtext SET message = REPLACE(message,'é','é');
    UPDATE pmtext SET message = REPLACE(message,'è','è');
    UPDATE pmtext SET message = REPLACE(message,'ê','ê');
    UPDATE pmtext SET message = REPLACE(message,'ë','ë');
    UPDATE pmtext SET message = REPLACE(message,'ì','ì');
    UPDATE pmtext SET message = REPLACE(message,'Ã*','í');
    UPDATE pmtext SET message = REPLACE(message,'î','î');
    UPDATE pmtext SET message = REPLACE(message,'ïo','ï');
    UPDATE pmtext SET message = REPLACE(message,'ò','o');
    UPDATE pmtext SET message = REPLACE(message,'ó','ò');
    UPDATE pmtext SET message = REPLACE(message,'ô','ó');
    UPDATE pmtext SET message = REPLACE(message,'ö','ô');
    UPDATE pmtext SET message = REPLACE(message,'ù','ö');
    UPDATE pmtext SET message = REPLACE(message,'ú','ù');
    UPDATE pmtext SET message = REPLACE(message,'ü','ú');
    UPDATE pmtext SET message = REPLACE(message,'û','ü');
    UPDATE pmtext SET message = REPLACE(message,'€','û');
    UPDATE pmtext SET message = REPLACE(message,'Ã','à');
    UPDATE pmtext SET message = REPLACE(message,'€','€')
    
    UPDATE pmtext SET title = REPLACE(title,'á','á');
    UPDATE pmtext SET title = REPLACE(title,'ä','ä');
    UPDATE pmtext SET title = REPLACE(title,'â','â');
    UPDATE pmtext SET title = REPLACE(title,'é','é');
    UPDATE pmtext SET title = REPLACE(title,'è','è');
    UPDATE pmtext SET title = REPLACE(title,'ê','ê');
    UPDATE pmtext SET title = REPLACE(title,'ë','ë');
    UPDATE pmtext SET title = REPLACE(title,'ì','ì');
    UPDATE pmtext SET title = REPLACE(title,'Ã*','í');
    UPDATE pmtext SET title = REPLACE(title,'î','î');
    UPDATE pmtext SET title = REPLACE(title,'ïo','ï');
    UPDATE pmtext SET title = REPLACE(title,'ò','o');
    UPDATE pmtext SET title = REPLACE(title,'ó','ò');
    UPDATE pmtext SET title = REPLACE(title,'ô','ó');
    UPDATE pmtext SET title = REPLACE(title,'ö','ô');
    UPDATE pmtext SET title = REPLACE(title,'ù','ö');
    UPDATE pmtext SET title = REPLACE(title,'ú','ù');
    UPDATE pmtext SET title = REPLACE(title,'ü','ú');
    UPDATE pmtext SET title = REPLACE(title,'û','ü');
    UPDATE pmtext SET title = REPLACE(title,'€','û');
    UPDATE pmtext SET title = REPLACE(title,'Ã','à');
    UPDATE pmtext SET title = REPLACE(title,'€','€')
    
    UPDATE thread SET title = REPLACE(title,'á','á');
    UPDATE thread SET title = REPLACE(title,'ä','ä');
    UPDATE thread SET title = REPLACE(title,'â','â');
    UPDATE thread SET title = REPLACE(title,'é','é');
    UPDATE thread SET title = REPLACE(title,'è','è');
    UPDATE thread SET title = REPLACE(title,'ê','ê');
    UPDATE thread SET title = REPLACE(title,'ë','ë');
    UPDATE thread SET title = REPLACE(title,'ì','ì');
    UPDATE thread SET title = REPLACE(title,'Ã*','í');
    UPDATE thread SET title = REPLACE(title,'î','î');
    UPDATE thread SET title = REPLACE(title,'ïo','ï');
    UPDATE thread SET title = REPLACE(title,'ò','o');
    UPDATE thread SET title = REPLACE(title,'ó','ò');
    UPDATE thread SET title = REPLACE(title,'ô','ó');
    UPDATE thread SET title = REPLACE(title,'ö','ô');
    UPDATE thread SET title = REPLACE(title,'ù','ö');
    UPDATE thread SET title = REPLACE(title,'ú','ù');
    UPDATE thread SET title = REPLACE(title,'ü','ú');
    UPDATE thread SET title = REPLACE(title,'û','ü');
    UPDATE thread SET title = REPLACE(title,'€','û');
    UPDATE thread SET title = REPLACE(title,'Ã','à');
    UPDATE thread SET title = REPLACE(title,'€','€')
    
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'á','á');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ä','ä');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'â','â');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'é','é');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'è','è');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ê','ê');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ë','ë');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ì','ì');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'Ã*','í');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'î','î');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ïo','ï');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ò','o');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ó','ò');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ô','ó');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ö','ô');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ù','ö');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ú','ù');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'ü','ú');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'û','ü');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'€','û');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'Ã','à');
    UPDATE sigparsed SET signatureparsed = REPLACE(signatureparsed,'€','€')
    Per quanto riguarda le tabelle in generale purtroppo me le da tutte in latin_swedish, anche se il database è in utf8, e non riesco a trovare il modo per cambiarle di massa.

Pagina 1 di 2 12 UltimaUltima

Discussioni Simili

  1. Problema importazione avatar da phpbb3 a vB4.0.5 con ImpEx
    Di sconcau84 nel forum Installazione ed aggiornamento
    Risposte: 1
    Ultimo Messaggio: 05-09-2011, 18:34
  2. importazione avatar da phpbb3 a vB4.0 con ImpEx
    Di alan110112 nel forum Installazione ed aggiornamento
    Risposte: 4
    Ultimo Messaggio: 19-08-2010, 22:35
  3. Risposte: 8
    Ultimo Messaggio: 29-01-2010, 20:47
  4. vBulletin 3.7.x Problema con impex
    Di Tonino9191 nel forum VBulletin 3
    Risposte: 1
    Ultimo Messaggio: 23-12-2008, 23:47
  5. vBulletin 3.7.x Impex, post e DB
    Di *Salvo* nel forum VBulletin 3
    Risposte: 3
    Ultimo Messaggio: 26-05-2008, 09:06

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •