Forums / General Questions / Access Denied In Index.php

Access Denied In Index.php

Locked

Started by misty16 on 31 Dec 2007, 11:24 AM · Views: 2,472

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
31 Dec 2007, 11:24 AM
#1
misty16 avatar

misty16

Zen Follower

Join Date:
Sep 2006
Posts:
111
Plugin Contributions:
0

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?:frusty:

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

31 Dec 2007, 11:37 AM
#2
misty16 avatar

misty16

Zen Follower

Join Date:
Sep 2006
Posts:
111
Plugin Contributions:
0

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.
31 Dec 2007, 2:56 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,751
Plugin Contributions:
56

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 Support
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.