Jump to content
Sign in to follow this  
Sue009009009

Form Not Working

Recommended Posts

Hi,

 

We have used a form for several years without problem. But we are now getting a "500 Internal Server Error" message. Can anyone tell me why?

 

The form is located in a subdirectory of public_html called "OpenHouse." It includes this command:

 

<form action="http://ourname.org/cgi-bin/cgiemail/OpenHouse.txt" method="POST" name="OpenHouse" id="OpenHouse">
<INPUT TYPE="hidden" NAME="success" VALUE="http://ourname.org/ThankYou.shtml" />
There are two identical text files. Both are called OpenHouse.txt. One is located in the same subdirectory as the HTML file. The other is located in cgi-bin. (This cgi-bin is also a subdirectory of public_html.)
(Note: I've changed our user name to just "ourname.org" for this post. On the real file, it lists our actual name.)
Thank you for any help you can provide!
Sue

Share this post


Link to post
Share on other sites

Whoops. The forum didn't like when I posted that HTML command. It's:

 

<form action=". . . name.org/cgi-bin/cgiemail/OpenHouse.txt" method="POST" name="OpenHouse" id="OpenHouse">

Share this post


Link to post
Share on other sites

This was on older server running on a 32-bit OS and we only run install 64-bit OS with new servers. What this means is that your older copy of cgiemail was not compatible with the new and I have now updated your cgiemail file and all others on this server.

 

Before:

# file cgiemail
cgiemail: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, stripped
After:

# file cgiemail                           
cgiemail: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
Please accept my apology that this was overlooked and test our your script again. If you continue to have issues after this change, please follow up with out support desk.

Share this post


Link to post
Share on other sites

Just a note for anyone that has made use of the cPanel CGI Center in the past.

 

 

 

Deprecated CGI features

The new default cPanel theme (Paper Lantern) does not include an equivalent to the deprecated x3 theme's CGI Center interface (Home >> Software and Services >> CGI Center). We do not plan to add one in future versions of cPanel & WHM.

  • Existing CGI scripts will continue to function, regardless of the cPanel theme.
  • To add new CGI scripts, you must create them manually

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×