I am having trouble fixing an error that at first sight seems to be caused by a Safe Mode restriction.

For the frontpage I created an Imagecache preset called 'frontpage'. Using Imagefield I can upload an image without any problem, but when going to the frontpage no image is shown. When browsing away from the page I get the following error:

"warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10009 is not allowed to access /var/www/vhosts/[...]/httpdocs/sites/default/files/imagecache/frontpage owned by uid 48 in /var/www/vhosts/[...]/httpdocs/sites/all/modules/imagecache/imagecache.module on line 555."

* With FTP I can see that the folder sites/default/files/imagecache/frontpage exists, but contains no images.
* When I create a preset, the example image does not show
* As far as I can see, the Safe Mode is turned off. The php.ini in the httpdocs folder has Safe_mode = off and I restarted the server just in case.
* Rewrite is working (http://drupal.org/node/224913)
* File system: private download method
* Clean URLs enabled

Does anybody have an idea about what I can do to solve this? Your help is very much appreciated.

best,
Olaf

PHP 5.1.6, Drupal 6.16, ImageAPI 6.x-1.6, Imagecache 6.x-2.0-beta10

Comments

eojthebrave’s picture

If you navigate to Reports > Status Report and then click on the link that displays your PHP version does that page tell you if Safe mode is on/off? It's possible that you don't have permission to change the safe mode setting on your host.

fizk’s picture

Status: Active » Closed (fixed)

Please reopen if this is still an issue with ImageCache 6.x-2.0-rc1.