>
> Now I have tracked down the problem to:
> Error in Perl code: Can't call method "apache_req" on an undefined
> value.
>
> This error appeares sometimes and is always gone after Apache
> restart. I don't have any code to reproduce it.
>
> Code line that error refs is:
> $req->{apache} = $req -> apache_req ;

I guess that is code inside your init function?

Is it possible, that the init function is called from somewhere else without
the parameters?

Maybe you try for debugging

use Carp ;
confess "init no req" if (!defined ($req)) ;

and maybe print out more context information, like the other parameters that
should be passed

Gerald

--------------------------------------------------------------
Gerald Richter     ecos electronic communication services gmbh
IT-Securityl�sungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
--------------------------------------------------------------
|
|   ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
|
+-------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to