www.webdeveloper.com
Results 1 to 2 of 2

Thread: NMS Formmail help

  1. #1
    Join Date
    Mar 2009
    Posts
    3

    NMS Formmail help

    First off I am a newbie

    Herre is my problem. My client had there sites hosted on Network solutions. I had formamil set up and running fine with little effort. They decide to switch to godaddy and now I cannot get formmail to work. I have tried for the past 5 hours to find my error. Called Godaddy twice een uploaded a fresh opy of formail and still get the same error. Hope somoen can help me here.

    The only differnece between godaddy and NS is at NS the site using formmail was the main wesite no at godaddy this site is hosted in a directory inside another site. Here are the detail of everything I am doing including the cgi errors I am getting.

    Thanks G.

    Error Code

    SoftException in Application.cpp:636: Could not execute script "/home/content/s/p/i/spiderlath/html/goldcast/cgi/FormMail.pl"
    Caused by SystemException in API_Linux.cpp:434: execve() for program "/home/content/s/p/i/spiderlath/html/goldcast/cgi/FormMail.pl" failed: Permission denied
    [Mon Mar 30 18:57:13 2009] [error] [client 70.244.173.166] Premature end of script headers: /var/chroot/home/content/s/p/i/spiderlath/html/goldcast/cgi/FormMail.pl

    MY Formmail Code

    #!/usr/bin/perl -wT
    #
    # NMS FormMail Version 3.14c1
    #

    use strict;
    use vars qw(
    $DEBUGGING $emulate_matts_code $secure %more_config
    $allow_empty_ref $max_recipients $mailprog @referers
    @allow_mail_to @recipients %recipient_alias
    @valid_ENV $date_fmt $style $send_confirmation_mail
    $confirmation_text $locale $charset $no_content
    $double_spacing $wrap_text $wrap_style $postmaster
    $address_style
    );

    # PROGRAM INFORMATION
    # -------------------
    # FormMail.pl Version 3.14c1
    #
    # This program is licensed in the same way as Perl
    # itself. You are free to choose between the GNU Public
    # License <http://www.gnu.org/licenses/gpl.html> or
    # the Artistic License
    # <http://www.perl.com/pub/a/language/misc/Artistic.html>
    #
    # For help on configuration or installation see the
    # README file or the POD documentation at the end of
    # this file.

    # USER CONFIGURATION SECTION
    # --------------------------
    # Modify these to your own settings. You might have to
    # contact your system administrator if you do not run
    # your own web server. If the purpose of these
    # parameters seems unclear, please see the README file.
    #
    BEGIN
    {
    $DEBUGGING = 1;
    $emulate_matts_code= 0;
    $secure = 1;
    $allow_empty_ref = 1;
    $max_recipients = 5;
    $mailprog = '/usr/lib/sendmail -oi -t';
    $postmaster = 'info@goldcastproducts.com';
    @referers = qw(goldcastproducts.com);
    @allow_mail_to = qw(info@goldcastproducts.com);
    @recipients = ();
    %recipient_alias = ();
    @valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
    $locale = '';
    $charset = 'iso-8859-1';
    $date_fmt = '%A, %B %d, %Y at %H:%M:%S';
    $style = 'videorequest.css';
    $no_content = 0;
    $double_spacing = 1;
    $wrap_text = 0;
    $wrap_style = 1;
    $address_style = 0;
    $send_confirmation_mail = 0;
    $confirmation_text = <<'END_OF_CONFIRMATION';
    From: you@your.com
    Subject: form submission

    Thank you for your form submission.

    END_OF_CONFIRMATION

    Code From My Form Page

    <script type="text/javascript">window.onload = function () { document.getElementsByName('Name')[0].focus();}</script><h1 id="headings_free_video"><span>Free Video</span></h1><html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>Feedback</title>
    <link href="videorequest.css" rel="stylesheet" type="text/css">
    </head>

    <body>
    <form name="frm" action="/cgi/FormMail.pl" method="post" onsubmit="return validate(frm)">
    <INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.goldcastproducts.com/free_video_thanks.php">

  2. #2
    Join Date
    Mar 2009
    Posts
    3
    resolved

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles