Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Dynamic Validation messages in PERL Script

by burra_ramakanth (Initiate)
on Feb 02, 2012 at 09:03 UTC ( #951385=perlquestion: print w/ replies, xml ) Need Help??
burra_ramakanth has asked for the wisdom of the Perl Monks concerning the following question:

Hello Monks!!!, I am new to PERL Scritping. One of my application contains a perl script which gets processed after hitting on SUBMIT button in an application form. Initially the application is on 'SERVER A' which is tied to Iplanet Server, when I hit on Submit button without filling the form then dynamic validation messages are successfully displayed.Now I copied the same application to 'SERVER B' where this server is tied to APACHE,when I hit the submit button without filling the same form in this server B it is displayed with a blank screen instead of Validation messages. How does the validation messages are generated dynamically? Thanks a lot in advance for your help.. Regards, Ramakanth

Comment on Dynamic Validation messages in PERL Script
Re: Dynamic Validation messages in PERL Script
by Anonymous Monk on Feb 02, 2012 at 09:17 UTC
Re: Dynamic Validation messages in PERL Script
by Anonymous Monk on Feb 02, 2012 at 09:33 UTC
Re: Dynamic Validation messages in PERL Script
by marto (Chancellor) on Feb 02, 2012 at 09:45 UTC
      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:

      • GENFILE
      • SENDFILE
      • ORAFILE

      </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:

      • GENFILE
      • SENDFILE
      • ORAFILE
      END

      wlErrorMail(\%FDG, $error);

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

      }

      }

      Let me know if you need further more information..... Regards Ramakanth

        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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://951385]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (18)
As of 2014-09-30 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (383 votes), past polls