Webform -- The save directory files/webform could not be created.

sohopub - May 13, 2008 - 22:25

So I'm building a site in drupal 6.2 and have installed the Webform module.
When trying to add the "file upload" option of the form I am getting an error message:
"The save directory files/webform could not be created. Check that the webform files directory is writtable."

I have the CHMOD set to 777 for the files folder, ever tried it at 755.

I have it working on other websites of mine that are running older versions of Drupal, so I have no idea why this one is having issues other than maybe the Webform module really isn't ready for Drupal 6.2.

Comments? Suggestions?

Thanks.

Same Problem

spcomputing - June 19, 2008 - 18:27

Sorry I can't offer you any assistance right now as I'm experiencing the exact same problem. I'll try a few things and post back if I find a solution. Let me know if you already have found a solution.

Found the Solution

spcomputing - June 23, 2008 - 13:35

Refer to this page: http://drupal.org/node/218204

The solution that worked for me as posted on that page:

"Thanks everyone for the reports. The problem is indeed that Webform is looking in the wrong location to save files. In Drupal 5 the default save location was "files", but in Drupal 6 it is now conf_dir() . '/files'. Webform was still assuming the old default. You can work around the problem simply by going to admin/settings/file-system and saving the page (no changes necessary), this will make Drupal save an actual value in the database rather than using the default (even though the saved value and the default should be the same)."

 
 

Drupal is a registered trademark of Dries Buytaert.