When I go in to the general settings, I am gettng this errror:

* warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10008 is not allowed to access /tmp owned by uid 0 in /var/www/vhosts/michaelscott.tv/httpdocs/includes/file.inc on line 91.
 * The directory /tmp does not exist.

I have attempted to create a /tmp directory, but Drupal is not really seeing it. What can I to resolve this error? As it stands cannot update anything in the Settings page (header text, footer text, etc.)

Thanks!

Comments

drawk’s picture

Is this a new install?

doka’s picture

Check the permission rights on the /tmp directory: it should be 775. You can usualy set it using your FTP client.

Doka

Doka

drshields’s picture

This isn't a new install, but I recently switched servers and I haven't really tried configuring everything since then.

Where should the tmp directory be? In the baseline directory of the websites? /htdocs/tmp (or public_html/tmp, depending on your server config?) I tried putting a tmp directory there, and even set the write permissions to 777, still not working...

---
Redbox Codes
Michael Scott
^- Some of my Dupral Implementations

doka’s picture

The directory for /tmp has to be set in admin-->settings-->File system settings. Here you can set the /files directory, as well as the /tmp. It is recommended to define /tmp below the /files, but I guess you can set anywhere.

Doka

Doka