DirectAdmin + FreeBSD 7.0 php upload problem

leopold

New member
Joined
Jan 6, 2009
Messages
1
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
 

prodiac

Verified User
Joined
Jun 17, 2004
Messages
7
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.
 
Top