Jump to content


Photo

Form Not Working


  • Please log in to reply
4 replies to this topic

#1 Sue009009009

Sue009009009
  • Members
  • 3 posts

Posted 27 July 2016 - 12:29 PM

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/c...l/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
 
 
 
 


#2 Sue009009009

Sue009009009
  • Members
  • 3 posts

Posted 27 July 2016 - 12:56 PM

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">



#3 TCH-Dick

TCH-Dick

    General Manager

  • Admins
  • PipPipPipPip
  • 5,887 posts

Posted 27 July 2016 - 01:13 PM

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.

Dick DeVance
General Manager
TotalChoice Hosting, Inc
dick@totalchoicehosting.com


Posted Image


#4 TCH-Dick

TCH-Dick

    General Manager

  • Admins
  • PipPipPipPip
  • 5,887 posts

Posted 27 July 2016 - 01:25 PM

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

Dick DeVance
General Manager
TotalChoice Hosting, Inc
dick@totalchoicehosting.com


Posted Image


#5 TCH-Thomas

TCH-Thomas

    Volunteer Moderator

  • Members
  • PipPipPipPip
  • 15,164 posts

Posted 28 July 2016 - 01:06 AM

Welcome to the forum, Sue009009009. :)


Thomas Jikrantz
Forum Moderator
TotalChoice Hosting, Inc.

Any links or suggestions for third party software/sites should be used at your own risk. My opinions and recommendations are not necessary those of TCH and TCH is not responsible.

As a Forum Moderator I can assist in answering many of your hosting related questions. However, I am unable to answer questions about specifics relating to your account such as billing and server related issues. Should you need assistance in these areas, please contact our Help Desk or our many other options. Another good place to find answers is with our help pages, tutorials and movie tutorials.
Web Hosting by Total Choice Web Hosting - 24/7 Help Desk




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users