jhcomputers

Member
Apr 13, 2004
5
0
151
I started having problems with web forms around the 14th of August. I have 5 forms on a site, and 3 out of 5 stopped working suddenly. All of the forms submit (I get the e-mails), but 3 of the forms, on redirect they go to 404 page not found.
THe other two redirect to a "Thank You" page as they should.

I went the the error log and I'm getting:
"script not found or unable to stat: /home/warmcom/public_html/cgi-bin/warmcomfort.com"

I initially figured something was messed with the redirect line on those pages..
I noticed that Cpanel updated on the 14th, I checked the change log and noticed there was a change in redirects. So I figured it was a problem there. I've spent hours on this, rebuilding the forms, copying and pasting things from the forms that work to the ones that don't, etc. and still nothing..

NOW THE ODD PART.. After the other attempts failed I had a hunch. So I took one of the forms that was working "credit.html" and renamed it "payment.html" ,,,, and it FAILS. The only thing that changed was the filename itself. If I change the name back, it works again.
I tried renaming the file to something else and that didn't work either.

If anyone can help on this I would greatly appreciate it.

Thanks,

JH
 

jayh38

Well-Known Member
Mar 3, 2006
1,212
0
166
both your credit.html and payment.html forms are rendering fine for me. Did you fix them? If not, then clear your browser cache.
 

jhcomputers

Member
Apr 13, 2004
5
0
151
hmm.. Still not working for me

I tried again. Credit is working (which has been working), but the others are still not working.

I cleared my cache, etc. and have been having other people try it with the same results.


Odd.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
If the redirects are handled externally, then what does the .htaccess file contain?
 

jhcomputers

Member
Apr 13, 2004
5
0
151
not sure

Not sure what you mean... The redirects are handled within the html form itself via a redirect line.

This just doesn't make sense. Why would a form work when it is named one thing and then fail when it's filename is changed to something else? I took one of the 2 forms that work, renamed it and it worked fine so that tells me it's not the forms itself.

The only thing I can tie into it is that Cpanel updated on the 14th, and that's when they started failing. I'm using latest "release" cpanel.



JH
 

koolcards

Well-Known Member
Oct 8, 2003
146
0
166
Tampa, Fl
This just doesn't make sense. Why would a form work when it is named one thing and then fail when it's filename is changed to something else?
I took one of the 2 forms that work, renamed it and it worked fine so that tells me it's not the forms itself. JH
Huh? Okay, okay. doesn't matter ;)

Are your redirects external (using 'http') requests and, if so, are you using the extra "www" in the URL? Have you checked your DNS and named service?
 

jhcomputers

Member
Apr 13, 2004
5
0
151
I've tried both external address using http://warmcomfort.com/thankyou.htm
and just using /thankyou.htm, both with the same results.

I thought originally that it was the way the redirect was formatted (even though it previously worked), but no luck when I changed the format. Then I noticed the whole file name thing.


I guess DNS could be the issue?
 

koolcards

Well-Known Member
Oct 8, 2003
146
0
166
Tampa, Fl
I've tried both external address using http://warmcomfort.com/thankyou.htm
and just using /thankyou.htm, both with the same results.

I thought originally that it was the way the redirect was formatted (even though it previously worked), but no luck when I changed the format. Then I noticed the whole file name thing.

I guess DNS could be the issue?
I'd thought it was worth checking but, with the domain name, your DNS checks out fine. :cool:

this link works okay.
http://warmcomfort.com/thankyou.htm
Give us something to test, like a page containing the redirect to that page.
 

jhcomputers

Member
Apr 13, 2004
5
0
151
I think it's fixed now. I changed the link for the redirect (as koolcards) brought up and made it external using http (did that before but it didn't work).. Seemed to do the trick this time. Odd, 2 of the pages liked it just fine, but the other 3 didn't. I changed them all to a full address and they all seem to work - - - for now.. lol

Thanks for the help and suggestions, I appreciate it!


JH