cformsII Support Forum
Current User: Guest Login Register
Please consider registering

Search Forums:


 






cforms hangs after submit, One moment please …

Add a New Topic Reply to Post
Post
Guest

Mike Griffis

2:08 pm June 19, 2008

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

Admin

Oliver

Munich, Germany

6:01 pm June 19, 2008

posts 6002

_ 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/cforms/lib_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.


Guest

Mike Griffis

8:22 pm June 19, 2008

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

Admin

Oliver

Munich, Germany

11:51 pm June 19, 2008

posts 6002

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?

Guest

Mike Griffis

8:02 am June 20, 2008

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?

Guest

Mike Griffis

2:21 pm June 20, 2008

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/cforms/HISTORY.txt


… without a problem.I cannot directly reach:


http://www.tomnaashomes.com/wp-content/plugins/cforms/lib_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

Guest

Mike Griffis

6:01 pm June 20, 2008

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

Admin

Oliver

Munich, Germany

6:46 pm June 20, 2008

posts 6002

Excellent! Glad to hear that all is working now…

Guest

Onyeka

3:26 pm July 1, 2008

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

Admin

Oliver

Munich, Germany

8:21 pm July 1, 2008

posts 6002

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';

Guest

Leeza

10:49 pm July 11, 2009

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

Admin

Oliver

Munich, Germany

7:19 am July 13, 2009

posts 6002

check this URL:

http://www.role-magazine.com/w…..b_ajax.php

and read the post above yours #10

Guest

Jason

7:22 am July 17, 2009

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

Admin

Oliver

Munich, Germany

3:55 pm July 18, 2009

posts 6002

Thoughts?

something is not right.

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

Guest

Jason

4:25 pm July 18, 2009

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

Admin

Oliver

Munich, Germany

5:11 pm July 18, 2009

posts 6002

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.

Guest

Svetac

2:23 pm July 19, 2009

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


Admin

Oliver

Munich, Germany

7:22 am July 20, 2009

posts 6002

URL?

Guest

Svetac

11:02 am July 20, 2009

Hi Oliver,

tnx for quick reply.

Here it is:

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


2. test site (WP 2.8.2 +only cformsII 10.6 plugin and default theme) - http://novaljapag.com/villa/pr.....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.

Guest

Svetac

11:14 am July 20, 2009

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.....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

No Tags
Reply to Post


Reply to Topic:
cforms hangs after submit, One moment please ...
PLEASE READ THE FAQs FIRST! THANK YOU.

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
lol offended sad ??? yell cry frown kiss surprised wink innocent smile oops cool
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
2 + 7
   




About the delicious:days forum

Currently Online:

93 Guests

Membership:

There are 893 Members

There have been 2249 Guests

There is 1 Admin

There are 3 Moderators




West: The Cookbook

West: The Cookbook
- Jim Tobler

Favourite Dishes from the Tunku's Kitchen

Favourite Dishes from the Tunku's Kit...
- Y.T.M. Dato' Tunku Mukminah Tunku Mohd. Jiwa

Bittersweet: Lessons from My Mother's Kitchen

Bittersweet: Lessons from My Mother's...
- Matt McAllester

Low & Slow: Mastering the Art of Barbecue in Five Easy Lessons

Low & Slow: Mastering the Art of Barb...
- Colleen Rush

'wichcraft: Craft a sandwich into a meal--and a meal into a sandwich

'wichcraft: Craft a sandwich into a m...
- Tom Colicchio

Cindy Pawlcyn's Appetizers

Cindy Pawlcyn's Appetizers
- Cindy Pawlcyn

Serve the People: A Stir-Fried Journey Through China

Serve the People: A Stir-Fried Journe...
- Jen Lin-Liu

Our Grannies' Recipes

Our Grannies' Recipes
- Eoin Purcell

Alvaro's Mamma Toscana: The Authentic Tuscan Cookbook

Alvaro's Mamma Toscana: The Authentic...
- Alvaro Maccioni

I Loved, I Lost, I Made Spaghetti

I Loved, I Lost, I Made Spaghetti
- Giulia Melucci

Endangered Recipes: Too Good to Be Forgotten

Endangered Recipes: Too Good to Be Fo...
- Lari Robling

Hummingbird Bakery Cookbook

Hummingbird Bakery Cookbook
- Tarek Malouf

Mrs. Rowe's Little Book of Southern Pies

Mrs. Rowe's Little Book of Southern Pies
- Mrs. Rowe's Restaurant and Bakery

The Meat Bible

The Meat Bible
- David Lobel

The Sweet Life in Paris: Delicious Adventures in the World's Most Glorious - and Perplexing - City

The Sweet Life in Paris: Delicious Ad...
- David Lebovitz