Jump to content

Form Not Working


Sue009009009

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
Link to comment
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.
Link to comment
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
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...