Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2008
    Location
    Stockholm
    Posts
    29
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2008
    Location
    Stockholm
    Posts
    29
    Plugin Contributions
    0

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

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

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

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2008
    Location
    Stockholm
    Posts
    29
    Plugin Contributions
    0

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

    Problem solved. The hosting company helped me out

    Thank you for guiding me.

    /Erik

 

 

Similar Threads

  1. v150 Out of memory error when searching
    By MelodyW in forum General Questions
    Replies: 1
    Last Post: 3 Apr 2015, 11:29 AM
  2. Error 1064 when searching customers orders
    By edvon in forum General Questions
    Replies: 3
    Last Post: 1 Mar 2011, 10:29 PM
  3. Replies: 7
    Last Post: 2 Sep 2010, 11:30 PM
  4. Error occurred when searching using Developers Tool Kit
    By dealbyethan.com in forum General Questions
    Replies: 7
    Last Post: 9 Dec 2006, 06:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg