Problem with uploading
|Reported by:||sekundek||Owned by:|
When I upload photos, I sometimes get error "Failed to write file to disk". But trying the same file again with same settings It succeed. Sometimes I need to try it several times. I'm using php 5.2.6. Permissions are correctly set, but in php error log is printed:
PHP Warning: Unknown: open_basedir restriction in effect. File(/var/tmp) is not within the allowed path(s): (/home/currentuser) in Unknown on line 0
[22-Nov-2008 16:38:34] PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
Where is this "/var/tmp" came from because the upload_tmp_dir ini setting is set to directory inside this open_basedir. Strange this does not happened all the time.