Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default 406 Not Acceptable error

    I believe this is a very unusual error; whenever an attempt is made to change define_main_page through admin > tools > Define Page editor, the following error appears, regardless of whether I'm using an editor or plain text:
    Not Acceptable
    An appropriate representation of the requested resource /admin/define_pages_editor.php could not be found on this server.
    I know WHAT is causing the problem, but I don't know why, because it hasn't caused a problem for the past 18months!

    The source code of define_main_page includes a javascript call...
    Code:
    <td valign="top" style="width: 320px; text-align: right;">
    <script src="includes/modules/pages/index/slideshow.js" type="text/javascript">
    </script>
    </td>
    When I remove it, it saves OK...but why suddenly start to cause a problem?
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  2. #2
    Join Date
    Jan 2004
    Posts
    66,380
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 406 Not Acceptable error

    406 errors are typically a result of mod_security rules blocking some or all of the submitted content.
    Your server's errorlog should tell you more about which specific rule is involved.
    .

    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
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: 406 Not Acceptable error

    Aha!! Now you know the reasoning behind my recent PM

    Thanks.
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  4. #4
    Join Date
    Oct 2004
    Location
    Southport, UK
    Posts
    4,237
    Plugin Contributions
    20

    Default Re: 406 Not Acceptable error

    Interesting - I've just tried to run an sql query through admin > tools > install sql patches and got the same warning - on a completely different server on a different host.
    Development Manager @ JSWeb Ltd
    Over 15 years with Zencart

  5. #5
    Join Date
    Jan 2004
    Posts
    66,380
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 406 Not Acceptable error

    Same issue. Probably a slightly different mod_security "rule", but still likely a mod_security thing.
    .

    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.

 

 

Similar Threads

  1. '406 Not acceptable' error
    By travellers in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 9 May 2009, 11:26 AM
  2. 406 Not Acceptable Error
    By stanleymog in forum General Questions
    Replies: 3
    Last Post: 18 Feb 2009, 06:28 AM
  3. 406 Not Acceptable error with Define Pages
    By JillC in forum General Questions
    Replies: 2
    Last Post: 24 May 2008, 02:48 AM
  4. Error 406 Not Acceptable on install
    By crazycucumber in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 13 Sep 2007, 05:36 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR