Zen Cart Logo
Forums / General Questions / Error when searching for swedish characters (å, ä, ö)

Error when searching for swedish characters (å, ä, ö)

Locked

Views: 1,181

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
13 Feb 2009, 10:36 PM
#1
erikallan avatar

erikallan

New Zenner

Join Date:
Dec 2008
Location:
Stockholm
Posts:
29
Plugin Contributions:
0

Error when searching for swedish characters (å, ä, ö)

Hello

When I try to search for a word containing swedish characters like å, ä and ö using the sidebox or advanced search functions I get this error:


Not Acceptable

An appropriate representation of the requested resource /zen-cart/index.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I run zencart 1.3.8a with the swedish language pack.

Anyone who knows how to fix it?

Best Regards

Erik

14 Feb 2009, 8:30 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Error when searching for swedish characters (å, ä, ö)

You're probably triggering mod_security rules set up on your server by your hosting company, which are throwing a 406 error when you submit multibyte or extended characterset characters.

14 Feb 2009, 9:55 AM
#3
erikallan avatar

erikallan

New Zenner

Join Date:
Dec 2008
Location:
Stockholm
Posts:
29
Plugin Contributions:
0

Re: Error when searching for swedish characters (å, ä, ö)

Hello DrByte

Thank you for answering. I googled on this topic and found that if the mod_security module is installed on the server I should be able to disable it by adding this to the .htaccess file:

<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>

I tried this but it does not solve the problem :frusty:. There are many .htaccess files in my www folder (one in the admin, one in the includes folder etc.) and I have but the text in both of them... I will contact the hosting company and try to find out more.

Any thoughts?

/Erik

14 Feb 2009, 5:49 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Error when searching for swedish characters (å, ä, ö)

Check your server's apache errorlog file for details of what rules were triggering the 406 error. You may have to ask the hosting company for that information if your control panel doesn't give you access to the logs.

15 Feb 2009, 5:03 PM
#5
erikallan avatar

erikallan

New Zenner

Join Date:
Dec 2008
Location:
Stockholm
Posts:
29
Plugin Contributions:
0

Re: Error when searching for swedish characters (å, ä, ö)

Problem solved. The hosting company helped me out :clap:

Thank you for guiding me.

/Erik