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.
 
I am using Embperl 1.3.4, Apache/1.3.27 (Unix) mod_perl/1.27
 
Anybody know what is wrong ?
 
Thank you
 
De: "Maur�cio Amorim " <[EMAIL PROTECTED]>
Para: embperl <[EMAIL PROTECTED]>
C�pia:
Data: Fri, 10 Jan 2003 14:00:41 +0000
Assunto: Problems with $req_rec -> prev -> pnotes('EMBPERL_ERRORS') ;
   
> Hi list,
>  
> I am using ErrorDocument directive in apache and i set EMBPERL_OPTIONS 262144
>  
> My apache configuration is:
>  
> #
# MOD_PERL
#
Alias /perl /home/masilva/local/apache/cgi-bin/perl
PerlModule Apache::Registry

 SetHandler perl-script
 PerlHandler Apache::Registry
 Options ExecCGI
 PerlSendHeader On
 allow from all
> #
# EMBPERL
#
PerlModule HTML::Embperl
Addtype text/html .epl

 SetHandler perl-script
 PerlHandler HTML::Embperl
 Options ExecCGI
> #
# EMBPERL /embperl/verdoc-des
#

 SetHandler perl-script
 PerlHandler HTML::Embperl
 Options ExecCGI
 PerlSetEnv EMBPERL_OPTIONS 262144
 ErrorDocument 500 http://merlin.cpqd.com.br:8082/embperl/verdoc-des/err.epl
> #
# Apache::DBI
#
PerlModule Apache::DBI
>  
> But, when the err.epl is executed (by an die in some .epl), it stay slow and not return the page for browser. I can't get the error.
>
> The @$errors storage the text of an "die" ?
> The err.epl is:
>  
>
 
   

   
     
       
     
     
       
     
 

         
          [- $errors = $req_rec -> prev -> pnotes('EMBPERL_ERRORS') ; -]
          There are [+ scalar(@$errors) +] errormessages
         

       

          OIOI
      

 

 
>  
>  
>  
>  
>  
>  
>  
>  
>  


Esta mensagem foi verificada pelo E-mail Protegido Terra.
Scan engine: VirusScan / Atualizado em 08/01/2003 / Vers�o: 1.3.13
Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/

Reply via email to