Problems with a Drupal 7.0 installation when changing the Bartik theme: PHP safe mode

If you get an error message like the following when changing the color scheme / color set of the Bartik theme in Drupal 7 you might have PHP Safe Mode enabled.

* The specified file themes/bartik/logo.png could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.
* The specified file temporary://file3DiL7Z could not be copied, because the destination directory is not properly configured. This may be caused by a problem with file or directory permissions. More information is available in the system log.

I could solve the problem by disabling php safe mode for the site (as safe_mode off is a requirement of the Drupal installation):

Safe mode may interfere with file and image uploads.

Comments