Koozali.org: home of the SME Server

SME / Virtuamart / Joomla / tmp problem

seabro

SME / Virtuamart / Joomla / tmp problem
« 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

Offline judgej

  • *
  • 375
  • +0/-0
Re: SME / Virtuamart / Joomla / tmp problem
« Reply #1 on: November 22, 2006, 01:00:41 AM »
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
-- Jason

Offline jjcuk

  • *
  • 90
  • +0/-0
SME / Virtuamart / Joomla / tmp problem
« Reply #2 on: December 09, 2006, 09:13:06 PM »
Thanks Sean  that worked
Regards
Jim C

Offline Rien

  • *
  • 216
  • +0/-0
    • http://www.taurix.nl
SME / Virtuamart / Joomla / tmp problem
« Reply #3 on: December 12, 2006, 01:44:11 AM »
Hi,

I did the following:

Code: [Select]
/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?
Rien
(The Netherlands)......