2

I am very new to open atrium. I installed Open Atrium and now the home page is not loading properly. Instead I have the following error:

Warning: file_put_contents(temporary://fil29F1.tmp): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1936 of C:\wamp\www\openatrium\includes\file.inc). The file could not be created.

4
  • 1
    Check for permissions related errors at /admin/reports/status and make sure your permissions are set properly for your /tmp and /sites/default/files/* directories. Commented Apr 17, 2015 at 19:11
  • Please indicate how I can check the the reports because the openatrium home page does not load. what permissions should be on the sites/default/files directories?
    – Nicole Cox
    Commented Apr 20, 2015 at 15:18
  • Warning: file_put_contents(temporary://fil4AAC.tmp): failed to open stream: "DrupalTemporaryStreamWrapper::stream_open" call failed in file_unmanaged_save_data() (line 1936 of C:\wamp\www\openatrium\includes\file.inc). The file could not be created. What does the above error mean?
    – Nicole Cox
    Commented Apr 20, 2015 at 15:20
  • @NicoleCox it means it could not save a file. Based on DrupalTemporaryStreamWrapper, I'm going to guess an issue writing to the temp folder like @PatrickRyan said. If you can't use the current folder, check @D.vasanth Kumar's answer on how to change it via the UI.
    – rovr138
    Commented Feb 19, 2017 at 22:49

2 Answers 2

0

Try this

open -> admin/config/media/file-system

Change Temporary directory -> sites/default/files

enter image description here

1
  • This is a bad idea if you have any private files as it means temporary copies of them that may not have been deleted yet will be publicly accessible. The temporary file area should be outside your webroot OR at the very least in a folder that's protected by .htaccess or equivalent. Commented Jul 12, 2018 at 8:58
0

Another option, if this where to happen during installation, is adding,

$conf['file_temporary_path'] = 'sites/all/files/tmp'

To the settings.php file and making sure that the folder exists and the permissions are correct.

This is assuming that you can't use /tmp for some reason.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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