Results 1 to 8 of 8

Thread: SQL Error : 1271 Illegal mix of collations for operation ' I

  1. #1
    phonebooth42's Avatar



    Join Date
    Jan 28, 2011
    Last Online
    Aug 16, 2013
    Posts
    84
    Threads
    24



    SQL Error : 1271 Illegal mix of collations for operation ' I


    wont post topic due to SQL Error : 1271 Illegal mix of collations for operation ' IN '
    even though i can assure you wat im typin is english as it is the only language i speak. and i am usin the correct grammer as i have spellchecked it several times. Why wont it post!

    ps ive had to use slang in this as it wont post here unless i do

  2. #2
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    It's the character you are trying to use for the apostrophe in don't.

    Pro tip: You'll get this message, but the post is posted anyways.

    I'll fix this when I can.

  3. #3
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    It also appears like the currency symbol is part of the issue.

    I deleted all the threads you created except for this one:
    http://www.sourceop.com/modules.php?...hlight=#247454

  4. #4
    phonebooth42's Avatar



    Join Date
    Jan 28, 2011
    Last Online
    Aug 16, 2013
    Posts
    84
    Threads
    24




    cheers dude

  5. #5
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    h’i “test”
    ? ?_?

  6. #6
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    It looks like I fixed the error message, though the characters might not show correctly. Stupid old forum software.

  7. #7
    Drunken F00l's Avatar



    Join Date
    Dec 11, 2004
    Last Online
    Jun 11, 2019
    Posts
    5,874
    Threads
    182
    Reputation
    SourceOP Thread


        
    Steam: 76561197968459473 
    Steam join date: Aug 23, 2004
    Steam Level: 56
    Profile Status: Public



    h’i “test”
    ? ?_?

    Hmm looks like the display issue is fixed now too. Thanks for bringing this up (I know others have and thanks to them too).

    Edit:
    To anyone coming across this thread by searching, the problem came up after switching web servers. I believe this changed the default character set mysql was using. I converted all of the relevant phpbb/nuke tables (posts, search, private messages) to the new default collation (see the mysql collation_ variable) which was utf8_general_ci and previously latin1_swedish_ci. You have to convert the table, and not just set the default. When I converted, I ended up with duplicate keys in the wordlist table. I resolved this by temporarily closing the forum, dumping the data, dropping the table, and reinserting it using INSERT IGNORE with no collation specified (so that it would use the default).

    I also changed languages/lang-english.php to define _CHARSET as UTF-8.

  8. #8
    phonebooth42's Avatar



    Join Date
    Jan 28, 2011
    Last Online
    Aug 16, 2013
    Posts
    84
    Threads
    24




    Cheers for sorting it out dude, hopefully won't happen again. If it doeas i know the site admin is a good n.