PDA

View Full Version : DirectAdmin + FreeBSD 7.0 php upload problem



leopold
01-06-2009, 01:30 AM
Hi!

I have DirectAdmin installed on FreeBSD 7.0 and I've installed joomla in my public_html folder...

My problem is that when I try to upload something throug Joomla administration it gives me error "There was an error uploading this file to the server." I've tried changing file upload size in php.ini but problem still occurs...

If you need more info on configuration of server, let me know...

Best regards Leo

scsi
01-06-2009, 08:09 AM
Im sure joomla has log files.

prodiac
01-07-2009, 10:34 AM
Hi!

I have DirectAdmin installed on FreeBSD 7.0 and I've installed joomla in my public_html folder...

My problem is that when I try to upload something throug Joomla administration it gives me error "There was an error uploading this file to the server." I've tried changing file upload size in php.ini but problem still occurs...

If you need more info on configuration of server, let me know...

Best regards Leo

open_basedir is enabled by default.
php.ini does not have upload_tmp_dir set, so it is using default of /var/tmp
/var/tmp is not allowed by default in open_basedir
edit php.ini, set the upload tmp dir to /tmp, and do the same for the session storage dir ..

That should help, provided this was a clean install and you hadn't already changed these things.