Topic RSS
3:55 pm
Hi, thanks for this super plugIn, but I do have a real big problems using it for mailing files. I'm on WP 2.2 and it does not name the fields for "file" correctly: it names them cforms_uplad[ instead of cform_uploads[] which does not write these in the correct array. Seems that this is a problem with the filter-mechanism of WP because the code CF delivers is correct.
Has anybody a clou how to make it work the way it should??
Many thanks in advance,
Steffen
8:16 pm
March 6, 2005
OfflineSteffen, what's your URL?
I assume you are using multiple file upload fields? Is one working fine? I can't think of a filter that would causing cform_uploads[] to be rendered cforms_uplad[ ?!
9:36 am
Hey Oliver,
thanks for your quick reply. The URL is biodive.de/upload (for the moment work in progrss and pwd-protected, please use vielfalt / butterfly to visit it). The form has only one File-Upload Field, but as cformsII assumes the Files to be stored in an array it cannot access the files uploaded. I fixed it for now by adding a str_replace after the wp-own filter-programm.
Now I only need to get Captcha workin – t's "redded-out" in my form and i assume this has something to do with GD-Library?? Right??
Greetz, Steffen
8:24 pm
March 6, 2005
OfflineThanks for the access. It seems it's working now 'cf_uploadfile[]' is properly set as the name of the upload field.
I'm still confused about the fact that your WP has a filter that would rename the field, could it be some other plugin?
Yes, the CAPTCHA feature requires a few things to be in place:
- GD Library with freetype is supported
- cookies enabled in browser
- proper PHP SESSION management (which usually is the case, unless some other plugin resets the session).
8:56 pm
I can't get the "file upload" field to work. When I try to upload a file I get an error message like….
Warning:
copy(/home/baylands/public_html/wordpress/wp-content/plugins/contactforms/attachments/20-Kristyn-LetterOfRecommendation.doc):
failed to open stream: Permission denied in /home/baylands/public_html/wordpress/wp-content/plugins/contactforms/cforms.php on line 1392
The code on line 1392 reads as ……
copy($tmpfile,get_option('cforms'.$no.'_upload_dir').'/'.$subID.'-'.$file['name']
[$filefield++]);
Also – I inserted (txt,rtf,zip,doc,jpg) in the "allowed extensions" field.
What do I need to do to make this field work?
I really need help fast – I don't know what else to try! Thank you!
Kathi
9:59 pm
March 6, 2005
OfflineCan you post your URL please?
Also, you may want to check existence, as well as file and directory permissions of the target directory (for uploads).
Most Users Ever Online: 959
Currently Online:
64 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
tracedef: 43
mores: 21
Gyrus: 20
frozenwaste: 18
asuffredini: 15
photoworks: 14
Member Stats:
Guest Posters: 3548
Members: 1464
Moderators: 3
Admins: 1
Forum Stats:
Groups: 1
Forums: 4
Topics: 5157
Posts: 18385
Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass
Moderators: Paul (421), cnymike (8), sonika (95)
Administrators: Oliver (6398)
FAQs
Home
Add Reply
Add Topic
Quote










