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 Related Topics
Cforms not working! (One moment please...)
January 20, 2012
7:58 pm
Bryan KNox
Guest

Thanks Paul.

 

About the "afaik" from WP, do know a way of turning it off?  Also, the submit button is very dim unlike the "browse" button.

 

Bryan

January 23, 2012
5:17 pm
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

"afaik" just means "as far as I know" ;-)

 

in other words, what you saw is how Wordpress works, a "feature" if you will.

Paul. 

* Paul Silter
January 26, 2012
4:04 am
Oriel
Guest

I'm actually using The BitNami Stack which allows me to edit WP offline.  My lib_ajax.php is located in:

 

C:\Program Files\BitNami WordPress Stack\apps\wordpress\htdocs\wp-content\plugins\cforms

 

I'm not that familiar with the syntax that Javascript uses but I tried setting my var sajax_uri equal to

 

'C:\Program Files\BitNami WordPress Stack\apps\wordpress\htdocs\wp-content\plugins\cforms\lib_ajax.php'

 

But it didn't seem to help.

 

Is this the proper way to denote this file?  I would try setting it in HTTP format but I'm unsure of how to proceed.

 

Oriel

January 28, 2012
5:08 pm
Peter
Guest

I am som what confused as to why you have a forum. I have read the forum and I have read the FAQ and still does´t know how to fix this issue. I thought this would be a perfect plug in for me and my clients. No I am only angry. And if there are so many people with this issue why not provide with a clear tutorial on how to resolve it.

 

For me it´s probably just a simple thing I have missed. But shouldn't it just be to install and run?

 

I´m sorry, mabye i´m just stupid but how many ours should a person spend on finding the answer.

And why do you not provide one? 

 

I would love to give a donation to such a great program. But only if it works.

January 31, 2012
8:37 am
flippertie
Guest

Paul said:

I've made this thread a sticky thread because even though this topic has been covered 1000x in this forum again and again, apparently people don't like to search.

99% of all the 'one moment please' issues are covered in the FAQs, start there.

Then several people asked where the FAQ's are and received a deafening silence in response….

They're well hidden – In your wordpress dashboard left menu go to cforms >help

Then at the very bottom under "more help" is a link to the FAQ.

 

Then of course you come to the forum to post something and find that there's a link to the FAQ's as the top of the reply form… :-/

 

Maybe there's a good reason for not putting a big bold link to it on the forum front page somewhere – but i can't hthink of one…

January 31, 2012
9:17 am
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

…or, once on the forum main page, you could have clicked on 'Troubleshooting' which is what 99% of the users click on, since they're not interested in 'announcements' but to find a solution for their problem(s) etc.

now once you're on the troubleshooting page, I think it isn't asked much to first check the sticky posts, since these tend to be the ones people think may be of importance, and voila, there is your FAQ topic.

not really so difficult. wink

Paul. 

* Paul Silter
January 31, 2012
10:09 am
flippertie
Guest

(Paul – I take your point about the FAQ – but that's not why I'm here…)

I have the "One moment please" hang problem too.  I'm running WP 3.3.1, and installed cforms for the first time today.

I've built a form that works as far as collecting data validating and sending an email – but it hangs at that point.

I read the FAQ :) and have done all the obvious things – cleared my cache, re-started the browser, other browsers, disabled all plugins, logged out of WP etc. and still no joy. No fancy error messages…

I tried the original cforms.js setting, then the recommended

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

and even

var sajax_uri = 'http://www.mydomain.co.uk/wp-content/plugins/cforms/lib_ajax.php';

Still hangs. I'm running out of ideas now…

** May be connected : Until I made the changes to cforms.js I could not enable AJAX. I'd check the box, Save and update – and it would automagically clear itself.  Now at least it stays checked..

** When I test in IE8 it displays a little yellow triangle and ! in the lower left corner…

Any suggestions?

January 31, 2012
10:56 am
flippertie
Guest

Got it!

I forgot that my installation of wordpress is in a subdirectory! 

Hunting on google I found an old post about updating cforms that warned about that very mistake.  So I changed

the path in cforms.js to include the subdirectory:

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

And now I have a multi page form that does the business and takes me to the success page!

Hope that helps someone else.lol

January 31, 2012
4:14 pm
Paul
Amsterdam, NL
Moderator
Forum Posts: 421
Member Since:
February 10, 2009
Offline

Glad you resolved it.

 

PS: not sure if you've run into issues with the MP forms accidentally resetting, cforms v13.2 (to be released soon) will address this and further fix issues around individually excluding attachments (upload fields) from the final MP form email if disabled in the form's settings.

Paul. 

* Paul Silter
February 13, 2012
10:09 pm
Dave
Guest

I'm stuck here too, read the FAQ, read all the comments here,  tried // OLD SETTING ,

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

 

tried putting absolute path, tried different browsers even on different OS, 

 

Tried turning off AJAX and got

Fatal error: Call to undefined function my_cforms_logic() in /home/-username-/public_html/wp-content/plugins/cforms/lib_nonajax.php on line 380

February 13, 2012
11:13 pm
ConcernedCitizen
Guest

I just upgraded to 13.2 and had some issues with submission.

The plugin failed for a call to an undefined function 'my_cforms_logic' on line 380 for lib_nonajax.php or 399 for lib_ajax.php.  Had to include 

 

