php - Drupal 7 - file.inc - file_put_contents(temporary://fileXXXXXX): failed to open stream -
this question has answer here:
- file system not writable 3 answers
using mac os x yosemite, apache, php 5.5.14, mysql 5.6.19, drupal 7.32
drupal failing write due bad file path. bad file path temporary://filexxxxxx
. cannot understand why drupal failing convert temporary://
/tmp
.
i have configured temporary files directory via drupal admin ui, , confirmed it's modification in db...
select * variable name '%temporary_path'; +---------------------+------------+ | name | value | +---------------------+------------+ | file_temporary_path | s:4:"/tmp" | +---------------------+------------+
...and cleared caches in case; however, no avail. i've confirmed permissions on /tmp
in case: drwxrwxrwt
.
as well, when switching master branch via git and using fresh copy of db (sql dump production) - issue persists.
the errors formatted follows...
/.../includes/file.inc:1941 file_put_contents(temporary://filexxxxxx): failed open stream: "drupaltemporarystreamwrapper::stream_open" call failed
the issue isolated local environment , not effecting shared environments; however, thwarting work progress. suggestions appreciated. thank you.
i went admin/config/media/file-system , saved configuration. admin/config/development/performance , clear caches. voila error message gone.
Comments
Post a Comment