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
IIS Problems . . .
January 1, 2008
1:38 am
Eric E.
Guest

Please replace the ??? with your data!

  • The browser used: firefox (usually) but I've tried IE also
  • cforms version: 7.0
  • Your Wordpress version:2.32

[desc]:  I have my wordpress blog running on an IIS server.

I've tried all the fixes you suggested.  Spent about an hour on it and am giving up for now.

I tried editing the cforms.js file.  I've changed the uri line to:

var sajax_uri = "/index.php/contact/";

var sajax_uri = "/index.php/whatever/contact/";_

var sajax_uri= "/index.php"+document.location.pathname;

var sajax_uri= '/prefix/'  (not sure if I'm actually supposed to use the word "prefix" or something else)

and I've tried changing that line to other things as well.  I don't usually GET wordpress emails (you've mentioned in other posts that a person needs to verify that they're actually getting wordpress emails) so I should probably verifiy that it is working but I don't know how to do that. 

I do have email forms working on my server (check out truthsaves.org/contact/) and that works fine.

So, as you can see, I'm stuck.  I've tried doing everything you suggest, but am running into roadblocks.  Time to spend some time with the wife (New Year's Eve, after all!)

Thanks in advance and thank you very much for this awesome plugin.

Eric 

 

January 1, 2008
10:57 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Based on the information (URL) above, this is the prefix you should use:

whatever 

with IIS it may require to include the index.php "pre-prefix" as well.

here is the order in which I would try to get it working:

var sajax_uri = "/whatever/";

var sajax_uri = "/index.php/whatever/";

var sajax_uri = "/index.php/whatever/contact/";

var sajax_uri = "http://truthsaves.org/whatever/contact/";

var sajax_uri = "http://truthsaves.org/index.php/whatever/contact/";

Happy New Year!

January 1, 2008
7:31 pm
Eric E.
Guest

Hi there! Thanks for the quick response and HAPPY NEW YEAR!

I tried ALL the above solutions.

The form simply hangs when I click "submit." Nothing happens except the submit button disappears then the page just sits there statically.

Maybe I screwed up on the install or something (but I don't think so). 

Thanks again. I know it should work but I'm about ready to forget it! Before I just linked to the form that worked on my website (as you can see above the form). I might just have to do that unless you have any other ideas! thanks again,

Eric

January 3, 2008
3:59 am
Eric E.
Guest

Not sure if this will make any difference or not, but I have a php form on my site (http://truthsaves.org) that I've been using for a long time.  I also posted on my web host's forum to ask them why this (the cforms plugin) wasn't working when my other php form is working fine! 

I found out that I MUST use smtp settings to get it to work.  I have another form working and I set up the smtp settings to be the same as my other form . . . but cforms still hangs when I hit submit.  

Not sure what the deal is, but I thought maybe that extra information would help you think of a possible solution.  If not, it's OK!  I hope you're having a GREAT 2008!

Eric 

January 3, 2008
7:50 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

[EDIT: Resolved.
var sajax_uri = '/whatever/index.php/';
did the trick.]

 

 

Thanks Eric for the follow-up.

When I looked at your site, I noticed that none of the above and even some other extra Ajax target URLs would work. Not even the non-Ajax URLs where working, ie. direct URLs to your contact form.

Something very odd with the overall setup. Also, the fact that

http://truthsaves.org/whatever/contact/ &

http://truthsaves.org/contact/

would both show the WP contact form seems a bit odd. I've seen many IIS deployments so far (most of them using the'remove index.php' plugin) and I got cforms to work on all of them except this installation…

I have one more thought, I'll send you an email…

PS: The error has nothing to do with SMTP, this would be the second hump to take…we're not past the first yet ;-)

 

January 3, 2008
10:51 am
Andrew
Guest

Hi – I am having similar problems with getting emails to be sent through IIS.

Is there a simple step by step guide to getting this to work – all the guides I have seen through Google searches assume a lot about PHP – I'm a windows guy and have never had to touch PHP before.

My IIS server runs SMTP and works fine for .net apps.  I have made changes to the php.ini file, restarted the machine but still nothing.

I also tried to set the cforms to use google mail (which would be fine) but that didn't work either.

Any other suggestions? 

Using 2.3.2 wordpress 

http://www.warrior-class.co.uk

cforms Version v6.4

Cheers

Andrew 

January 3, 2008
1:50 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Andrew said:

Hi – I am having similar problems with getting emails to be sent through IIS.

Is there a simple step by step guide to getting this to work – all the guides I have seen through Google searches assume a lot about PHP – I’m a windows guy and have never had to touch PHP before.

My IIS server runs SMTP and works fine for .net apps.  I have made changes to the php.ini file, restarted the machine but still nothing.

I also tried to set the cforms to use google mail (which would be fine) but that didn’t work either.


ANDREW: 

Have you double checked the cforms SMTP settings for your gmail account (SSL etc.) and whether your gmail account is enabled to accept SMTP emails for delivery?

Do you have your gmail account (SMTP-wise) working with another email client, simply to confirm that SMTP is working with gmail?

Why not use the default (SMTP support turned off) mail delivery method (which is the PHP mail() way)? 

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
34 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: 3733

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5334

Posts: 18698

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

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

Administrators: Oliver (6400), Nicky (3)