C
crops
Guest
Hello,
i get the old error, move_uploaded_file(): open_basedir restriction in effect where on one of my domains i have done everything that is needed to ensure that my vhosts.conf file works correctly e.g.
<Directory /home/httpd/vhosts/DOMAIN/httpdocs>
php_admin_value open_basedir /home/httpd/vhosts/DOMAIN/httpdocs:/tmp:/usr/share/pear
php_admin_flag safe_mode 0
</Directory>
which is something thats created automatically with the creation of a domain with a shell script.
i've tried to edited again,manually and reconfigured apache again(with /usr/local/psa/admin/bin/websrvmng -u --vhost-name=DOMAIN) and restarted but no problem. My http.inlcude seems to be fine and has a reference to my .conf file
i have an .htaccess on the httpdocs directory that defines some directories dor inclusion and i have tried everything that is programmer possible to get a simple file upload to work ( ifeel stupid posting it here, but hope that someone has come accross smt similar)
The weird thing is that i have the FCK Editor that has a functionalitty to upload images and that doesnt have a problem at all.(i've tweacked it to create a thumbnail at the same time, which works fine) and I also used the umask option to get the permissions for the file fixed before moving it from the tmp folder to my folder, but nothing....
these settings worked for all my sites until now (they still work on other sites...)
does anyone has any suggestions?
much appreciated
i get the old error, move_uploaded_file(): open_basedir restriction in effect where on one of my domains i have done everything that is needed to ensure that my vhosts.conf file works correctly e.g.
<Directory /home/httpd/vhosts/DOMAIN/httpdocs>
php_admin_value open_basedir /home/httpd/vhosts/DOMAIN/httpdocs:/tmp:/usr/share/pear
php_admin_flag safe_mode 0
</Directory>
which is something thats created automatically with the creation of a domain with a shell script.
i've tried to edited again,manually and reconfigured apache again(with /usr/local/psa/admin/bin/websrvmng -u --vhost-name=DOMAIN) and restarted but no problem. My http.inlcude seems to be fine and has a reference to my .conf file
i have an .htaccess on the httpdocs directory that defines some directories dor inclusion and i have tried everything that is programmer possible to get a simple file upload to work ( ifeel stupid posting it here, but hope that someone has come accross smt similar)
The weird thing is that i have the FCK Editor that has a functionalitty to upload images and that doesnt have a problem at all.(i've tweacked it to create a thumbnail at the same time, which works fine) and I also used the umask option to get the permissions for the file fixed before moving it from the tmp folder to my folder, but nothing....
these settings worked for all my sites until now (they still work on other sites...)
does anyone has any suggestions?
much appreciated