cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Success message not showing
April 27, 2010
2:02 pm
Guest

Seems I have another issue now. On my form with a file upload box, I get a message indicating the form submission is in progress (please wait), but once submitted, there is not success message shown. The tags for the message are present, but there is no text.

The form is submitted correctly and is viewable in tracker and everything looks correct. Additionally the email is successfully sent out. I've tried disabling ajax as well, and still no message.

The other form which doesn't have the file upload box works fine.

May 1, 2010
7:49 pm
Guest

Similar issue here, seems to behave differently in different browsers. Safari hangs and does nothing, FireFox 3.6 WAS working as the OP described, but now clears out the upload box upon submitting, does not send if there is an attachment selected.

This is a cool plugin, but once i get one thing working, something else breaks… Any advice?

May 5, 2010
6:00 pm
Guest

I have exactly the same issue – which seems to be the case in all browsers – users aren't getting any form of confirmation once submitting forms. It's starting to become a little too embarrassing – we've lost a couple of jobs as a consequence – so might need to switch forms. The other problem we can't resolve is no email notices of forms being submitted, though they show up in the tracking page….?!

ANY help would be MOST gratefully received!

May 6, 2010
5:21 pm
Jenny
Guest

I am having the same issue, but I am not even using an upload box. I use this plugin all the time. No success message, no email, but it shows up in tracking.

July 3, 2010
10:38 pm
Guest

I am not getting a success message either. I am not using an upload, just a form. I tried turning off AJAX to see if that would help, but it did not.

I am on WordPress 3.0 and cForms 11.5

Any suggestions?

Many thanks…

July 21, 2010
7:46 pm
Guest

I have searched the forum and cannot find a resolution to this issue. This must be one of those 5% unanswered questions.

 

If there is a forum moderator out there we would appreciate the help.

 

Thanks.

 

John Ellis

 

Cforms 11.5 and WP 3.0 in MU settings.

July 21, 2010
9:05 pm
Guest

I had this problem on my local machine, and I am assuming most of you have the same problem I had.

 

The
reason CForms doesn't show the success message is because it did not
actually "succeed" in submitting 100% correctly. My CForms was erroring
on the email step of the form submission, so the form submitted the data
to the database but never ended up emailing me because I don't have a
mail server set up on my computer.

 

There is an easy fix to this.

 

1) Simply disable emailing by turning off "Admin Emailing" in the "Admin Email" section of your CForms form.

 

or,
if you need email support (most people would probably like this), there
are two ways to enable it.. first one is easier and probably most
practical

 

2a) Change the SMTP settings in the CForms
"Global Settings" under "Mail Server Settings" to an SMTP server. I used
my gmail email's SMTP server (you should be able to use any, including
your ISP's). Once this is set correctly, you'll have to fix a bug in
Wordpress – go to your "wp-includes" directory where wordpress is
installed and make a copy of "class-smtp.php" and rename the copy to
"class.smtp.php". If you have any other problems, make sure to check the
FAQ, also Firebug is a very useful plugin for debugging problems like
this – simply inspect the web page, go to the net panel, and you can
check the response of POST requests (this is only one of the many
powerful debugging features Firebug makes available to developers).

 

3a)
Install a mail server – this is a little more complicated, and I won't
post a full guide on the forums because I'm sure many of you don't need
such a guide. If you do, use google :).

 

Hope I helped somebody!

July 21, 2010
11:26 pm
Sylvia
Guest

@Sonolin – Thanks for the reply, but this is NOT the same problem I am having, nor is the author of the original post, because "the email is successfully being sent". The issue is with the div where the user message, success or failure depending on how the user filled out the form, should be displayed.

 

