Koozali.org: home of the SME Server

Writeable Session Save Path (/tmp) error

Offline paul_NZ

  • ****
  • 79
  • +0/-0
    • http://www.csssnz.com
Writeable Session Save Path (/tmp) error
« 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.

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Writeable Session Save Path (/tmp) error
« Reply #1 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
If you think you know whats going on, you obviously have no idea whats going on!

Offline paul_NZ

  • ****
  • 79
  • +0/-0
    • http://www.csssnz.com
Resolved - although not correctly
« Reply #2 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

gatox

Tried crazybob's tip but still doesn't work.
« Reply #3 on: May 17, 2005, 04:41:00 PM »
One last question.

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

Luis

ztasevski

Re: Writeable Session Save Path (/tmp) error
« Reply #4 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

silasp

Writeable Session Save Path (/tmp) error
« Reply #5 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.