Sue009009009 Posted July 27, 2016 Share Posted July 27, 2016 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 Quote Link to comment Share on other sites More sharing options...
Sue009009009 Posted July 27, 2016 Author Share Posted July 27, 2016 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"> Quote Link to comment Share on other sites More sharing options...
TCH-Dick Posted July 27, 2016 Share Posted July 27, 2016 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, strippedPlease 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. Quote Link to comment Share on other sites More sharing options...
TCH-Dick Posted July 27, 2016 Share Posted July 27, 2016 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 Quote Link to comment Share on other sites More sharing options...
TCH-Thomas Posted July 28, 2016 Share Posted July 28, 2016 Welcome to the forum, Sue009009009. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.