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
    9,684
    Plugin Contributions
    123

    Default Re: Access Denied In Index.php

    Some hosts running PHP with phpsuexec require permissions 644 - is this the problem?
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. v139h Access Denied error at admin/customers.php
    By fakeDecoy in forum General Questions
    Replies: 5
    Last Post: 14 Sep 2015, 08:53 PM
  2. v150 Cannot access admin/index.php
    By jameyo in forum Upgrading to 1.5.x
    Replies: 8
    Last Post: 4 May 2012, 07:08 PM
  3. access denied on index.php
    By shadoh in forum General Questions
    Replies: 6
    Last Post: 31 Dec 2007, 10:12 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