if ( function_exists('my_cforms_logic') )

 

before each otherwise it would hang on "one moment please…".  As the function isn't available unless uncommented I figured this is correct logic.

February 14, 2012
7:42 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Thanks for the heads-up. 

This will be fixed in the hot fix release v13.2.1 

February 16, 2012
7:53 pm
Peter Lacis
Guest

All – I've struggled with this issue as well since upgrading a previously working version of cforms and it turns out another plugin was conflicting, thus causing the hang on "one moment please…"

 

I strongly suggest you first deactivate all other plugins and see if cforms works by itself before you start hacking code.  FYI – the blog in question is in a sub-directory and works fine with the automatic path detection.

February 19, 2012
5:05 am
Keith Bates
Guest

Hello,

 

I, too, am having problems similar to this.  The problematic form can be viewed here: http://test.integrasysit.com/contact-us

 

I've read the FAQs and verified the abspath.php has the correct path and I've tried both versions of the sajax_uri settings in cforms.js.  I've also tried placing an absolute URL in there with no luck.

 

When submitting the form it get stuck on "One moment please…".  Looking in Firebug I see it is returning with a 500 error. If I browse to the lib_ajax.php directly it does pull up with a blank white page and a 200 response.

 

The form submits fine with AJAX disabled and I've confirmed permissions for the wp-content folder and down are 775.

 

Debugging is turned on for further troubleshooting.

 

My host is MediaTemple (gs account).  Any help or suggestions would be greatly appreciated.

 

Thanks!

February 20, 2012
7:33 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

I recommend, you try the latest cforms release first v13.2.1

Make sure to have WP 3.2+

February 20, 2012
8:01 pm
Keith Bates
Guest

I'm on the most current version of WP.  I actually did upgrade to the current version of cforms and the problem persisted, plus, my custom CSS file stop loading.  For some reason, cforms was looking for it in /wp-content/plugins/cforms/cforms-custom as opposed to wp-content/plugins/cforms-custom.

 

Reverting back to the previous version of the plugin corrected the style sheet issue.  I spoke with my web host and they pointed me to my server logs which I found this:

 

[Mon Feb 20 09:25:44 2012] [error] [client 198.211.192.162] Premature end of script headers: php-stable, referer: http://test.integrasysit.com/contact-us

 

I then adjusted the memory_limit and max_execution_time in my php.ini both of which did not resolve the issue.

 

I also tried disabling all other plugins (only one other) and that did not work.

February 20, 2012
8:58 pm
Keith Bates
Guest

I seem to have resolved the problem… though, it's not clear why this works.  I changed cforms to send mail via an external SMTP server and it started working.

 

Not sure why this works when disabling AJAX it sends fine via local SMTP.

 

Thanks anyways!

March 14, 2012
11:28 pm
Nick
Guest

For me the "One Moment Please" message went away when unchecking the Ajax Enabled checkbox in the form Settings.  Haven't gone through any more checks as this is fine for me on a small blog.  If I get time I'll look into it further, but for now I'm just happy it's working again.

March 19, 2012
5:42 pm
Norm Sash
Guest

I was having the "one moment please" hang on submit and spent a lot of time going through all of the faq, forums, and experimentation.  Here's what I figured out to work for me.

 

My installation of WordPress is in a sub-folder called "wpb".  I checked the cforms.js file and tried multiple combinations of pathing via that file… still could not get past the hang.

 

I then looked in the abspath.php file and verified that with my host provider as correct.

 

If I turned off Ajax the submit would work.  I also discovered that if I deleted (renamed) the abspath.php file then it would all work, even without disabling Ajax.  Looking at the code I figured out if abspath.php was not present then $abspath is set to "../../../"    So that led me to believe it has to have something to do with what is being used as $abspath as defined in abspath.php.  Yet everything seemed to verify fine for the abspath with my hosting company, and with getwd()

 

my absolute path in abspath.php looked like /home/content/92/2793386/html/

 

With the abspath.php file renamed I then went into cforms to create a new form.  What I saw was a warning message stating that the abspath.php file could not be found and that it needed to be created with the following path, ie. /home/content/92/2793386/html/wpb/

 

Note the wpb/ on the end of the absolute path string.  Ah-ha!  Maybe absolute path for purposes of cforms must be the absolute path as provided by the hosting provider plus the sub-folder holding the WordPress installation.  So I set my abspath.php statement to include the sub-folder path for my Wordpress installation,

….and….

made sure to put the sub-folder path onto the path statement in cforms-js

 

Once I did both of those things form submissions are working along with Ajax.

 

Norm Sash

http://nerdmans.com

March 29, 2012
3:18 am
dorys
Guest

I'm having the same issue and after reading everything I could find and trying everything I cannot get my form to send.

 

I had the forms working on my live testing server, however, it is now not working on the live site.

 

Here are my latest settings:

WP v3.3.1

Cforms version 13.1

abspath.php setting: I did what Norm did above and found that absolute path requested is  '/services9/webpages/a/m/amhrecycling.com/public/'

 

Cforms.js = '/wp-content/plugins/cforms/lib_ajax.php/wp-content/plugins/cforms/lib_ajax.php

 

I've already tried putting in the absolute path on the cforms.js file. 

 

What other info can I provide ?

 

Thanks

 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
30 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: 3763

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18742

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

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

Administrators: Oliver (6400), Nicky (3)