Loading ...
Sorry, an error occurred while loading the content.

RE: [PBML] Guestbook script problem

Expand Messages
  • Charles K. Clarkson
    ... You should try testing your scripts from the command line before running them on the server. Your program is riddle with typographical errors and
    Message 1 of 2 , Nov 27, 2002
    • 0 Attachment
      Mystik Gotan [gotan2k3@...] wrote:

      : I'm getting a 500 error on my script.
      : I changed some things, like print content type in
      : subs, and I put the HTML form in the script. But
      : no changes for the ISE error.

      You should try testing your scripts from the
      command line before running them on the server.
      Your program is riddle with typographical errors
      and undeclared variables.
      If you don't have access to the command line,
      try installing perl on your local system. You can
      check your script's syntax with the -c option on
      the command line or on the shebang (#!) line. If
      you absolutely have to run the script from a
      server try carping your fatals to the browser:

      #!/usr/local/bin/perl -T

      use CGI::Carp 'fatalsToBrowser';
      .
      .
      .


      HTH,

      Charles K. Clarkson
      --
      Head Bottle Washer,
      Clarkson Energy Homes, Inc.
      Mobile Home Specialists
      254 968-8328
    Your message has been successfully submitted and would be delivered to recipients shortly.