[BlueOnyx:10361] Re: open_basedir restriction in effect.

DD bqlist at distortal.com
Fri Apr 27 07:40:18 -05 2012


Actually. no - I get the same error.

 

DD

 

From: blueonyx-bounces at mail.blueonyx.it
[mailto:blueonyx-bounces at mail.blueonyx.it] On Behalf Of Charles Bowman
Sent: 27 April 2012 13:09
To: BlueOnyx General Mailing List
Subject: [BlueOnyx:10360] Re: open_basedir restriction in effect.

 

Can you move the file paths of your scripts, to the "WEB\" folder:

/home/.sites/70/site4/product_list.csv &
/home/.sites/70/site4/update_products.php

vs

/home/.sites/70/site4/web/product_list.csv &
/home/.sites/70/site4/web/update_products.php

?

 

 

On 27 April 2012 12:39, DD <bqlist at distortal.com> wrote:

Hi All,

Using 5108R, I have a CSV file at /home/.sites/70/site4/product_list.csv and
am trying to parse it using a script in the same folder, but get the
message:

       PHP Warning:  file_exists(): open_basedir restriction in effect.
File(/home/.sites/70/site4/product_list.csv) is not within the allowed
path(s):        (/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/) in
/home/.sites/70/site4/update_products.php on line 12

In the server admin panel for this site, Open basedir is set to:


/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/:/home/.sites/70/site
4/

I would have thought that last path would allow it to run but this doesn't
seem to be the case.  I've tried adding /home/sites/<thedomain>/ to this as
well but no joy. The script tries to access the file via its full server URL
because it runs through via crontab.

In addition, how do we turn off Safe Mode for a site on 5108R?


Dick Dolby


_______________________________________________
Blueonyx mailing list
Blueonyx at mail.blueonyx.it
http://mail.blueonyx.it/mailman/listinfo/blueonyx

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20120427/14da837a/attachment.html>


More information about the Blueonyx mailing list