Thread: warning

Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2007
    Posts
    4
    Plugin Contributions
    0

    Default warning

    hi,im newb here..
    im having problem with the installation..
    when im trying to do the installation..
    this warning occur.. >>

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(//includes/classes) is not within the allowed path(s): (/home/directw/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/directw/public_html/includes/application_top.php on line 67

    Warning: Cannot modify header information - headers already sent by (output started at /home/directw/public_html/includes/application_top.php:67) in /home/directw/public_html/includes/application_top.php on line 67

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/includes/classes/class.base.php) is not within the allowed path(s): (/home/directw/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/directw/public_html/includes/autoload_func.php on line 60

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/includes/classes/class.notifier.php) is not within the allowed path(s): (/home/directw/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/directw/public_html/includes/autoload_func.php on line 60

    Fatal error: Class 'notifier' not found in /home/directw/public_html/includes/autoload_func.php on line 79

    can anyone please help me..

  2. #2
    Join Date
    Mar 2007
    Posts
    56
    Plugin Contributions
    0

    Default Re: warning

    basedir (base directory) is an apache permission feature that is set on your server to restrict so that other users on teh server cannot access your account files

    What may be happening is that you are trying to install Zencart with teh wrong user permissions. This easily happens if using FTP or access details that are not in sync with your basedir.

    Or if you are using shell access, e.g. on a VPS, then you have logged into the shell session using the server root account details and not the login details of the account you created for that domain.

    What you need to do is to try logging into teh shell, FTP program or whatever else you are using, with the account details created for that domain, i.e. username and password.

    Atleast that will have eliminated one problem. Then see what the message output is.

  3. #3
    Join Date
    Oct 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: warning

    k..let me try

  4. #4
    Join Date
    Oct 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: warning

    ok now the problem solve..i can go to installation wizard..but during zen chart setup inspection..this warning came in.. >>

    php open_basedir restrictions = /home/directw/:/usr/lib/php:/usr/local/lib/php:/tmp
    php output_buffering(gzip)=off

    any problem with it?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: warning

    Have you installed by running yoursite.com/zc_install/index.php yet?

    The error messages you mention suggest that your configure.php files contain incomplete data.

    Either that or your server's PHP setting for "include_path" doesn't contain a '.' reference and thus is treating everything as literal paths instead of relative to the current working directory. You might be able to override this with a custom php.ini file.

    Which PHP version are you using?
    .
    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.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: warning

    Quote Originally Posted by fesick View Post
    during zen chart setup inspection..this warning came in.. >>

    php open_basedir restrictions = /home/directw/:/usr/lib/php:/usr/local/lib/php:/tmp
    php output_buffering(gzip)=off

    any problem with it?
    In most cases you should be safe to proceed and ignore those warnings.
    If you encounter errors later, these warnings may be an indicator about "why".
    .
    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.

  7. #7
    Join Date
    Oct 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: warning

    thank you DrByte..

  8. #8
    Join Date
    Mar 2007
    Posts
    56
    Plugin Contributions
    0

    Default Re: warning

    Quote Originally Posted by fesick View Post
    ok now the problem solve..i can go to installation wizard..but during zen chart setup inspection..this warning came in.. >>

    php open_basedir restrictions = /home/directw/:/usr/lib/php:/usr/local/lib/php:/tmp
    php output_buffering(gzip)=off

    any problem with it?
    That warning appears because of the restrictions brought in by basedir. Your server uses a directory named "tmp" which means temporary, to store things like php sessions. This folder can be shared by all accounts on the server.

    Because basedir is in force, it shows you that message, that there are restrictions to accessing that file that is outside your account. But since you are not executing scripts in the “tmp” folder, this is normally not a problem.

    As DrByte said, it should work fine, but if you develop a problem, contact your host so that a php.ini file that has settings for your environment can be copied to your account area. Then create a "tmp" folder within your account and set the path in the php.ini to point to this "tmp" folder instead of the default "tmp" file path. That should solve any problem.

    But for now, as long as your site is running well, you can ignore this.

 

 

Similar Threads

  1. Replies: 10
    Last Post: 31 Oct 2015, 08:09 PM
  2. Replies: 8
    Last Post: 19 Sep 2012, 03:37 AM
  3. Replies: 1
    Last Post: 10 Dec 2010, 09:48 PM
  4. Replies: 1
    Last Post: 12 Dec 2008, 07:00 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