Opened 18 years ago
Closed 18 years ago
#8308 closed defect (bug) (invalid)
Problem with uploading
| Reported by: | sekundek | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upload | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Appears to be server issue. Check with support forums and if it is concluded to be a WordPress issue, reopen ticket or open better named ticket with better description for solving the problem.