Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: seabro on November 19, 2006, 10:37:54 PM
-
Hi,
I have been struggling for hours trying to work this one out and having read pages and pages of this site and others, I learned the following.
Hopefully, this will help any others trying to get joomla / virtuamart and SME to work.
When I installed joomla/virtuamart I was 'warned' /tmp was not writeable. So I used CHMOD 777 /tmp. This did not work.
Eventually, the following did work.
[root@e-smith ]# /sbin/e-smith/db accounts setprop youribayname PHPBaseDir /home/e-smith/files/ibays/youribayname/:/tmp/
[root@e-smith ]# /sbin/e-smith/signal-event ibay-modify youribayname
This will allow PHP to write to your /tmp directory.
I hope this helps,
seabro
-
This comes up over and over - *don't* open up /tmp for access to PHP. *do* fix the applications that are trying to read and write /tmp
This page explains it all:
http://us2.php.net/manual/en/function.move-uploaded-file.php
*do* raise this requirement as a bug with Joomla/phprojekt/virtuamart/etc.
-- JJ
-
Thanks Sean that worked
-
Hi,
I did the following:
/sbin/e-smith/db accounts setprop ibayname PHPBaseDir /home/e-smith/files/ibays/ibayname/:/tmp
/sbin/e-smith/signal-event ibay-modify ibayname
where "ibayname" is the name of the ibay.
I don't speak english very well. Can you explain why that's the wrong way?