<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Actually… no - I get the same error.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>DD<o:p></o:p></span></p><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></a></p><p class=MsoNormal style='margin-left:36.0pt'><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> blueonyx-bounces@mail.blueonyx.it [mailto:blueonyx-bounces@mail.blueonyx.it] <b>On Behalf Of </b>Charles Bowman<br><b>Sent:</b> 27 April 2012 13:09<br><b>To:</b> BlueOnyx General Mailing List<br><b>Subject:</b> [BlueOnyx:10360] Re: open_basedir restriction in effect.<o:p></o:p></span></p><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'>Can you move the file paths of your scripts, to the "WEB\" folder:<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>/home/.sites/70/site4/product_list.csv & /home/.sites/70/site4/update_products.php<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>vs<o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'>/home/.sites/70/site4/web/product_list.csv & /home/.sites/70/site4/web/update_products.php<o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'>?<o:p></o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'> <o:p></o:p></p></div><div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p><div><p class=MsoNormal style='margin-left:36.0pt'>On 27 April 2012 12:39, DD <<a href="mailto:bqlist@distortal.com" target="_blank">bqlist@distortal.com</a>> wrote:<o:p></o:p></p><p class=MsoNormal style='margin-left:36.0pt'>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><o:p></o:p></p></div><p class=MsoNormal style='margin-left:36.0pt'><o:p> </o:p></p></div></div></body></html>