Opened 5 years ago
Closed 5 years ago
#8308 closed defect (bug) (invalid)
Problem with uploading
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Upload | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: |
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.
Change History (1)
comment:1
jacobsantos — 5 years ago
- Milestone 2.7 deleted
- Resolution set to invalid
- Status changed from new to closed

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.