| Post |
|
New Member | zenglen 11:44 pm June 23, 2009
posts 2 |
|
|
I added a file upload field to a form, and now the form doesn't perform the actions:
* won't display success message
* won't redirect to url
* won't send the email to admin
* dosn't look like file attachment went into uploads folder on server
Please help!
|
|
|
Guest
| Daniel Noll 1:09 am June 24, 2009
|
|
|
I've read the help on File Uploads and am having similar problems:
-Success message (pop-up or non pop-up)
-Files uploads make it to the server, appear in the tracking table (but there is no link to the file)
WP 2.7.1
CformsII 10.5.1
|
|
|
Admin
| Oliver Munich, Germany 7:35 am June 24, 2009
posts 6000 |
|
|
- read FAQs
- search the Forum
- describe what you've tried to fix this
- provide proper info:
Please replace the ??? with your data!
- URL to the FORM: http://???
- The browser used: ???
- cforms version: ???
- Your Wordpress version: ???
[desc]: _
|
|
|
|
|
New Member | zenglen 1:44 pm June 24, 2009
posts 2 |
|
|
- checked FAQ
- searched forum for anything I could find relating to "file upload(s)"
- tried to fix/troubleshooting
– removed the file uploads field, saved, tested form result: form worked
– added the file upload field back, tested result: form failed
– created a brand new, simplified form with file uploads field, name, & email only result: form failed
Failure, in this context means that the form did not successfully perform the actions it was designed to do. ie: form contents were not emailed, the file doesn't appear on the server in the specified folder, & the user is not redirected to the specified URL upon form submission.
URL to the FORM: (removed the file upload from original here so that I could have at least a working form: http://energyclubsupport.com/s…..-form.html
Created test page with a copy of the form including the file upload box (this one is broken): http://energyclubsupport.com/s…..-test.html
The browser used: Firefox 3.0.11, Flock 1.27, IE 6
cforms version: 10.5.2
WP Ver: 2.7.1
|
|
|
Guest
| Daniel Noll 5:21 pm June 24, 2009
|
|
|
I've done extensive research.
1) File Upload vs. Popup success message:
The only item I found in the forum is regarding the conflict between the file upload and javascript popup success messages (apparently due to HTML/browser limitations):
http://www.deliciousdays.com/c…..mp;ret=all
But does this mean that the non-popup success message won't work either??
2) File Upload link
I find that the link to the uploaded file appears in the tracking table for some forms, but not for others. I have tried testing to see if removing certain fields from the problematic from (e.g., fieldsets, etc.) to see if that changes the outcome. It does not. Perhaps it is due to the type of fields on the form, but I cannot determine which ones/types. I also backed up the forms and looked at the settings in the .txt file and nothing appeared out of the ordinary on the problem form.
3) Emails work for me.
I'd like to provide a link, but this is on a secure development site for a client. If you are interested in troubleshooting this on my server, contact me by email and I will send you login information…I am not putting that information on a public forum.
Browsers: FF 3.0.1, Opera 9.64
Thank you for your work on a great plugin.
|
|
|
Admin
| Oliver Munich, Germany 8:56 am June 25, 2009
posts 6000 |
|
|
zenglen said:
- checked FAQ
thanks for the details! the only explanation I have is that the upload action (POST) (which can somewhat be controlled by your PHP server settings & .htaccess settings) breaks the form.
to rule out theme or other plugin related issues, try using the default theme and turn off all other plugins.
Daniel Noll said:
I've done extensive research.
1) File Upload vs. Popup success message:
The only item I found in the forum is regarding the conflict between the file upload and javascript popup success messages (apparently due to HTML/browser limitations):
http://www.deliciousdays.com/c…..mp;ret=all
But does this mean that the non-popup success message won't work either??
of course the std message should show.
2) File Upload link
I find that the link to the uploaded file appears in the tracking table for some forms, but not for others. I have tried testing to see if removing certain fields from the problematic from (e.g., fieldsets, etc.) to see if that changes the outcome. It does not. Perhaps it is due to the type of fields on the form, but I cannot determine which ones/types. I also backed up the forms and looked at the settings in the .txt file and nothing appeared out of the ordinary on the problem form.
make sure to double-check the path settings for your individual forms (upload setting, right under each form field block).
3) Emails work for me.
I'd like to provide a link, but this is on a secure development site for a client. If you are interested in troubleshooting this on my server, contact me by email and I will send you login information…I am not putting that information on a public forum.
Browsers: FF 3.0.1, Opera 9.64
Thank you for your work on a great plugin.
|
|
|
|
|
Guest
| zenglen 2:24 am July 6, 2009
|
|
|
Tried default theme and turning off all plugins. I will contact my webhost. But I'm not sure what to ask them? Can you advise me as to what to say to my webhost?
|
|
|
Admin
| Oliver Munich, Germany 7:22 am July 7, 2009
posts 6000 |
|
|
might want to ask them about any PHP Server or .htaccess setting that could interfere with the form (POST action) and its upload files field.
|
|
|
|