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
-
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.
-
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
-
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
-
One last question.
What should be copied to the /usr/share/php directory ?
Luis
-
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
-
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.