Actually. no - I get the same error.

 

DD

 

From: [email protected]
[mailto:[email protected]] 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 <[email protected]> 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
[email protected]
http://mail.blueonyx.it/mailman/listinfo/blueonyx

 

_______________________________________________
Blueonyx mailing list
[email protected]
http://mail.blueonyx.it/mailman/listinfo/blueonyx

Reply via email to