Take the 2-minute tour ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I've moved my live website drupal to windows localhost(xammp), but I'm getting lots of "The file could not be created" errors. If I log in to the site as an administrator, it fails to return any more pages at all. I can view it with errors if I don't log in.

Is there a way to change the temporary file location from an ini file or via mysql database rather than logging in through the interface.

NOTE: without login in admin panel and : admin/config/media/file-system

Thanks.

share|improve this question
1  
From the problem description, it doesn't really sound like the temporary file path is the problem, but I answered that question below, since that's the title. Please re-phrase the question text so that it goes more in line with the title. –  Letharion Nov 18 '12 at 14:08

1 Answer 1

up vote 6 down vote accepted

The temporary path is stored in the variable file_temporary_path, so you can either update the entry in the variables table directory with a SQL-query, or you can use drush to drush vset file_temporary_path [some_new_path].

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.