I have noticed something interesting while troubleshooting this problem. I have a site ( http://www.propertymarketinggurus.com/contact ) where the existing cforms are working properly. When a required field is left blank and the form submitted, the specified message "Please fill in the required fields" displays in that div and the class is failure, as it should be:

 

<div id="usermessagea" class="cf_info failure ">Please fill in all the required fields.</div>

 

When all the fields are filled properly, the div class is success and the specified success message "Thanks! A Guru will contact you shortly" displays:

 

<div id="usermessagea" class="success cf_info">Thanks! A Guru will contact you as soon as possible.</div>

 

 

HOWEVER, when I create a new wordpress page on the same site ( http://propertymarketinggurus.com/test-new-cform ) and insert the same exact form into it, the strange problem which is the topic of this thread suddenly appears! Whether the form is filled out correctly or not, the "usermessage" div class is set to success and its contents are empty: 

 

<div id="usermessagea" class="cf_info success "></div>

 

So, whatever the issue is, it is NOT in any CSS-related file or form settings, because the two pages listed above are calling all of the same stylesheets and using the same exact cform. The difference may be that the page that works was created before the upgrade to Wordpress 3.0 and the new page that doesn't work was created later. 

 

Could the problem be that the javascript or php for the plugin is buggy with some setting in Wordpress 3.0? Has anyone else been able to figure out a fix for this problem yet??

July 23, 2010
6:27 pm
Guest

OK… so at this point I have had three different coders look into this and they cannot figure out what the problem is. I am willing to donate to this plugin or pay someone who knows what they are doing to fix this issue. Anyone? Anyone…? I need this to work ASAP and it appears that others do as well.

 

Thanks,

 

John

July 27, 2010
8:50 pm
Guest

OK,

 

So this is incredibly sad. I've offered to pay someone on this forum to fix this plugin error. I can't even get a response when money is offered. Is this plugin still supported? This forum seems pretty useless. I'll post this to Odesk. offended

August 6, 2010
9:21 am
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

Especially when you use WP (3x) in MU  & sub-domain mode, make sure to configure js/cforms.js  to only have a relative path to lib_ajax.php. Otherwise you'll get a cross domain scripting error.

 

e.g.

var sajax_uri = '/wp-content/plugins/cforms/lib_ajax.php';

 

Paul.

* Paul Silter
August 24, 2010
12:12 pm
Eivind FS
Guest

I too have had the problem of the success message not showing, but with cForms 11.5, it disappeared. Try upgrading.

 

Eivind

August 24, 2010
4:50 pm
Guest

I've been struggling with two problems for days.  Problem 1: after submitting, no success message.  Problem 2: reset_captcha is not refreshing the image.  As a last resort, I backed off a recent upgrade to my theme and, voila, cForms is working perfectly.

 

I use the Atahualpa theme.  Version 3.5.1 works fine but Version 3.5.3 causes these two problems.  I'll continue investigating and post if I discover the conflict…

September 23, 2010
1:30 pm
.wp.
Guest

Me too, had the same problem here. But got it fixed!

 

A bit upset at first when someone tell you to just read the FAQ. But they're telling you right. :)

 

Also make sure smtp works in your environment. You might wanna check out php.ini. Find the following lines and adjust for your environment:

 

[mail function]

; For Win32 only.

;SMTP = localhost

;smtp_port = 25

; For Win32 only.

;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").

sendmail_path = /usr/sbin/sendmail -t -i -f your_email@your_domain.com

 

My environment: ubuntu, local development not in hosting, wpmu 2.9.2

 

Success message appears back to normal. In case you still have problem (e.g form hangs at "One moment please…"), just stop using PHP Mailer.

September 26, 2010
3:44 pm
ecallica
Guest

hi all, i have the problem same too.. but i try to unchecklist enabled ajax and now my form is working.. maybe can fix all your problem (sorry my speaking english not good)

 

regards

 

ecallica

December 18, 2010
8:56 pm
Amy
Guest

http://www.treespacestudio.com/home/botanical-invitation/

I am having the same problem, checked everything else, upgraded to latest version of cforms.I check the cforms.js file and it is configured correctly.

 

All the other cforms in my website WORKS perfectly, but this particular one with a file upload feature just WOULD NOT show a success form sent message. It DOES sent the form to my email, so I know on that end it works. Note: All other error message (required fields not filled out) works, but not the Successfully Sent message.

 

I unchecked the AJAX box and nothing changes.

 

I removed the file upload feature and voila, the success message shows! Is this a bug problem with the file upload feature? I looked all over the forum and this seems to be the most active post on it. Is there a pending bug fix for this since many have reported it?

 

Administrator, I have donated to the plugin as well, would appreciate some help, as I am sure the others as well!!

 

cheers,

A

December 19, 2010
8:18 am
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

Amy said:

I am having the same problem, checked everything else, upgraded to latest version of cforms.I check the cforms.js file and it is configured correctly.

A


What else exactly have you "checked"? As stated across the forum and even in the cforms admin pages, Ajax support is turned off automatically for forms containing an upload field.
 
  • have you tried using the success message only above the form not below, any difference?
  • have you tried turning Ajax off (manually) and without upload fields?

 

PS: just noticed you're using a CACHE plugin (hyper cache), never use any cache plugin on a form page it could cause all kinds of issues!

 

Paul.

* Paul Silter
December 19, 2010
11:29 pm
Guest

Hi all,

Sounds like I've had a similar issue here.  Having used cforms successfully before, I thought I was pretty familiar with what needs configuring but this problem had me stuck for several hours.  I'm using cforms 11.4 on WP 3.0.1. I've a registration form, which had Ajax enabled and included a file upload field.

 

It would submit perfectly in Firefox but hang at the 'One moment please' feedback message from Chrome and IE(8).  I think I read all the relevant FAQs (quite possibly I missed something), changed sajax_url to a variety of paths and cleared the cache / restarted Chrome at each change – but none of this worked.

 

For me, the solution simply seems to be disabling Ajax on the form.  The result is that it now submits in IE, Chrome and Firefox.  Hope this helps and works for others.

 

Regards, Ian

December 20, 2010
8:07 pm
Amy
Guest

Paul said:

Amy said:

I am having the same problem, checked everything else, upgraded to latest version of cforms.I check the cforms.js file and it is configured correctly.

A


What else exactly have you "checked"? As stated across the forum and even in the cforms admin pages, Ajax support is turned off automatically for forms containing an upload field.

 

  • have you tried using the success message only above the form not below, any difference?
  • have you tried turning Ajax off (manually) and without upload fields?

 

PS: just noticed you're using a CACHE plugin (hyper cache), never use any cache plugin on a form page it could cause all kinds of issues!

 

Paul.


Hi Paul,

I disabled hypercache on the form page (thanks for the tip!) cleared browser cache and reopened, nothing has changed :( The same 'one moment please…', still no success message but form is sent (i.e. my inbox received it, as before). I have tried the message box below and above the form, nothing changes either.

I am aware that ajax degrades with a file upload field, but does it mean that it just would not load properly for certain things (like no success message?)  I turned off AJAX manually (unchecked the box) and no user messages appear at all which I presume is what is supposed to happen? (correct me if I am wrong). Form sends fine though, as before, I mentioned this in my original query.

 

However when I removed the file upload fields and turned ajax off, the form did not send i.e I did not receive any submission in my email inbox. Put back the file upload fields, and form sends successfully again, but no success message, as before.

 

I am confused, is this normal? I just would like to know if its normal that all forms with file upload fields would not load the success message when form is submitted, with ajax enabled or disabled (because of the ajax degrading thing) or if there is a something else I am yet unaware of that I can do to correct this.

 

Thanks!

A

December 21, 2010
7:10 am
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

The form has gone on your original form page but the page still said 'hyper cached' so even though you excluded it, it appears to have been stored as a cache copy and may first need to be removed.

Also you might want to check if you have turned on PHP Safe Mode.

Finally, I noticed that some plugin or your web developer mangled the cforms header output (in the html <head> tag), which may or may not have to do with this.

I turned off AJAX manually (unchecked the box) and no user messages appear at all which I presume is what is supposed to happen?

 Correct, a success msg should always be shown. I tested all kinds of scenarios and I could not replicate your error, which to me looks like something on your server, plugin or setting messes with the output or the $_POST variable that contains the form data.

The form – Ajax turned on or off- should behave the exact same, except in in the latter case it'll reload the entire page. 

However when I removed the file upload fields and turned ajax off, the form did not send i.e I did not receive any submission in my email inbox. Put back the file upload fields, and form sends successfully again, but no success message, as before.

Which actually supports my thinking that it's either your server or some other plugin.

 

Paul.

* Paul Silter
Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
23 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: 3740

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5340

Posts: 18707

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)