<div dir="ltr"><span style="background-color:rgb(251,251,251);color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px">Hi, </span><br><div class="gmail_quote"><div dir="ltr">
<p style="margin-right:0px;margin-bottom:15px;margin-left:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251);margin-top:0px!important">
I'm installing SpotWeb on my 5108R installation and I'm getting an 'open_basedir' error.</p><p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">

When I attempt to login, run a PHP script from the CLI (php retrieve.php) I get a Open_basedir error. </p><p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">

So I thought it was a permissions problem, but it nows look to be PHP config related.</p><p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">

So some information first:<br>Path to SpotWeb files: /home/.sites/143/site2/web<br>open_basedir values from from info.php:<br>Local Value: /var/lib/php/session/:/usr/sausalito/configs/php/:home/.sites/143/site2<br>Master Value: /tmp/:user/sausalito/configs/php/:/var/lib/php/session/</p>

<p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">Permissions:  </p><p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">

Owner: apache</p><p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">Group:site2</p>

<p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)"><br></p><p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">

Here's the error when attempting to run: php /home/.sites/143/site2/web/upgrade-db.php</p><p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">

PHP Warning: chdir(): open_basedir restriction in effect. File(/home/.sites/143/site2/web) is not within the allowed path(s): (/tmp/:/usr/sausalito/configs/php/:/var/lib/php/session/) in /home/.sites/143/site2/web/upgrade-db.php on line 10<br>

PHP Warning: require_once(): open_basedir restriction in effect. File(/home/.sites/143/site2/web/lib/SpotClassAutoload.php) is not within the allowed path(s): (/tmp/:/usr/sausalito/configs/php/:/var/lib/php/session/) in /home/.sites/143/site2/web/upgrade-db.php on line 13<br>

PHP Warning: require_once(/home/.sites/143/site2/web/lib/SpotClassAutoload.php): failed to open stream: Operation not permitted in /home/.sites/143/site2/web/upgrade-db.php on line 13<br>PHP Fatal error: require_once(): Failed opening required 'lib/SpotClassAutoload.php' (include_path='.:/usr/share/pear:/usr/share/php') in /home/.sites/143/site2/web/upgrade-db.php on line 13</p>

<p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">This would suggest an issue with the PHP config.... I think. Do anyone have any ideas??</p>

<p style="margin:15px 0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251)">Many thanks,</p><p style="margin-top:15px;margin-right:0px;margin-left:0px;padding:0px;border:0px;color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif;font-size:13px;line-height:22px;background-color:rgb(251,251,251);margin-bottom:0px!important">

Simon.</p></div>
</div><br></div>