1,105,334 Community Members

formmail broken

Member Avatar
zalel
Newbie Poster
1 post since Feb 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

This is a website I designed a few years ago. The CONTACT and EMAIL SUBSCRIBE forms used to work, and they are broken.

When I click on the Submit button, I get a server error saying "The server encountered an internal error or misconfiguration and was unable to complete your request." I don't see what I'm doing wrong. If I can get pointed toward a solution, I'd really appreciate it.

These are links to the pages, followed by the relevant snippets.
http://roxburyyouthworks.org/pages/contact_test.html
http://roxburyyouthworks.org/pages/email_test.html

This is a link to the formmail file. This file does reside in the cgi-bin folder where it belongs, but I put a copy here so that you could see it.
http://roxburyyouthworks.org/pdf/formmail.pl

This is the code at the beginning of the form section of the HTML page.

<form action="../cgi-bin/formmail.pl" method="post" name="email" id="email">
  <table width="418" border="0" cellpadding="5" cellspacing="0" id="emailtable">
            <input type="hidden" name="subject" value="email list subscribe">
              <input type="hidden" name="recipient" value="info@roxburyyouthworks.org","info@signifydesign.com">
                                          <input type="hidden" name="redirect" value="http://www.roxburyyouthworks.org/pages/thankyou.html">

Thanks!

Member Avatar
shibblez
Junior Poster in Training
77 posts since Oct 2010
Reputation Points: 2 [?]
Q&As Helped to Solve: 7 [?]
Skill Endorsements: 0 [?]
 
0
 

A few quick thoughts -

The first two lines of the script look like this

æ²utxtåÖ#!/usr/bin/perl
##############################################################################

Are the characters before the hash (#) in the first line actually in the production version of the script? If so, they need removing.

Is PERL /usr/bin/perl?

Is the script executable?

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: