Closed (outdated)
Project:
Drupal core
Version:
8.2.x-dev
Component:
file system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2011 at 15:18 UTC
Updated:
22 Dec 2016 at 03:41 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
yaworsk commentedsubscribing.
Had this issue and updating line 1524 in file.inc resolved it. Not sure what detail is needed but I originally tried:
- 777 permissions on the tmp directory and sites/default/files directory, both unsuccessful.
- Turned off php safe mode in php.ini and was unsuccessful.
- created and defined a different temp directory via admin/config/media/file-system
- defined a temp directory in php.ini
I can also provide the modules installed if that helps...
pete
Comment #2
Anonymous (not verified) commentedThis patch was posted on the thread linked in the first issue and needs to be reviewed.
Comment #3
Anonymous (not verified) commentedComment #5
Anonymous (not verified) commentedComment #6
Anonymous (not verified) commentedComment #7
Anonymous (not verified) commented#2: drupal_realpath-1226786-2.patch queued for re-testing.
Comment #8
Anonymous (not verified) commentedPatch for 8.x-dev attached.
Comment #9
eric_a commentedThe patch from Akaoni in #109 of #1002048: Work around move_uploaded_file issues with safe_mode and open_basedir is similar to the one here. That issue has had reviews and is close to a definite RTBC status. It needs an issue summary and the patch itself needs a little polishing up. You're very welcome to join in over there!
Comment #10
Nnet commented#8: d8_drupal_realpath-1226786-8.patch queued for re-testing.
Comment #12
bensnyder commentedThis solved my problem in #1600610: Media allowed file size not used on file/add/upload. It took me more than 3 weeks of off and on debugging to find this core hack to temporarily fix the problem. I have many sites running on this VPS and this is the only D7 install that I have this problem. Weird!
Bumping to major.
Comment #13
bensnyder commentedComment #14
tim.plunkettNot sure that this qualifies as major.
Can someone post clear steps to reproduce in the issue summary?
Comment #15
jbrown commented#1002048: Work around move_uploaded_file issues with safe_mode and open_basedir
Comment #16
bensnyder commented@jbrown - not a duplicate since I am having this issue with a site and only the patch provided in #2 in *this issue* resolves the problem.
Comment #17
bensnyder commentedUpdated to latest Drupal core 7.x-dev today (which is the 7.15 code) and uploads started to fail again. After re-applying the fix in #2, I am able to upload files successfully again.
This is an anomaly to this one drupal site sitting on the VPS. I have about 20 other site on the VPS that all work fine without the patch.
Thoughts?
Comment #22
20th commented