in reply to Re: Dynamic Validation messages in PERL Script
in thread Dynamic Validation messages in PERL Script

Thanks for your reply monks!!!!

Hi im getting the following error message in the browser/log file

Software error:

Expires: Wed, 01 Feb 2012 09:38:46 GMT

Date: Thu, 02 Feb 2012 09:38:46 GMT

Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">

<head>

<title>Error</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

</head>

<body bgcolor="white">

Error in calling HTML script---no output method defined.

Known Output Methods:

</body>

</html> at /desktop/mydocs/cgi-bin/myfolder/myperlfile.pl line 190.

My code part is as follows:

if ($output == 0) {

my $error = <<END;

Error in calling HTML script---no output method defined.

Known Output Methods:

END

wlErrorMail(\%FDG, $error);

die(wlErrorPage($error));---- Line number 190

}

}

Let me know if you need further more information..... Regards Ramakanth
  • Comment on Re^2: Dynamic Validation messages in PERL Script

Replies are listed 'Best First'.
Re^3: Dynamic Validation messages in PERL Script
by marto (Cardinal) on Feb 02, 2012 at 11:03 UTC

    Now you know where to start debugging, you should investigate what wlErrorPage does, or why it behaves differently on the two servers. I advised you to read quite a few links, please do so. Also post formatting guidelines are displayed when you compose and again when you preview a post, please don't ignore them.

      Thanks for your reply!!!!. I got resolved the above issue by placing the required perl module in perl path and specificed the path in myperlfile.pl

      I got another error i.e Undefined subroutine &main::getDate

      My code line corresponding to the above error is my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst,$century,$amon,$aday) = &getDate;

      Can anyone suggest me how to resolve the above undefined error..Thanks in advance!!!

      Regards Ramakanth