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
cforms hangs after submit, One moment please ...
June 19, 2008
2:08 pm
Mike Griffis
Guest

Please replace the ??? with your data!


[desc]:
_ cforms hangs after submit; message "One moment please …"

This happens only when AJAX selected. Form works when AJAX not selected.

I've tried several things I found in the FAQ:

1) cleared the cache

2) checked var sajax_uri = '/wp-content/plugins/cforms/lib_ajax.php'; … I believe it's pointing to the right location, but cannot be certain. I did try a couple of modifications to the path but received the same results.

3) set var sajax_debug_mode = true;

Received the following error message from debug:

Caught error SyntaxError: missing ; before statement: Could not eval DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

then:

cforms_submitcomment waiting …

FYI, I submitted the page to W3C validator, and it validates.

I apologize if this is a duplicate post. I tried to post this yesterday and cannot find it in the forum.

Thanks for any help.

One more thing. Is there an easy way to restore the default form?

- mike

June 19, 2008
6:01 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

_ cforms hangs after submit; message "One moment please …"

Some funny URL rewriting seems to take place, since this URL:

http://www.tomnaashomes.com/wp-content/plugins/cfo…..b_ajax.php

gets redirected…yet it should only load the spec. file and show an empty white page.

One more thing. Is there an easy way to restore the default form?

If it's only about the form fields, you can select the "default preset" and restore the default fields.

If you like to start fully from scratch, add a new form and delete the current one.

June 19, 2008
8:22 pm
Mike Griffis
Guest

Thanks, Oliver.

I'm not doing anything fancy with URL rewriting. Standard WP .htaccess:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Any suggestions would be appreciated.

- mike

June 19, 2008
11:51 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

That does look normal, yet the server doesn't seem to load and of the php files when accessed directly. Perhaps your provider can shed some light (logfiles!) on it?

June 20, 2008
8:02 am
Mike Griffis
Guest

My host doesn't have much to add. The support guy asked if the plugin and Wordpress worked with Apache 2.2.x:

"some mod_rewrite rules does not work in the same way in apache 1.3.x than in Apache 2.2.x, however, not sure if that's what is affecting your site."

I looked at the error logs, but do not know what these errors mean. Here's what was written in the error log when I tried to use the form from the contact-us page:

[Fri Jun 20 01:58:58 2008] [error] [client 68.179.183.71] SoftException in Application.cpp:252: File "/home/tom/public_html/wp-content/plugins/cforms/lib_ajax.php" is writeable by group, referer: http://www.tomnaashomes.com/contact-us/
[Fri Jun 20 01:58:58 2008] [error] [client 68.179.183.71] SoftException in Application.cpp:252: File "/home/tom/public_html/wp-content/plugins/cforms/lib_ajax.php" is writeable by group, referer: http://www.tomnaashomes.com/contact-us/

Is that any help to you?

June 20, 2008
2:21 pm
Mike Griffis
Guest

More info to add …

I have disabled WP permalinks, and reverted to the Kubrick theme.

I can reach and display:

http://www.tomnaashomes.com/wp-content/plugins/cfo…..ISTORY.txt

… without a problem.I cannot directly reach:

http://www.tomnaashomes.com/wp-content/plugins/cfo…..b_ajax.php

It returns a server error:

[Fri Jun 20 08:18:37 2008] [error] [client 68.179.183.71] File does not exist: /home/tom/public_html/500.shtml, referer: http://www.deliciousdays.com/cforms-forum/troubleshooting/cforms-hangs-after-submit-one-moment-please/page-1/
[Fri Jun 20 08:18:37 2008] [error] [client 68.179.183.71] SoftException in Application.cpp:252: File "/home/tom/public_html/wp-content/plugins/cforms/lib_ajax.php" is writeable by group, referer: http://www.deliciousdays.com/cforms-forum/troubleshooting/cforms-hangs-after-submit-one-moment-please/page-1/

This also fails when trying to access the form. The server error log reports:

[Fri Jun 20 08:18:13 2008] [error] [client 68.179.183.71] File does not exist: /home/tom/public_html/500.shtml, referer: http://www.tomnaashomes.com/?page_id=4
[Fri Jun 20 08:18:13 2008] [error] [client 68.179.183.71] SoftException in Application.cpp:252: File "/home/tom/public_html/wp-content/plugins/cforms/lib_ajax.php" is writeable by group, referer: http://www.tomnaashomes.com/?page_id=4

Any help would be appreciated.

- mike

June 20, 2008
6:01 pm
Mike Griffis
Guest

Solved. The host helped me track this down.

Permissions for the cforms directory, and all of its contents, was set to 0775. Server required 0755. Changed all (recursively) and it works fine.

