I was unknowingly using Drupal with PHP's safe_mode directive enabled and this caused all sorts of problems related to temporary file creation and manipulation. I did not realize the problem until I tried to change temporary:// to /tmp and encountered http://drupal.org/node/129347

If this is a normal result of having safe_mode enabled, the Status Report should complain about safe_mode.

Comments

devin carlson’s picture

Title: PHP Safe Mode breaks Drupal functionality without warning » Add PHP's safe_mode status to the report page
Version: 7.0-beta2 » 8.x-dev
Component: base system » system.module
Category: bug » task

The Drupal system requirements (http://drupal.org/requirements) do specify:

safe_mode: off. Safe mode may interfere with file and image uploads.

But I agree that it would be a good idea to list safe_mode's status on the report page as uploading files and images is a common thing to do.

patrickd’s picture

Status: Active » Closed (won't fix)

Drupal 8 will currently not even install with safe_mode enabled - so it makes more sense to check that requirement early in the installation process than putting it on the status report page

(If safe_mode is on, the status report page will currently not even load)

I'd close this issue as not necessary,
see #1959062: Check safe_mode = Off requirement early