P.Z. Low Cost CPanel Web Hosting  

Go Back   P.Z. Low Cost CPanel Web Hosting > Reseller Only Forums > General Chat

General Chat Discuss anything which comes to mind here. Nothing is off topic!

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Formmail not working
Old
  (#1 (permalink))
bwit
Registered User
bwit is on a distinguished road
 
Status: Offline
Posts: 5
Join Date: Nov 2006
Rep Power: 0
Formmail not working - 12-28-2006, 12:09 AM

Hi,

I renamed formmail.pl to a new bot-proof name, however, when I run my forms, I get the following. I played with soupmail, but prefer not to use it. Can someone let me know what's wrong with formmail, please.

Thanks.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@myserver.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
   
Reply With Quote
Old
  (#2 (permalink))
sgibons
Registered User
sgibons will become famous soon enoughsgibons will become famous soon enough
 
Status: Offline
Posts: 8
Join Date: Feb 2006
Rep Power: 0
12-28-2006, 05:00 AM

I'm not an expert, but I imagine that somewhere in the formmail script, or in a file that talks to the script, the file name is used, maybe changing the file name broke it because of that.

Steve G.
   
Reply With Quote
Old
  (#3 (permalink))
BobtheWebMan2
Registered User
BobtheWebMan2 has a little shameless behaviour in the past
 
Status: Offline
Posts: 53
Join Date: Nov 2006
Rep Power: 0
12-28-2006, 02:32 PM

Chekc the file protections and make sure you have execute priv turned on
   
Reply With Quote
Old
  (#4 (permalink))
midwest
blink and it's over
midwest will become famous soon enough
 
midwest's Avatar
 
Status: Offline
Posts: 802
Join Date: Oct 2002
Location: Big Sky, MT
Rep Power: 78
12-28-2006, 05:33 PM

Put this as the second line in the file
use CGI::Carp qw(fatalsToBrowser);
it may give you a better error than a generic 500
500's are thrown for many reason, some straight forward and some obscure. They may be internal server misconfigs or may result from such simple things as uploading the file with DOS instead of unix line endings.
uploading as binary instead of ascii
file corruption on uploading
incorrect permissions
shebang(#!) line does not point to perl

.


Ronnie Gauthier
www.instaguide.com

======================
for official page-zone support please visit
www.page-zone.com/support.shtml
   
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail Formmail CGImail... neumannu47 General Questions and Comments 5 07-04-2004 09:00 PM
Formmail secure? Eric Schreiber General Questions and Comments 3 08-24-2003 10:20 AM
formmail question paulj General Questions and Comments 4 07-04-2003 09:04 PM
Global Formmail Disabled? stratplan General Chat 1 06-05-2003 07:18 PM
Formmail Clone, cgiemail... Katrina General Questions and Comments 6 02-10-2003 05:32 AM


Live Help



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC6
vBulletin Skin developed by: vBStyles.com
Copyright © 2002 Page-Zone Web Hosting. All rights reserved.
Smilies provided by Crack's Smilies http://www.mysmilies.com