By ncole78 on
Hi, I've just moved my Drupal 7 installation from a subdirectory on my domain to the web root. Everything appears to work except that I got an error message about my temporary directory not existing. I had forgotten about that one, so I created a new folder outside the web root and tried to point Drupal to it. When I click "Save", I get the message up top that it's updated the settings, except that it hasn't. It reverts back to the old temporary folder, which it then creates.
I had always had a private files folder outside the web root, and that's working fine. I would just leave it like this, except I want my temp directory outside the web root.
Comments
Did you find resolve to this?
Did you find resolve to this? I am having the same issue on of my sites i recently moved...
Thanks in advance.
-
We are the cult of personality.
-
Unable to change temp file directory.
I found that that the reason I could not update the temporary settings was that the settings.php file had an override. It looked like this:
$conf['file_temporary_path'] = '/hermes/web01b/b1094/moo.domain/rrr-drupal/tempdir';
When I went to the database and looked in the variable table. I could see that the file_temporary_path variable had been reset to tmp, even when /hermes/web01b/b1094/moo.domain/rrr-drupal/tempdir kept appearing on the configuration screen.
I did not set this up, so I am not sure how it got there but I believe that the site was originally set up using a one-click install on cpanel. I guess that the install script added this line (and some other config files). I don't know how common this is.
Thank you!
I had the same problem and fixed it after reading this by editing the settings.php file. This installation was also done using a one-click install with Simple Scripts on cpanel.
I was also not receiving site update information via email, because the settings.php file had configured the site email address to be the owner of the site. I imagine the emails have all been going into her spam folder.
Thank you for posting your solution!