A bug in Drupal affecting installations transferred from Windows to Linux
by pompo500 on Sep.15, 2010, under Software
Should you have a case like I had, where you worked on a Drupal installation with your Windows development environment, and then transferred your Drupal installation to client’s server running Linux, Drupal may spit out a message saying “C:\Windows\Temp” was created.
How nice.
I don’t exactly know how much of Drupal’s functionality that disrupts since I fixed it immediately, but at least it makes C:\Windows\Temp directory under your Drupal installation. Yes you heard it, it makes “/drupal/C:\Windows\Temp/” directory.
Should you want to repair it, run this SQL against your database:
UPDATE variable SET value = “s:4:\”/tmp\”;” WHERE name = “file_directory_temp”
Note: if you have used a table prefix with your Drupal installation, you should prefix the “variable” text accordingly.
Anyways. Hope this helps somebody.