jeff280679 has asked for the wisdom of the Perl Monks concerning the following question:
which currently gives me a blank page in ie with default looking source, which is not written by me:my $cgi = new CGI; print $cgi->header(); # get the User, or go to login page my $user = new GWAK::User() or GWAK::User->redirect_to_login(GWAK::User->errstr); print $user->page_start();
if I change the code at the top to:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> +</HEAD> <BODY></BODY></HTML>
The page prints completely correctly (ie. does not die either). The function replaced, GWAK::User->redirect_to_login only prints a redirect message and returns, why would this stop the page from displaying?my $cgi = new CGI; print $cgi->header(); # get the User, or go to login page my $user = new GWAK::User() or die "Invalid User"; print $user->page_start();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: cgi page not showing
by little (Curate) on Jul 01, 2002 at 07:24 UTC | |
by jeff280679 (Initiate) on Jul 01, 2002 at 08:54 UTC | |
by little (Curate) on Jul 01, 2002 at 09:14 UTC | |
by amphiplex (Monk) on Jul 01, 2002 at 09:25 UTC | |
by little (Curate) on Jul 01, 2002 at 09:28 UTC | |
|
Re: cgi page not showing
by caedes (Pilgrim) on Jul 01, 2002 at 07:03 UTC | |
|
Re: cgi page not showing
by uwevoelker (Pilgrim) on Jul 01, 2002 at 08:45 UTC | |
by jeff280679 (Initiate) on Jul 01, 2002 at 09:25 UTC | |
by little (Curate) on Jul 01, 2002 at 09:30 UTC | |
by uwevoelker (Pilgrim) on Jul 02, 2002 at 17:36 UTC |