Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2006
    Posts
    111
    Plugin Contributions
    0

    Default Access Denied In Index.php

    After a new install of zencart and have had my old database imported to my new zen store.......

    When I now go to either create an account or log in I get this error.........Not sure why I get this now.....before was just a blank screens. I have checked my index.php on line 36 this is what is there require($code_page_directory . '/' . $value);

    Any Clues????????? what would be the code_page_directory?

    The error:

    Warning: main(includes/modules/pages/login/header_php.php) [function.main]: failed to open stream: Permission denied in /home/directory/public_html/mystore/newstore/index.php on line 36

    Warning: main(includes/modules/pages/login/header_php.php) [function.main]: failed to open stream: Permission denied in /home/directory/public_html/mystore/newstore/index.php on line 36

    Fatal error: main() [function.require]: Failed opening required 'includes/modules/pages/login/header_php.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/directory/public_html/mystore/newstore/index.php on line 36

  2. #2
    Join Date
    Sep 2006
    Posts
    111
    Plugin Contributions
    0

    Default Re: Access Denied In Index.php

    I have noticed that just above the line 36 where it says the error is.......It tells where the code is kept...... Is there an answer in that?


    * We now load header code for a given page.
    * Page code is stored in includes/modules/pages/PAGE_NAME/directory
    * 'header_php.php' files in that directory are loaded now.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    4,479
    Plugin Contributions
    121

    Default Re: Access Denied In Index.php

    Some hosts running PHP with phpsuexec require permissions 644 - is this the problem?
    Scott C Wilson, That Software Guy, Plugin Moderator
    Contributions: Quantity Discounts, Better Together, SMS on Sale, Gift Wrap at Checkout, and more.

 

 

Similar Threads

  1. access denied on index.php
    By shadoh in forum General Questions
    Replies: 6
    Last Post: 31 Dec 2007, 10:12 PM
  2. Developer's Toolkit errors. :(
    By wondergirl in forum General Questions
    Replies: 8
    Last Post: 6 Sep 2006, 01:22 AM
  3. Access Denied when adding items to cart!
    By AmyBryant in forum General Questions
    Replies: 0
    Last Post: 6 Jul 2006, 04:52 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
  •