<div class="gmail_extra">Can you move the file paths of your scripts, to the "WEB\" folder:</div><div class="gmail_extra">/home/.sites/70/site4/product_list.csv & /home/.sites/70/site4/update_products.php</div>
<div class="gmail_extra">vs</div><div class="gmail_extra">/home/.sites/70/site4/web/product_list.csv & /home/.sites/70/site4/web/update_products.php</div>?<br class="Apple-interchange-newline"><div class="gmail_extra">
 </div><div class="gmail_extra"><br><div class="gmail_quote">On 27 April 2012 12:39, DD <span dir="ltr"><<a href="mailto:bqlist@distortal.com" target="_blank">bqlist@distortal.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
<br>
Using 5108R, I have a CSV file at /home/.sites/70/site4/product_list.csv and<br>
am trying to parse it using a script in the same folder, but get the<br>
message:<br>
<br>
        PHP Warning:  file_exists(): open_basedir restriction in effect.<br>
File(/home/.sites/70/site4/product_list.csv) is not within the allowed<br>
path(s):        (/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/) in<br>
/home/.sites/70/site4/update_products.php on line 12<br>
<br>
In the server admin panel for this site, Open basedir is set to:<br>
<br>
<br>
/tmp/:/var/lib/php/session/:/usr/sausalito/configs/php/:/home/.sites/70/site<br>
4/<br>
<br>
I would have thought that last path would allow it to run but this doesn't<br>
seem to be the case.  I've tried adding /home/sites/<thedomain>/ to this as<br>
well but no joy. The script tries to access the file via its full server URL<br>
because it runs through via crontab.<br>
<br>
In addition, how do we turn off Safe Mode for a site on 5108R?<br>
<br>
<br>
Dick Dolby<br>
<br>
<br>
_______________________________________________<br>
Blueonyx mailing list<br>
<a href="mailto:Blueonyx@mail.blueonyx.it">Blueonyx@mail.blueonyx.it</a><br>
<a href="http://mail.blueonyx.it/mailman/listinfo/blueonyx" target="_blank">http://mail.blueonyx.it/mailman/listinfo/blueonyx</a><br>
</blockquote></div><br></div>