473,325 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Contact Form Problem

For some reason I can't seem to get the contact form on our website to work
any longer. I think I must have something wrong in the script because I keep
getting an "Internal Server Error" upon submit but can't work out why.
Anybody got any ideas as to what might be the problem?
Form is at http://www.painswickyfc.co.uk/client/client8.htm

Many thanks

--
Steevo
Jul 23 '05 #1
20 2746
Steevo <st****@uk2k.nospam.com> wrote:
For some reason I can't seem to get the contact form on our website
to work
any longer. I think I must have something wrong in the script
because I keep
getting an "Internal Server Error" upon submit but can't work out
why.
Anybody got any ideas as to what might be the problem?
Form is at http://www.painswickyfc.co.uk/client/client8.htm

Many thanks


Which ng do you want the response in?
Jul 23 '05 #2
Steevo wrote:
For some reason I can't seem to get the contact form on our website to work
any longer. I think I must have something wrong in the script because I keep
getting an "Internal Server Error" upon submit but can't work out why.
Anybody got any ideas as to what might be the problem?
Form is at http://www.painswickyfc.co.uk/client/client8.htm

Many thanks


<form method="post"
action="http://www.painswickyfc.co.uk/cgi-sys/cgiemail/contact.txt">

This seems a little unusual to me, but then what do I know? ^^^

Typically the action parameter specifies the name of an executable
script and has a type of ".pl", ".php", ".cgi", or no type at all, not a
file with type ".txt".

NM

--
convert uppercase WORDS to single keystrokes to reply
Jul 23 '05 #3
Comp.infosystems.www.authoring.html would be best if possible. Unfortunatly
my news server no longer allows me to read messages on either of the other
two NGs.

Many thanks

--
Steevo
"Neal" <ne*****@yahoo.com> wrote in message
news:op**************@news.individual.net...
Steevo <st****@uk2k.nospam.com> wrote:
For some reason I can't seem to get the contact form on our website to
work
any longer. I think I must have something wrong in the script because I
keep
getting an "Internal Server Error" upon submit but can't work out why.
Anybody got any ideas as to what might be the problem?
Form is at http://www.painswickyfc.co.uk/client/client8.htm

Many thanks


Which ng do you want the response in?

Jul 23 '05 #4
"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...
Steevo wrote:
For some reason I can't seem to get the contact form on our website to
work
any longer. I think I must have something wrong in the script because I
keep
getting an "Internal Server Error" upon submit but can't work out why.
Anybody got any ideas as to what might be the problem?
Form is at http://www.painswickyfc.co.uk/client/client8.htm

Many thanks


<form method="post"
action="http://www.painswickyfc.co.uk/cgi-sys/cgiemail/contact.txt">

This seems a little unusual to me, but then what do I know? ^^^

Typically the action parameter specifies the name of an executable script
and has a type of ".pl", ".php", ".cgi", or no type at all, not a file
with type ".txt".

NM

--
convert uppercase WORDS to single keystrokes to reply

I used the *.txt action method as recommended as I recall by a website I
found whilst making the website. I'm afraid I am unable to recall the site
at the moment. It contact us.txt file contains the following information:

To: in**@painswickyfc.co.uk
Subject: Painswick YFC Feedback

Feedback from Painswick YFC Website:

First Name: [FirstName]
Last Name: [LastName]
Email Address: [EmailAddress]
Address 1: [Address1]
Address 2: [Address2]
Address 3: [Address3]
Address 4: [Address4]
Postcode: [Postcode]
How Did You Hear? [Foundby]
Other: [Other]
Comments: [Comments]

--
Steevo
Jul 23 '05 #5
Steevo wrote:
"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...
Steevo wrote:
For some reason I can't seem to get the contact form on our website to
work
any longer. I think I must have something wrong in the script because I
keep
getting an "Internal Server Error" upon submit but can't work out why.
Anybody got any ideas as to what might be the problem?
Form is at http://www.painswickyfc.co.uk/client/client8.htm

Many thanks


<form method="post"
action="http://www.painswickyfc.co.uk/cgi-sys/cgiemail/contact.txt">

This seems a little unusual to me, but then what do I know? ^^^

