8

This question already has an answer here:

I get this message from Drupal:

Warning: file_put_contents(temporary://file8vyLsO): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1900 of /home/donatelo/public_html/thenameofthesite.com/includes/file.inc).

The file could not be created.

I don't know what I did to cause this, can anyone help me?

marked as duplicate by kenorb, Pierre.Vriens, No Sssweat, Adrian Cid Almaguer, Scott Joudry Mar 21 '16 at 16:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

9

Make sure your temporary folder exists and is writeable.

See the file system settings at:

admin/config/media/file-system

  • Thanks, already did it. Actually, I erased my old path, from WAMP, before site was uploaded, and it works ok now. Thanks anyway. – natttan May 16 '14 at 1:29
0

The error happens, because your temporary directory is not writable by your web server user.

Check for details in Status report at: /admin/reports/status

If you're using drush, this may fix it:

drush vset file_temporary_path /tmp

Not the answer you're looking for? Browse other questions tagged or ask your own question.