Closed (duplicate)
Project:
Webform
Version:
6.x-3.9
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2011 at 13:50 UTC
Updated:
1 Jul 2011 at 23:44 UTC
hi,
I cannot see what I'm doing wrong with upload component. I cannot send my files to a user folder.
I get the error
The save directory sites/default/files/webform/%username is not valid.
I tried different syntax but nothing helps
if I use the default "sites/default/files/webform/ " everything is fine
and the folder exist.
is there setting I did not set?
is there a way around this issue? I need seperate folder for each user uploads files
please help
Daniel
Comments
Comment #1
newgen commentedguess I'm the only one with this issue.
I uninstalled webform deleted the module and reinstalled
same issue
I installed webform on another server, it created the path, then when I try to add token same error
I checked the permissions OK.
"The save directory sites/default/files/webform/%username is not valid"
does this work in webform?? or is it only me?
anyone please
Daniel
Comment #2
newgen commentedso sorry just noticed wrong version number
webform 6.x-3.11 and I'm using drupal 6.22
Daniel
Comment #3
newgen commentedI maybe talking to myself, but is there a way, since I cannot create a folder for the user, to maybe create a unique prefix to the file??just a thought in panic
I am moderately good with PHP, I could code a patch if I knew where to look.
any feed back would be greatly appreciated.
Daniel
Comment #4
newgen commentedhi all,
I found this post http://drupal.org/node/326738
maybe it will be a concern for someone else
it gets me around this bug
thanks
Daniel
Comment #5
quicksketchYes, that's actually exactly the same issue. Tokens are not currently supported on the file directory field.