Results 1 to 10 of 10
  1. #1
    Join Date
    Feb 2009
    Posts
    4
    Plugin Contributions
    0

    Default Permission Error

    I finished the install and am not sure where I went wrong. When I try to access the path online I am getting the following error. And a similar error trying to access the admin path.

    Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/content/c/e/o/XXX/html/payment/index.php on line 26

    Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/content/c/e/o/XXX/html/payment/index.php on line 26

    Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/content/c/e/o/XXX/html/payment/index.php on line 26


    Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/content/c/e/o/XXX/html/payment/admin/index.php on line 23

    Warning: main(includes/application_top.php): failed to open stream: Permission denied in /home/content/c/e/o/XXX/html/payment/admin/index.php on line 23

    Fatal error: main(): Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/lib/php') in /home/content/c/e/o/XXX/html/payment/admin/index.php on line 23

  2. #2
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Permission Error

    It looks like your DIR_FS_CATALOG is incorrectly defined within the configure.php file. This should be '/home/content/c/e/o/XXX/html/payment/'. Also, your DIR_WS_CATALOG should be something like '/payment/', unless you are using ad-on domains or domain redirects.

    Take a look at line 26 of the index.php file, and echo out the required file path, and you'll see where the configure error is occuring.

    Absolute

  3. #3
    Join Date
    Feb 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Permission Error

    what is the difference between a ws and fs catalog?

  4. #4
    Join Date
    Feb 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Permission Error

    Quote Originally Posted by Absolute View Post
    It looks like your DIR_FS_CATALOG is incorrectly defined within the configure.php file. This should be '/home/content/c/e/o/XXX/html/payment/'. Also, your DIR_WS_CATALOG should be something like '/payment/', unless you are using ad-on domains or domain redirects.

    Take a look at line 26 of the index.php file, and echo out the required file path, and you'll see where the configure error is occuring.

    Absolute
    switched it and now i get

    Warning: main(/home/content/c/e/o/ceocioroadmap/html/payment/): failed to open stream: Success in /home/content/c/e/o/ceocioroadmap/html/payment/index.php on line 26

    Warning: main(/home/content/c/e/o/ceocioroadmap/html/payment/): failed to open stream: Success in /home/content/c/e/o/ceocioroadmap/html/payment/index.php on line 26

    Fatal error: main(): Failed opening required '/home/content/c/e/o/ceocioroadmap/html/payment/' (include_path='.:/usr/local/lib/php') in /home/content/c/e/o/ceocioroadmap/html/payment/index.php on line 26

  5. #5
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Permission Error

    FS is the FULL path so includes the /c/e/o part of the directory path. The WS is the path from your domain name, so /payment/.

    It still looks like you have one of the settings incorrect for these defines. I would suggest echoing out the require which is failing and seeing what the problem is there.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

  6. #6
    Join Date
    Feb 2009
    Posts
    4
    Plugin Contributions
    0

    Default Re: Permission Error

    Quote Originally Posted by Absolute View Post
    FS is the FULL path so includes the /c/e/o part of the directory path. The WS is the path from your domain name, so /payment/.

    It still looks like you have one of the settings incorrect for these defines. I would suggest echoing out the require which is failing and seeing what the problem is there.

    Absolute
    im not sure what you mean by "echoing"

  7. #7
    Join Date
    Feb 2009
    Location
    Thailand
    Posts
    50
    Plugin Contributions
    0

    Default Re: Permission Error

    Ive got the same problem, doesnt matter what I change the permissions to my site will only show with the warning and set at 7555.

    With includes at 6444 this is the error

    Warning: require(includes/application_top.php) [function.require]: failed to open stream: Permission denied in /home/blahblahblah/public_html/mysite.com/index.php on line 26

    Warning: require(includes/application_top.php) [function.require]: failed to open stream: Permission denied in /home/blah/public_html/mysite.com/index.php on line 26

    Fatal error: require() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blah/public_html/mysite.com/index.php on line 26
    Last edited by the_doomsayer; 13 Feb 2009 at 08:42 AM.
    iBook G4 10.5.6, Zen Cart 1.3.8, Cherry Zen theme
    Visit Asia Remedies
    Fluid Clothing

  8. #8
    Join Date
    Feb 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Permission Error

    I also get:
    Warning: main(includes/application_top.php) [function.main]: failed to open stream: Permission denied in /home/www/216.138.236.61/dmeikle/mydomain.com/htdocs/index.php on line 30

    Fatal error: main() [function.require]: Failed opening required 'includes/application_top.php' (include_path='.:/home/www/php/lib/php') in /home/www/216.138.236.61/dmeikle/mydomain.com/htdocs/index.php on line 30

    I've checked the exact path and it IS correct:
    /home/www/216.138.236.61/dmeikle/mydomain.com/htdocs/
    that IS the path to the web folder

    I've changed the permissions on the includes to 444 then 777 and back to 444 but I still get the same error. I tried hard coding the exact path in on line 30 but still received the same error code....

    ?

  9. #9
    Join Date
    Feb 2009
    Location
    Thailand
    Posts
    50
    Plugin Contributions
    0

    Default Re: Permission Error

    Just some extra info if needed. Im using HostPapa UK and the site is add on domain.
    iBook G4 10.5.6, Zen Cart 1.3.8, Cherry Zen theme
    Visit Asia Remedies
    Fluid Clothing

  10. #10
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Permission Error

    How did you check the exact path? It seems unual to have an IP address within the path, but if you say this is correct, then I'll believe you. To chek, you can always create a new file in the store folder, and just put <?php phpinfo(); ?> in it. This then gives you all the data you need.

    Absolute
    Back, after a 4 year absence! Did you miss me?
    Absolute Web Solutions Ltd
    Interested in our work? Take a look at one of our sites - The Tech Store

 

 

Similar Threads

  1. file permission error
    By dynaeon in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 2 Oct 2010, 06:01 AM
  2. Permission error
    By cgriff in forum Installing on a Windows Server
    Replies: 3
    Last Post: 28 Jun 2008, 05:17 PM

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