Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2010
    Posts
    133
    Plugin Contributions
    0

    Default Admin giving Permission Denied error: includes/modules/prod_cat_header_code.php

    I am setting up my first shopping cart and I chose Zen Cart. Everything is going fine until I select Catalog-Categories/Products I get this error...

    Warning: require(includes/modules/prod_cat_header_code.php) [function.require]: failed to open stream: Permission denied in /home/nohart/public_html/admin/categories.php on line 12

    Warning: require(includes/modules/prod_cat_header_code.php) [function.require]: failed to open stream: Permission denied in /home/nohart/public_html/admin/categories.php on line 12

    Fatal error: require() [function.require]: Failed opening required 'includes/modules/prod_cat_header_code.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nohart/public_html/admin/categories.php on line 12

    I re-upped categories.php but I still get the error. Does anyone know what may be wrong?

    Thanks in advance!

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

    Default Re: Admin giving Permission Denied error: includes/modules/prod_cat_header_code.php

    You're misreading the error message.

    categories.php is only *reporting* the error. The actual error is "Permission denied" ... while trying to access "/admin/includes/modules/prod_cat_header_code.php".

    And, a "permission denied" error suggests that the file exists but someone has set its permission access level too low for PHP to access it.
    .

    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
    Apr 2010
    Posts
    133
    Plugin Contributions
    0

    Default Re: Admin giving Permission Denied error: includes/modules/prod_cat_header_code.php

    Ok I think I am on to something... I deleted the folder Modules and re-uploaded it. Do you know what the permissions should be for the folder modules and the file prod_cat_header_code.php should be?

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

    Default Re: Admin giving Permission Denied error: includes/modules/prod_cat_header_code.php

    Standard permissions. Nothing special.
    .

    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
    Apr 2010
    Posts
    133
    Plugin Contributions
    0

    Default Re: Admin giving Permission Denied error: includes/modules/prod_cat_header_code.php

    ok thank you for your help! I re-up'd the modules folder and the issue has been resolved! Thanks again!

 

 

Similar Threads

  1. v150 PHP Fatal error: Out of memory in includes/modules/attributes.php
    By donnyb in forum General Questions
    Replies: 0
    Last Post: 6 Apr 2012, 12:15 AM
  2. PRODUCTS_QTY_BOX_STATUS in admin/includes/modules/*/collect_info.php
    By kamion in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 29 Mar 2011, 04:53 PM
  3. Replies: 1
    Last Post: 7 Mar 2008, 06:32 PM
  4. Error uploading images via admin - permission denied on Windows host
    By ronwong in forum Setting Up Categories, Products, Attributes
    Replies: 24
    Last Post: 6 Oct 2006, 05:13 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