Typically the action parameter specifies the name of an executable script
and has a type of ".pl", ".php", ".cgi", or no type at all, not a file
with type ".txt".

NM

--
convert uppercase WORDS to single keystrokes to reply


I used the *.txt action method as recommended as I recall by a website I
found whilst making the website. I'm afraid I am unable to recall the site
at the moment. It contact us.txt file contains the following information:

To: in**@painswickyfc.co.uk
Subject: Painswick YFC Feedback

Feedback from Painswick YFC Website:

First Name: [FirstName]
Last Name: [LastName]
Email Address: [EmailAddress]
Address 1: [Address1]
Address 2: [Address2]
Address 3: [Address3]
Address 4: [Address4]
Postcode: [Postcode]
How Did You Hear? [Foundby]
Other: [Other]
Comments: [Comments]


Need to see the cgiemail script.

NM

--
convert uppercase WORDS to single keystrokes to reply
Jul 23 '05 #6

"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...

Need to see the cgiemail script.

NM

--
convert uppercase WORDS to single keystrokes to reply


How would I access that?

--
Steevo
Jul 23 '05 #7
Steevo wrote:
"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...
Need to see the cgiemail script.

NM

--
convert uppercase WORDS to single keystrokes to reply

How would I access that?


Do you own your server? If so, what server software are you running?
If you are being hosted is the form-to-email script yours or is it
provided by your host?

NM

--
convert uppercase WORDS to single keystrokes to reply
Jul 23 '05 #8
On Sun, 09 Jan 2005 21:29:43 +0000, Steevo wrote:
For some reason I can't seem to get the contact form on our website to
work any longer. I think I must have something wrong in the script because
I keep getting an "Internal Server Error" upon submit but can't work out
why. Anybody got any ideas as to what might be the problem? Form is at
http://www.painswickyfc.co.uk/client/client8.htm

Many thanks


Could you provide us the content of contact.txt ?

Most web servers are configured to run all files under /cgi-bin/ as
programs. I'm assuming that on your server, /cgi-sys/ is set up the same
way. Is there an actual executable script (probably ending in .cgi or
..pl) that was included in your cgiemail package?

HTH,
La'ie Techie

Jul 23 '05 #9
Steevo wrote:
For some reason I can't seem to get the contact form on our website to work
any longer. I think I must have something wrong in the script because I keep
getting an "Internal Server Error" upon submit but can't work out why.
Anybody got any ideas as to what might be the problem?

The usual way is to look at the error log for the site. It tells you in
detail what went wrong.
The usual reason for a suddenly non-functional unit is that the file is
no longer marked as executable. This happens when changes are made and
uploaded to the site: the mode bits get changed.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #10
"Jim Moe" <jm***************@sohnen-moe.com> wrote in message
news:u9********************@giganews.com...
Steevo wrote:
For some reason I can't seem to get the contact form on our website to
work
any longer. I think I must have something wrong in the script because I
keep
getting an "Internal Server Error" upon submit but can't work out why.
Anybody got any ideas as to what might be the problem?

The usual way is to look at the error log for the site. It tells you in
detail what went wrong.
The usual reason for a suddenly non-functional unit is that the file is
no longer marked as executable. This happens when changes are made and
uploaded to the site: the mode bits get changed.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Error log entries as follows:

