Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: paul_NZ on May 13, 2005, 12:04:17 PM

Title: Writeable Session Save Path (/tmp) error
Post by: paul_NZ on May 13, 2005, 12:04:17 PM
Started with a stock install of 6.0.1-01, everything fully functional.

Attempted and install of SugarCRM into an ibay (as I did in a 5.6 server). SugarCRM reported it requires PHP4.2 or higher so went to http://sme.swerts-knudsen.dk/ and downloaded his php4.3.8 upgrade script and ran.

Upgrade worked fine and systems remains functional EXCEPT that SugarCRM now reports "Writeable Session Save Path (/tmp)" as not being a Valid Directory.

I have run /sbin/e-smih/db accounts delprop my_ibay_name PHPBaseDir / and the signal-event ibay-modify, in case it was related ... still no joy.

I have also run this script as http://<server>/<scriptname>.php?dir=/tmp

<?php
echo "<b>{$_GET['dir']}</b><br>";
echo (is_dir($_GET['dir'])) ? "is valid directory" : "invalid directory";
echo "<br>";
echo (is_writable($_GET['dir'])) ? "writable" : "not writable";
?>

which reports

/tmp
invalid directory
not writable

Any help appreciated and yes I have tried searching for a solution here but haven't found anything related.
Title: Writeable Session Save Path (/tmp) error
Post by: crazybob on May 13, 2005, 02:37:29 PM
Had similar problem with another piece of software.

Do a search on open_basedir

Check out http://forums.contribs.org/index.php?topic=23537.msg93834#msg93834

Bob
Title: Resolved - although not correctly
Post by: paul_NZ on May 14, 2005, 04:54:09 AM
Quote from: "crazybob"
Had similar problem with another piece of software.

Do a search on open_basedir

Check out http://forums.contribs.org/index.php?topic=23537.msg93834#msg93834

Bob


Tried a number of the items mentioned in this link and others (thanks to 'crazybob's' tip) and finally resolved it by disabling the the PHP sandbox feature.

Cheers
Title: Tried crazybob's tip but still doesn't work.
Post by: gatox on May 17, 2005, 04:41:00 PM
One last question.

What should be copied to the /usr/share/php directory ?

Luis
Title: Re: Writeable Session Save Path (/tmp) error
Post by: ztasevski on May 31, 2005, 05:56:06 AM
Quote from: "paul_NZ"
Started with a stock install of 6.0.1-01, everything fully functional.

Attempted and install of SugarCRM into an ibay (as I did in a 5.6 server). SugarCRM reported it requires PHP4.2 or higher so went to http://sme.swerts-knudsen.dk/ and downloaded his php4.3.8 upgrade script and ran.


Hi Paul,

Did you have any success with SugarCRM on SME ?

Zoran
Title: Writeable Session Save Path (/tmp) error
Post by: silasp on February 22, 2006, 08:30:26 AM
Hello.

Another way to fix the "tmp: invalid directory" error with Sugar CRM.
Enter these two commands at the shell:

/sbin/e-smith/db accounts setprop <ibay_name> PHPBaseDir /home/e-smith/files/ibays/<ibay_name>/:/tmp

/sbin/e-smith/signal-event ibay-modify <ibay_name>

Substitute the name of the ibay you are installing into for <ibay_name>

cheers,
Silas.

P.S. Still trying to work out how to install cURL library. Will get back to you.