I have a paid host and created database with cp1251 character set. Everything is ok, and you can write with cyrillic letters except in the forum. When I try to write I receive the following message
Could not insert new word matches
DEBUG MODE
SQL Error : 1267 Illegal mix of collations (latin1_bin,IMPLICIT) and (cp1251_general_ci,COERCIBLE) for operation ' IN '
INSERT INTO nuke_bbsearch_wordmatch (post_id, word_id, title_match) SELECT 5, word_id, 0 FROM nuke_bbsearch_wordlist WHERE word_text IN ('жаоаяяжа')
Line : 252
File : functions_search.php
I have trried so many things and nothing. Could you help me to solve the problem? Thanks in advanced.
Xyberian Colonel
Joined: Mar 14, 2004
Posts: 1921
Location: Behind you
Posted:
Mon Sep 05, 2005 1:29 am
Open 7.8 DB with your phpmyadmin.
And find the two tables:
nuke_bbsearch_wordlist
nuke_bbsearch_wordmatch
Delete the above two tables and then run the following two DB tables (these are my own change and was tested).
** Comments: The reasons was "latin1 character code," which you are supposed to use "binary."
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