You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 56 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Problem with Phpnuke 7.8 and character support [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
alabala
Nuke Cadet
Nuke Cadet


Joined: Sep 05, 2005
Posts: 2


PostPosted: Sun Sep 04, 2005 9:18 pm Reply with quoteBack to top

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.
Find all posts by alabalaView user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1921

Location: Behind you

PostPosted: Mon Sep 05, 2005 1:29 am Reply with quoteBack to top

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."

Code:

CREATE TABLE nuke_bbsearch_wordlist (
  word_text varchar(50) binary NOT NULL default '',
  word_id mediumint(8) unsigned NOT NULL auto_increment,
  word_common tinyint(1) unsigned NOT NULL default '0',
  PRIMARY KEY  (word_text),
  KEY word_id (word_id)
) TYPE=MyISAM;

#
# Volcar la base de datos para la tabla `nuke_bbsearch_wordlist`
#

# --------------------------------------------------------

#
# Estructura de tabla para la tabla `nuke_bbsearch_wordmatch`
#

CREATE TABLE nuke_bbsearch_wordmatch (
  post_id mediumint(8) unsigned NOT NULL default '0',
  word_id mediumint(8) unsigned NOT NULL default '0',
  title_match tinyint(1) NOT NULL default '0',
  KEY word_id (word_id)
) TYPE=MyISAM;

_________________
NukeKorea Dev. Network.
NukeKorea Laboratories
Find all posts by XyberianView user's profileSend private messageVisit poster's website
alabala
Nuke Cadet
Nuke Cadet


Joined: Sep 05, 2005
Posts: 2


PostPosted: Mon Sep 05, 2005 2:13 am Reply with quoteBack to top

Sorry but it doesn't work, I'm trying to use phpnuke with character dabase cp1251
so this is the errors

Could not insert new word matches

DEBUG MODE

SQL Error : 1267 Illegal mix of collations (cp1251_bin,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation ' IN '

INSERT INTO nuke_bbsearch_wordmatch (post_id, word_id, title_match) SELECT 4, word_id, 0 FROM nuke_bbsearch_wordlist WHERE word_text IN ('ожаоаооа')

Line : 252
File : functions_search.php
Find all posts by alabalaView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.172 Seconds - 309 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::