- mike

June 20, 2008
6:46 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Excellent! Glad to hear that all is working now…

July 1, 2008
3:26 pm
Onyeka
Guest

I've been trying to solve the same problem for a couple of days now, I just came across this and decided to reply here instead of starting a similar post.

I'm not really very familiar with Javascript, so allthe troubleshooting stated above kinda stomped me. I tried browsing directly to that lib_ajax file, and I got a white, empty screen though.

Any ideas on what to do to help a JS noob figure this thing out?!

The contact form is currently up on http://www.beautifuldisorder.com/contact/

Thanks

July 1, 2008
8:21 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

an empty screen is OK. it'd be bad if you had gotten a 404 err or similar.

by the way, in cforms.js you need to adjust the path to:

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

July 11, 2009
10:49 pm
Leeza
Guest

Hello!

First of all I wanna thank you for this awesome contribution!

I experience the same error Mike described above:

"_ cforms hangs after submit; message "One moment please …""

It worked well and then stopped working. I dont know of any changes that could caused that and  I tried several stuff I found here in the forums to fix it but I cannot get it working.

The page: http://www.role-magazine.com

I'm using wordpress 2.8.1 and the latest update of cforms.

All attributes for cform folders and files are set to 755.

But know I'm really not sure where to check what I could fix =D

It would be great if someone could point to a direction!

Thankies!

Leeza Embarassed

July 13, 2009
7:19 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

check this URL:

http://www.role-magazine.com/wp-content/plugins/cf…..b_ajax.php

and read the post above yours #10

July 17, 2009
7:22 am
Jason
Guest

I have everthing set as above, but it's still hanging.  The emails come through to me, but the page doesn't change from "one moment please" to the confirmation page.  The end user doesn't know their email went through.

I'm using wordpress 2.8.1 and cforms 10.6.

All attributes for cform folders and files are set to 755, I've checked the link in cforms.js and it's correct.

Thoughts?

Jason

July 18, 2009
3:55 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Thoughts?

something is not right.

seriously, my magic powers require at least a URL, don't you think?

July 18, 2009
4:25 pm
Jason
Guest

The strange thing is that it was working fine up until recently (don't know exactly when).  The url is http://savemytime.net/contact-us

July 18, 2009
5:11 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

the path inside cforms.js is indeed correct, but the output the URL (http://savemytime.net/wp-content/plugins/cforms/lib_ajax.php) produces is wrong: your server prepends:

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
</body>
</html>


which it should not.
July 19, 2009
2:23 pm
Svetac
Guest

Hi to all,

I have the same problem like Jason. After upgreading to WP 2.8.1 my contact form hangs. It is the same with cformsII ver. 10.5.2. and 10.6. On WP 2.7.1 on my another blog on the same server everything works fine.

I tried:

1. changing permissions on cforms folder from 0755 to 0775 and back again – NOTHING

2. disabled all plugins except the cformsII and switched to default theme – NOTHING

I don't know what to do anymore. The temporary solution I came up with was to redirect a contact form to my old site on Windows server.

Any ideas? And thanks in advance.

P.S.

Here is my server info:

Apache version: 2.2.11 (unix)

PHP version: 5.2.6

MySQL version: 5.0.81-community

July 20, 2009
7:22 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

URL?

July 20, 2009
11:02 am
Svetac
Guest

Hi Oliver,

tnx for quick reply.

Here it is:

1. original site (WP 2.8.1 +cformsII 10.6) – http://villa-margareta-novalja.com/private-accommo…..ntact.html

2. test site (WP 2.8.2 +only cformsII 10.6 plugin and default theme) – http://novaljapag.com/villa/private-accommodations…..valja.html

Note at the end: I don't use external smtp server because it was working fine without it till now. I tried to use my own server an gmail as external smtp server but then I got error. It couldn't connect to smtp server.

One other thing on first (original) site tracking is enabled and it works

even though form hangs. On test site tracking is enabled but it doesen't show up.

July 20, 2009
11:14 am
Svetac
Guest

Another thing I just noticed regarding to test site and tracking:

after I upgreded to 2.8.2 and cformsII 10.6 it shows on dashboard with nothing in it but not in cformsII menu. After i click on the >> in the dashboard it goes here:

http://novaljapag.com/villa/wp-admin/admin.php?pag…..tabase.php

and it says:

You do not have sufficient permissions to access this page.

Hope it helps a little more.

P.S.

Folder permissons are 0755. I didn't change that.

Tnx again

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
36 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: 3747

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5346

Posts: 18716

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

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

Administrators: Oliver (6400), Nicky (3)