Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    [MySql] Errore 1366 durante caricamento

    Salve,

    stavo per caricare un dump in locale, ma mi è uscito questo "grazioso" errore:

    [Err] 1366 - Incorrect string value: '\xE8 il l...' for column 'forum_desc' at row 1
    [Err] INSERT INTO erinni_forums (forum_id, cat_id, forum_name, forum_desc, forum_status, forum_order, forum_posts, forum_topics, forum_last_post_id, prune_next, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate, auth_attachments) VALUES('31', '16', 'La Casa dell\'Arbiter Elegantiarum', 'Questo è il luogo dove l\'Arbiter incontra gli Adepti...', '0', '40', '18', '5', '20279', NULL, '0', '0', '0', '3', '3', '3', '3', '3', '3', '1', '1', '0');
    INSERT INTO erinni_forums (forum_id, cat_id, forum_name, forum_desc, forum_status, forum_order, forum_posts, forum_topics, forum_last_post_id, prune_next, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate, auth_attachments) VALUES('25', '17', 'Ispirazioni Vaneggiamenti e Capolavori', 'Tutto quello che le Erinni scrivono: poesie, sonetti e prose dalla Vita alla Non-vita', '0', '10', '311', '54', '19430', NULL, '0', '0', '0', '1', '1', '1', '1', '1', '1', '1', '1', '0');
    [Msg] Finished - Unsuccessfully

    mi sono messo a cercare ma non trovo la stringa 1xE8 che lui dice. Potreste darmi una mano per favore? Grazie

  2. #2
    Moderatore di PHP L'avatar di Alhazred
    Registrato dal
    Oct 2003
    Messaggi
    12,505
    Qual è il charset usato per le tabelle nel DB? Penso che abbia problemi con le lettere accentate.
    Il messaggio d'errore che ti propone penso sia relativo a:

    INSERT INTO erinni_forums (forum_id, cat_id, forum_name, forum_desc, forum_status, forum_order, forum_posts, forum_topics, forum_last_post_id, prune_next, prune_enable, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_sticky, auth_announce, auth_vote, auth_pollcreate, auth_attachments) VALUES('31', '16', 'La Casa dell'Arbiter Elegantiarum', 'Questo è il luogo dove l'Arbiter incontra gli Adepti...', '0', '40', '18', '5', '20279', NULL, '0', '0', '0', '3', '3', '3', '3', '3', '3', '1', '1', '0');

    Infatti la stringa che contiene la e accentata andrebbe proprio nella colonna forum_desc.

  3. #3
    questo non lo so proprio, è il db di phpbb 2.

  4. #4
    Moderatore di PHP L'avatar di Alhazred
    Registrato dal
    Oct 2003
    Messaggi
    12,505
    Da phpmyadmin seleziona il db, vai in "operazioni" e in collation guarda che cosa è selezionato, potrebbe trattarsi di un charset che non gestisce correttamente le accentate.

    Anche se non c'entra con questo problema, ti consiglio di aggiornare phpbb e di passare alla versione 3, la 2 ha seri problemi di sicurezza.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.