Page 1 of 3 123 LastLast
Results 1 to 10 of 28
  1. #1
    Join Date
    Sep 2004
    Posts
    120
    Plugin Contributions
    0

    Default open_basedir restrictions

    I have found this in many archive post, that has link to some fix. But url is from old forum, so it does not work. Can anyone please show me the right path to get fix for install error on PHP open_basedir restrictions = /home/usr/lib/php:/usr/local/lib/php:/tmp

    Also. what does .htaccess in install dir do? I had to rename it so i could get install to work. Otherwise i get internal server error. Why is that?

    Tnx

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Re: open_basedir restrictions

    The orange "open-basedir" WARNING message is not an error. Installation should proceed fine if you're only getting the warning in orange letters.

    If you're getting a PHP error about "foreach basedir" at the top of the System Inspection page, then you need to upgrade to v1.3.0.1 which contains several code fixes.
    Latest version is here: http://sourceforge.net/project/showf...kage_id=171544
    .

    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.

  3. #3
    Join Date
    Apr 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: open_basedir restrictions

    What if its not in orange but in red with a big "X" next to it. I host from godaddy and im doing an upgrade from 1.27 - 1.3.0.1.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: open_basedir restrictions

    Quote Originally Posted by cloakendagger
    What if its not in orange but in red with a big "X" next to it. I host from godaddy and im doing an upgrade from 1.27 - 1.3.0.1.
    Then it likely suggests a potential problem. Can you post the actual results here?
    Does it let you proceed with upgrading?
    .

    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.

  5. #5
    Join Date
    Apr 2006
    Posts
    22
    Plugin Contributions
    0

    Default Re: open_basedir restrictions

    PHP open_basedir restrictions = /usr/local/psa/home/vhosts/dakotafiresupply.com/httpdocs:/tmp

    It seems to install correctly but Im just wondering if its anything to worry about.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: open_basedir restrictions

    In theory, the restrictions list:
    /usr/local/psa/home/vhosts/dakotafiresupply.com/httpdocs:/tmp

    should contain a subset of your actual path(Path_Translated ), which in theory would be:
    /usr/local/psa/home/vhosts/dakotafiresupply.com/httpdocs

    In which case, there would be no problem.
    .

    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
    May 2006
    Posts
    14
    Plugin Contributions
    0

    Default Re: open_basedir restrictions

    Quote Originally Posted by DrByte
    In theory, the restrictions list:
    /usr/local/psa/home/vhosts/dakotafiresupply.com/httpdocs:/tmp

    should contain a subset of your actual path(Path_Translated ), which in theory would be:
    /usr/local/psa/home/vhosts/dakotafiresupply.com/httpdocs

    In which case, there would be no problem.
    Using a similar advice doesn't work on my site. The original open_basedir is:
    /tmp:/var/tmp:/usr/local/bin:/usr/local/lib/php:/home/myusername

    I put this line in my .htaccess file:

    php_admin_value open_basedir \
    "/home/myusername/mysite.com/www/html/shop:/tmp:/var/tmp:/usr/local/bin:/usr/local/lib/php:/home/myusername"


    The screeen throws back a "500" error unles I comment out that line in the .htaccess file.

  8. #8
    Join Date
    Apr 2005
    Location
    Wales
    Posts
    58
    Plugin Contributions
    0

    Default Re: open_basedir restrictions

    I have the following (in red):
    PHP open_basedir restrictions = /home/diyfavou/:/usr/lib/php:/usr/local/lib/php:/tmp

    When I try to continue and install I get the following error:

    Warning: main(includes/templates/template_default/templates/database_setup_default.php): failed to open stream: No such file or directory in /home/diyfavou/public_html/newstore/zc_install/includes/templates/template_default/common/tpl_main_page.php on line 29

    Warning: main(includes/templates/template_default/templates/database_setup_default.php): failed to open stream: No such file or directory in /home/diyfavou/public_html/newstore/zc_install/includes/templates/template_default/common/tpl_main_page.php on line 29

    Fatal error: main(): Failed opening required 'includes/templates/template_default/templates/database_setup_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/diyfavou/public_html/newstore/zc_install/includes/templates/template_default/common/tpl_main_page.php on line 29

    I have installed Zen loads of times, but am stumped with this...

    Sara
    DIY Favour Boxes
    One Eyed Cat
    I've been Zenned - how come I still have to think?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: open_basedir restrictions

    What does your "path_translated" setting show?

    Can you post a URL to your zc_install/techsupp.php ?
    I'm interested in seeing what your PHP "include_path" is set to.
    .

    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.

  10. #10
    Join Date
    Apr 2005
    Location
    Wales
    Posts
    58
    Plugin Contributions
    0

    Default Re: open_basedir restrictions

    Path_Translated = /home/diyfavou/public_html/newstore/zc_install/index.php

    URL: http://www.diyfavourboxes.co.uk/news...l/techsupp.php
    DIY Favour Boxes
    One Eyed Cat
    I've been Zenned - how come I still have to think?

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v154 Php open_basedir restrictions & PHP output buffering (gzip) off
    By bearlymakinit in forum Installing on a Windows Server
    Replies: 0
    Last Post: 5 May 2015, 08:41 PM
  2. Replies: 1
    Last Post: 15 Jun 2012, 05:43 PM
  3. open_basedir restrictions - can't get into installation?
    By sidd in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 9 Dec 2008, 05:21 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