perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: Re:Problems with $req_rec -> prev -> pnotes('EMBPERL_ERRORS') ;
Date Mon, 13 Jan 2003 20:03:38 GMT

>When i use [- $errors = $req_rec -> prev -> pnotes('EMBPERL_ERRORS') ; -]
>the apache log: (stay in loop)
>[Fri Jan 10 12:55:38 2003] [error] [29842]ERR:  24:  Error in Perl code:
Can't call method "pnotes" on an undefined value at
/home/masilva/local/apache/htdocs/embperl/verdoc-des/err.epl line 8.

There is no previous request, because you do an external request, you need
to do a subrequest

instead of

> ErrorDocument 500
http://merlin.cpqd.com.br:8082/embperl/verdoc-des/err.epl

write

 ErrorDocument 500 /embperl/verdoc-des/err.epl

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message