Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2005
    Location
    Massachusetts
    Posts
    156
    Plugin Contributions
    0

    Default Debug mode or error message setting

    I'm having the following problem - I had a php programmer make some minor customization of the product_display page I can no longer enter new products. The page just refreshes but the product is not in the catalog. I get the following error - "Forbidden - You don't have permission to access /catalog/admin/product.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. "

    mY host sent this server error log:

    "[Wed Jul 16 04:17:39 2008] [alert] [client 91.202.129.254] /home/prestonr/public_html/catalog/admin/.htaccess: AllowOverride not allowed here

    [Wed Jul 16 04:18:06 2008] [error] [client 91.202.129.254] mod_security: Access denied with code 403. read_post_payload: Failed to create file "/home/aardwolf/tmp/20080716-041806-91.202.129.254-request_body-4CpDRo" because 13("Permission denied") [severity "EMERGENCY"] [hostname "prestonribbons.com"] [uri "/catalog/admin/categories.php?action=insert_category&cPath="]

    My PHP programmer and I have both searched the ZenCart files and can find no reference to "/home/aardwolf/tmp/20080716-041806-91.202.129.254-request_body-4CpDRo"

    Is there a debug mode or error log specifically for ZenCart?

    Thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: Debug mode or error message setting

    That's not a Zen Cart thing. That's a mod_security error generated by your webserver.

    mod_security is a system that prevents people from entering potentially-harmful data on webpages. Specifically in your case it is disliking one or more pieces of data you've entered in one of the input fields ... probably URLs.

    You can try disabling mod_security by putting this in your /admin/.htaccess file:
    Code:
    SecFilterInheritance Off
    or this:
    Code:
    SecFilterScanPOST Off
    If that doesn't work, you'll need to talk to your hosting company for specific assistance about ways in which *they* will allow you to override mod_security filters in your admin area.
    .

    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
    Jun 2005
    Location
    Massachusetts
    Posts
    156
    Plugin Contributions
    0

    Default Re: Debug mode or error message setting

    Thanks DrByte - tried this and it didn't work. I'm getting in touch with my host.

  4. #4
    Join Date
    Jul 2008
    Posts
    3
    Plugin Contributions
    0

    Idea or Suggestion Re: Debug mode or error message setting

    I seem to have cured it by toggling to source code and changing the entity like Copyright or Registered to its source entity name like copyright=© registered=® ...you can find entity names and numbers here http://www.w3schools.com/html/html_entities.asp

 

 

Similar Threads

  1. Error Message when setting up Option Values
    By Printcess in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 11 Dec 2011, 03:51 PM
  2. Paypal IPN order email confirmation problem when debug mode on
    By carol in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 15 Jun 2009, 05:58 PM
  3. debug error message
    By sumri in forum General Questions
    Replies: 3
    Last Post: 25 Mar 2008, 04:14 PM
  4. PayPal IPN (debug mode active)
    By 10anniavanti in forum Addon Payment Modules
    Replies: 2
    Last Post: 11 Mar 2008, 01:55 AM
  5. error message setting attributes
    By Muggs in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 12 Oct 2006, 01:37 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