[Mon Jan 10 21:05:42 2005] [error] [client 195.92.168.177] File does not
exist: /home/painwick/public_html/500.shtml
[Mon Jan 10 20:10:39 2005] [error] [client 65.112.130.130] File does not
exist: /home/painwick/public_html/500.shtml
[Mon Jan 10 20:10:33 2005] [error] [client 65.112.130.130] File does not
exist: /home/painwick/public_html/500.shtml
[Mon Jan 10 16:07:42 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/404.shtml
[Mon Jan 10 16:07:42 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/favicon.ico
[Mon Jan 10 16:07:41 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/500.shtml
[Mon Jan 10 16:07:32 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/404.shtml
[Mon Jan 10 16:07:32 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/favicon.ico
[Mon Jan 10 16:07:32 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/500.shtml
[Mon Jan 10 16:06:59 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/404.shtml
[Mon Jan 10 16:06:59 2005] [error] [client 193.216.211.136] File does not
exist: /home/painwick/public_html/favicon.ico
[Mon Jan 10 10:16:26 2005] [error] [client 81.178.222.123] File does not
exist: /home/painwick/public_html/404.shtml
[Mon Jan 10 10:16:26 2005] [error] [client 81.178.222.123] File does not
exist: /home/painwick/public_html/favicon.ico

--
Steevo
Jul 23 '05 #11
"La?ie Techie" <laie@win_remove_get_nospam_solutions.com> wrote in message
news:1105325340.f2068d5d0621a8dc3ba2708a9e8a569a@t eranews...
On Sun, 09 Jan 2005 21:29:43 +0000, Steevo wrote:
For some reason I can't seem to get the contact form on our website to
work any longer. I think I must have something wrong in the script
because
I keep getting an "Internal Server Error" upon submit but can't work out
why. Anybody got any ideas as to what might be the problem? Form is at
http://www.painswickyfc.co.uk/client/client8.htm

Many thanks


Could you provide us the content of contact.txt ?

Most web servers are configured to run all files under /cgi-bin/ as
programs. I'm assuming that on your server, /cgi-sys/ is set up the same
way. Is there an actual executable script (probably ending in .cgi or
.pl) that was included in your cgiemail package?

HTH,
La'ie Techie


The contact us.txt file contains the following information:

To: in**@painswickyfc.co.uk
Subject: Painswick YFC Feedback

Feedback from Painswick YFC Website:

First Name: [FirstName]
Last Name: [LastName]
Email Address: [EmailAddress]
Address 1: [Address1]
Address 2: [Address2]
Address 3: [Address3]
Address 4: [Address4]
Postcode: [Postcode]
How Did You Hear? [Foundby]
Other: [Other]
Comments: [Comments]

I do not own the server which is hosting the site so I'm afraid I cannot be
of much help on that one. To edit server details I am using CPanel 9 which
(i now recall) is where I found the information about how to use cgiemail on
my site.
Having just tried to access this page regarding cgiemail in Cpanel the
actual page did not load, instead the "internal server error" message I was
experiencing when submitting the forms appeared. Does this mean it could be
a server error rather than an error with my website itself?

Many thanks
--
Steevo

Jul 23 '05 #12
"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...
Steevo wrote:
"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...
Need to see the cgiemail script.

NM

--
convert uppercase WORDS to single keystrokes to reply

How would I access that?


Do you own your server? If so, what server software are you running? If
you are being hosted is the form-to-email script yours or is it provided
by your host?

NM

--
convert uppercase WORDS to single keystrokes to reply


No, I do not own the hosting server - I'm afraid I can't be of much help on
that one. The form to email script is provided by the host in a cgi-bin (i
think!) directory.
--
Steevo
Jul 23 '05 #13
Steevo wrote:

The usual way is to look at the error log for the site. It tells you in
detail what went wrong.
The usual reason for a suddenly non-functional unit is that the file is
no longer marked as executable. This happens when changes are made and
uploaded to the site: the mode bits get changed.

Error log entries as follows:

[Mon Jan 10 21:05:42 2005] [error] [client 195.92.168.177] File does not
exist: /home/painwick/public_html/500.shtml

The messages are the least useful I've ever seen for an apache httpd
server. Apparently to get useful information you need to create an error
page for server code 500. (The same applies for 404.) Cpanel has a
function to do that.
Error code 500 is, obviously, Internal Server Error. Specifically it
indicates a CGI program crashed or is mis-configured in some way.
What did you change just before it stopped working?

To be honest this is a problem your hosting service's tech support
should be handling. You do not understand the server internals and we do
have access. Your tech support will most likely fix this in a couple of hours.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #14
"Jim Moe" <jm***************@sohnen-moe.com> wrote in message
news:JO********************@giganews.com...
Steevo wrote:

The usual way is to look at the error log for the site. It tells you in
detail what went wrong.
The usual reason for a suddenly non-functional unit is that the file is
no longer marked as executable. This happens when changes are made and
uploaded to the site: the mode bits get changed.
Error log entries as follows:

[Mon Jan 10 21:05:42 2005] [error] [client 195.92.168.177] File does not
exist: /home/painwick/public_html/500.shtml

The messages are the least useful I've ever seen for an apache httpd
server. Apparently to get useful information you need to create an error
page for server code 500. (The same applies for 404.) Cpanel has a
function to do that.


I didn't think they were particularly forthcoming with information either.
I'm afraid to say I'm unable to find the command to create error page for
server code 500. Would it be under "custom error pages"?
Error code 500 is, obviously, Internal Server Error. Specifically it
indicates a CGI program crashed or is mis-configured in some way.
What did you change just before it stopped working?
That's the thing I can't understand. Last night I thought to myself that I
hadn't recieved any feedback throught the contact form for a while so
thought I would just check to see if it was configured correctly. I tested
it by inputting info and clicking submit and that was when I came across the
error.
To be honest this is a problem your hosting service's tech support
should be handling. You do not understand the server internals and we do
have access. Your tech support will most likely fix this in a couple of
hours.
Considering I noticed the error last night (about 9:30) and it is still
showing the same error page I think "a couple of hours" might be a little on
the hopeful side. The only slight problem is that I am unable to contact
them as I have no email or other details.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

Many thanks

--
Steevo
Jul 23 '05 #15
"Steevo" <st****@uk2k.nospam.com> wrote in message
news:cr**********@news7.svr.pol.co.uk...
"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...
Steevo wrote:
"News Me" <newsTWOme@pacifierDOTcom> wrote in message
news:10*************@corp.supernews.com...

Need to see the cgiemail script.

NM

--
convert uppercase WORDS to single keystrokes to reply
How would I access that?


Do you own your server? If so, what server software are you running? If
you are being hosted is the form-to-email script yours or is it provided
by your host?

NM

--
convert uppercase WORDS to single keystrokes to reply


No, I do not own the hosting server - I'm afraid I can't be of much help
on that one. The form to email script is provided by the host in a cgi-bin
(i think!) directory.
--
Steevo

Actually it appears I got that wrong, the directory is actually cgi-sys

--
Steevo
Jul 23 '05 #16
Steevo wrote:

I didn't think they were particularly forthcoming with information either.
I'm afraid to say I'm unable to find the command to create error page for
server code 500. Would it be under "custom error pages"?
I guess I use a different version of Cpanel. It shows an array of icons
one of which is "Error Pages". Clicking on that gives a list of error
pages which may be customized.
To be honest this is a problem your hosting service's tech support
should be handling. You do not understand the server internals and we do
have access. Your tech support will most likely fix this in a couple of
hours.


Considering I noticed the error last night (about 9:30) and it is still
showing the same error page I think "a couple of hours" might be a little on
the hopeful side. The only slight problem is that I am unable to contact
them as I have no email or other details.

There is no telephone support? Or support request page where you tell
them to call you?

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #17
Steevo wrote:

That's the thing I can't understand. Last night I thought to myself that I
hadn't recieved any feedback throught the contact form for a while so
thought I would just check to see if it was configured correctly. I tested
it by inputting info and clicking submit and that was when I came across the
error.

I decided to check on your hosting service, http://cotswoldweb.com/.
They have a "temporary page for the cotswold site on the new servers"
which may be related to your recent difficulty.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #18
On Mon, 10 Jan 2005 21:09:10 +0000, Steevo wrote:
"La?ie Techie" <laie@win_remove_get_nospam_solutions.com> wrote in message
news:1105325340.f2068d5d0621a8dc3ba2708a9e8a569a@t eranews...
Could you provide us the content of contact.txt ?

Most web servers are configured to run all files under /cgi-bin/ as
programs. I'm assuming that on your server, /cgi-sys/ is set up the
same way. Is there an actual executable script (probably ending in .cgi
or .pl) that was included in your cgiemail package?

HTH,
La'ie Techie

[snip contact.txt /]
I do not own the server which is hosting the site so I'm afraid I cannot
be of much help on that one. To edit server details I am using CPanel 9
which (i now recall) is where I found the information about how to use
cgiemail on my site.
Having just tried to access this page regarding cgiemail in Cpanel the
actual page did not load, instead the "internal server error" message I
was experiencing when submitting the forms appeared. Does this mean it
could be a server error rather than an error with my website itself?

Many thanks


OK - this is obviously a text file that the server is trying to run as a
program. What other files are under /cgi-sys/cgiemail/ ? One of those is
probably what you want for the form's action.

HTH,
La'ie Techie
Jul 23 '05 #19
"Lāʻie Techie" <laie@win_remove_get_nospam_solutions.com> wrote in message news:1105433082.6f8712c2ac650563fbf61bcc45ac8ae3@t eranews...
On Mon, 10 Jan 2005 21:09:10 +0000, Steevo wrote:
"La?ie Techie" <laie@win_remove_get_nospam_solutions.com> wrote in message
news:1105325340.f2068d5d0621a8dc3ba2708a9e8a569a@t eranews...
Could you provide us the content of contact.txt ?

Most web servers are configured to run all files under /cgi-bin/ as
programs. I'm assuming that on your server, /cgi-sys/ is set up the
same way. Is there an actual executable script (probably ending in ..cgi
or .pl) that was included in your cgiemail package?

HTH,
La'ie Techie


[snip contact.txt /]
I do not own the server which is hosting the site so I'm afraid I cannot
be of much help on that one. To edit server details I am using CPanel 9
which (i now recall) is where I found the information about how to use
cgiemail on my site.
Having just tried to access this page regarding cgiemail in Cpanel the
actual page did not load, instead the "internal server error" message I
was experiencing when submitting the forms appeared. Does this mean it
could be a server error rather than an error with my website itself?

Many thanks


OK - this is obviously a text file that the server is trying to run as a
program. What other files are under /cgi-sys/cgiemail/ ? One of those is
probably what you want for the form's action.

HTH,
La'ie Techie


I'm afraid I am unable to access the cgi-sys/cgiemail folder on the site, the "Internal Server Error" message appears when attempting to load the folder.

--
Steevo
Jul 23 '05 #20
"Jim Moe" <jm***************@sohnen-moe.com> wrote in message
news:1s********************@giganews.com...
Steevo wrote:

That's the thing I can't understand. Last night I thought to myself that
I hadn't recieved any feedback throught the contact form for a while so
thought I would just check to see if it was configured correctly. I
tested it by inputting info and clicking submit and that was when I came
across the error.

I decided to check on your hosting service, http://cotswoldweb.com/.
They have a "temporary page for the cotswold site on the new servers"
which may be related to your recent difficulty.

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Thanks Jim, have attempted to email the host to find out if the problem is
at their end. Will let you know the result.....

Many thanks once again!

--
Steevo
Jul 23 '05 #21

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Jason | last post by:
I'm struggling with this email code and I'm not php freak since I'm starting to learn php stuff. Could use some help... It seems that I get too many parse errors all over and cannot figure went...
1
by: rjbonn | last post by:
I'm setting up a contact list for a musician, who is about to release her first CD. She would like a contact list that can track the people she meets, who will be in various categories -- fans,...
0
by: Robert J. Bonn | last post by:
I am setting up a contact list for a musician, who is about to release her first CD. She would like a contact list that can track all the people she meets, who will be in various categories --...
3
by: John | last post by:
What is the easiest way to make the contact form show on the front page. Meaning on want to keep the front html page and when someone clicks on the contact us link the front page remains the same,...
4
by: thanos | last post by:
Hello, I'm relatively new to PHP so I found this free contact us script on the net that i was going to use for my Contact Us php page. Its works pretty good except for error handling. I was...
4
by: Gilles Ganault | last post by:
Hello I'd like to find a basic PHP+MySQL contact manager, so that we can keep a list of our customers, and a contact history (ie. whenever they call us for a problem, it'll be in the file)....
8
by: chromis | last post by:
Hi, I'm writing a contacts section for a cms on a website, I've decided to write the section in OO code. So far I have my Contacts object and a page structure I would use for a procedural site. ...
3
by: jerry101 | last post by:
Okay, so I have no knowledge with ASP and I was asked to look at this contact form because the emails aren't delivering. I'll post the whole page of code, because I am unsure at what is what...
4
by: tokcy | last post by:
HI every one, i am using tooltip on click of link and i want like when that tooltip open then background window would be blure(). can anyone help me...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.