[Bug] Special Characters Trigger MySQL Error.

 
Post new topic   Reply to topic    Tales Series Forum Index -> Forum Rules and Suggestions
View previous topic :: View next topic  
Author Message
Vermillion



Joined: 13 Jun 2010
Posts: 6
Location: La Paz

PostPosted: Sun Jun 13, 2010 9:10 am    Post subject: [Bug] Special Characters Trigger MySQL Error. Reply with quote

First of all, my apologies if this is not the right way to report bugs. I couldn't find any other similar forum so I though I would do it here.

I made a post in the Music forum, which contained some special characters. When I submitted the post, I got a MySQL error. Later I edited the post to fix a smiley, and I got the following MySQL message:

Quote:
Could not insert new word matches

DEBUG MODE

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

INSERT INTO phpbb_search_wordmatch (post_id, word_id, title_match) SELECT 3021998, word_id, 0 FROM phpbb_search_wordlist WHERE word_text IN ('favorite', 'genre', 'metal', 'colors', 'forms', 'generally', 'eclectic', 'taste', 'meaning', 'everything', 'few', 'exceptions', 'bands', 'nightwish', 'temptation', 'therion', 'haggard', 'poets', 'fall', 'm(double-dotted a)go', 'oz', 'eluveitie', 'diablo', 'swing', 'orchestra', 'sound', 'horizon', 'sigur', 'r(accented o)s', 'specific', 'order', 'except', 'always', 'goes', 'first', '1300', 'artists', 'library', 'listen', 'killing', 'fingers')

Line : 251
File : functions_search.php


I believe this is related to the fact my post included a double-doted 'a' and an accented 'o'. If I am right, this would be caused because the database doesn't have a UTF-8 character encoding. At any rate, I would expect Simple Machines Forums to automatically create a database like that, guess I was wrong Razz.

My last post here. You may also notice that my name doesn't show as the Last Poster when you check that forum's index.

And huh, my apologies if I killed the database. I really never expected to find a MySQL error in a SMF board.

NOTE: I have removed the special characters, because the first time I tried to make this thread, the post didn't go through because it triggered yet another MySQL message...

EDIT: Well, the Last Post in that thread in the Music Forum shows my name as the last poster, so I guess it fixed itself.
Back to top
View user's profile Send private message MSN Messenger
Blue



Joined: 04 May 2005
Posts: 13801
Location: Feel my Kappa

PostPosted: Sun Jun 13, 2010 9:58 am    Post subject: Reply with quote

Yes That's been a common error nowadays. Most people noticed it when trying to have japanese characters in their posts, but accents trigger it too. Fortunately, Laogeodritt worked a way around it right here. Just do what he said there and you won't have any more problems!
_________________
[My youtube videos]
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Tales Series Forum Index -> Forum Rules and Suggestions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Powered by phpBB © 2001, 2005 phpBB Group