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
Submit hangs with AJAX on
June 15, 2012
1:50 pm
Zbrass
Guest

Hi,

Since i updated cforms to v.14.5 with Wordpress 3.4 The submit button hangs on submitting a form with AJAX enabled. The only way to make the form working is to disable AJAX in the form.

Is this a bug? I can't find any solution in the F.A.Q or in this forum.

 

kind regards,

 

Arthur

June 24, 2012
8:10 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

No, deployment error, see FAQs.

July 5, 2012
9:30 pm
Pat
Guest

Oliver said
No, deployment error, see FAQs.

 

Hi, I saw the entry in the FAQs -- 

<< The easiest way to quickly fix it, would be to rename the function

sajax_handle_client_request()

and the call to the function in cforms.php. >>

Could you give more detail on exactly what steps we need to perform?  I wasn't able to find the string "sajax_handle_client_request" anywhere in the cforms.php file.   Thanks 

July 13, 2012
12:34 am
Eves
Guest

So did you find where it is ?

I need the answer to this too .. loves cformssetup but the mail submission is a pain !!

July 27, 2012
9:00 am
nvrau
Guest

Oliver,

Looks like this would resolve my problem as well so I am looking fora bit more info than FAQ has. Point me in the right direct as to how to find where I need to make the changes? 

Cheers!

July 30, 2012
3:28 am
nvrau
Guest

Ok, I found the functions after searching through every .php file in cforms. I only found two instances of sajax_handle_client_request and both are in lib_ajax.php in the cforms directory. In my install, it exists on line 638 & 766. I simply renamed both to cforms_sajax_handle_client_request and now ajax form is working on both my sites.

This would be a great addition to the FAQ discussing this issue and updated as needed with new versions.

HTH!

July 30, 2012
6:37 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Thanks for confirming that that was the issue, I'll change the names of these in the next release.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
31 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: 3762

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18740

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

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

Administrators: Oliver (6400), Nicky (3)