1 (edited by Xog 2006-09-23 19:31)

Topic: Scandinavian letters " ÅÄÖ " do not work

Hi!

i just installed PunBB 1.2.12 on my webserver and i cant get the Scandinavian letters ( ÅÄÖ ) to work in the bultin board thay works on all other php scripts thats is on that server and in cli.

if i try to make a forum with the name "Allmänt" it becomes "Allm"

and if i try to sen a mesage with åäö in it to a topic i get the error:

"
An error was encountered
Error: Unable to insert search index words.
"

Thx!

the forum is located on http://www.lurifix.net/forum

//Ola "Xog"

Re: Scandinavian letters " ÅÄÖ " do not work

Enable debug mode, post the full error wink

3 (edited by Xog 2006-09-23 19:57)

Re: Scandinavian letters " ÅÄÖ " do not work

okie here we go!

An error was encountered
File: /var/www/localhost/htdocs/forum/include/search_idx.php
Line: 149

PunBB reported: Unable to insert search index words

Database reported: Duplicate entry '' for key 1 (Errno: 1062)

i was trying to write "bla åäö" in a topic

Re: Scandinavian letters " ÅÄÖ " do not work

http://punbb.org/forums/viewtopic.php?id=9146
See if that topic fixes your issue smile

5

Re: Scandinavian letters " ÅÄÖ " do not work

ye sounds like the same problem.. but, i tryed to add the BINARY mode to word but it just say "Records: 1  Duplicates: 0  Warnings: 0" in MySQL CC

Re: Scandinavian letters " ÅÄÖ " do not work

So you did alter the table to use varbinary?

7

Re: Scandinavian letters " ÅÄÖ " do not work

i tried to but noting happends, its just say that line but i won't change it to BINARY

Re: Scandinavian letters " ÅÄÖ " do not work

I'm not positive, but try doing varchar binary instead of varbinary

9 (edited by Xog 2006-09-23 21:27)

Re: Scandinavian letters " ÅÄÖ " do not work

okie changed it to varbinary now.. same thing
do i need to change the php files with thoes mods or shuld it work anyway?

10

Re: Scandinavian letters " ÅÄÖ " do not work

okie have modded thoes php files like it says in that topic.. no change

Re: Scandinavian letters " ÅÄÖ " do not work

http://punbb.org/forums/viewtopic.php?pid=67162#p67162
OK, try this tongue