Page 1 of 3 123 LastLast
Results 1 to 10 of 29
  1. #1
    Join Date
    Aug 2006
    Posts
    30
    Plugin Contributions
    0

    Default 403 Forbidden error when updating product

    I just started getting an error under one of my cart's categories when I try to update the desciptions of a product under that category. It doesn't give the error under any other categories that I have found yet.

    I receive the error:
    Forbidden
    You don't have permission to access /admin/product.php on this server.

    The site is http://www.2griffins.com and it only does it for any products under Products - Desk Accessories > Pens and Pencils > Mont Blanc Pens and Pencils.

    I was getting the same error under the Define Page Editor section after installing the SSL certificate on the site. I changed the following back to false for the admin and catalog and that fixed the problem there.

    Code:
    define('HTTP_SERVER', 'http://www.2griffins.com');
      define('HTTPS_SERVER', 'https://www.2griffins.com');
      define('HTTP_CATALOG_SERVER', 'http://www.2griffins.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.2griffins.com');
    
      // Use secure webserver for catalog module and/or admin areas?
      define('ENABLE_SSL_CATALOG', 'false');
      define('ENABLE_SSL_ADMIN', 'false');
    Any ideas?

    - Karen

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

    Default Re: 403 Forbidden error when updating product

    what is the exact description that you are trying to change .... both "from" and "to" ?

    I suspect your server may have a mod_security setting active which is trying to protect against the use of any "reserved words". Knowing what you're trying to enter may help...
    .

    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
    Aug 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: 403 Forbidden error when updating product

    It does it for all products under the category Mont Blanc Pens and Pencils. I don't know exactly what the client was trying to change but I have tried anything for testing.

    For example I will try to change the description on http://www.2griffins.com/index.php?m...products_id=47
    from "Burl Wood Mont Blanc Pen" to "Burl Wood Pen"

    What type of words are blocked? The only words that are in this category that are not in the others is "Mont Blanc"

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: 403 Forbidden error when updating product

    You have a .htaccess file in /admin, right?


    So ... try an experiment.

    1. make a backup copy of your /admin/.htaccess file. Store it in a safe place.
    2. edit the /admin/.htaccess file, and add this to the very bottom:
    Code:
      SecFilterEngine Off
    3. Save the file and upload it to the server ... again, this is ONLY the /admin/.htaccess file
    (only in the ADMIN folder ... not in any other place)

    Now do your edits work?

    If so, then it's a configuration issue related to mod_security that's causing your problems.
    .

    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
    Aug 2006
    Posts
    30
    Plugin Contributions
    0

    Default Re: 403 Forbidden error when updating product

    THANK YOU!!! That did the trick!

    I wish I had asked earlier!

  6. #6
    Join Date
    Oct 2006
    Posts
    52
    Plugin Contributions
    0

    Default Re: 403 Forbidden error when updating product

    Just wanted to chime in and say you saved the day. As of today i was getting the same problem but that code fixed it. Thanks!

  7. #7
    Join Date
    Nov 2005
    Posts
    53
    Plugin Contributions
    0

    Default Re: 403 Forbidden error when updating product

    thanks for posting this fix !
    zencart installation is at http://oyinhandmade.com/shop

  8. #8
    Join Date
    Sep 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: 403 Forbidden error when updating product

    Heres another curly one - I only get the error in IE and not in Firefox........so it also would appear it has something to do with the way the browsers are interpreting the code!

  9. #9
    Join Date
    Dec 2007
    Posts
    6
    Plugin Contributions
    0

    Default Re: 403 Forbidden error when updating product

    Just read this thread and it's what I've been looking for.......worked like a dream, Thanks Dr Byte

  10. #10
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: 403 Forbidden error when updating product

    Remember that using the method described by DrByte is temporary.

    It allows you to finish what you were doing but then the Hoster should be contacted about the problem. Between the two of you, an exact solution can be worked out and the line can removed from your .htaccess file. Whille that line is there, you are losing the security provided by the Server Firewall, for anything within your Admin dir.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 4
    Last Post: 23 Mar 2015, 01:46 PM
  2. '403 Forbidden Error' when trying to download product
    By rlfreshwater in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 13 Sep 2008, 08:45 PM
  3. 403 forbidden error when trying to access admin
    By jsiperko in forum Basic Configuration
    Replies: 1
    Last Post: 13 Jun 2006, 02:56 AM

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