On Tue, Mar 19, 2002 at 07:16:56PM +0100, Gerald Richter wrote:
> > [Tue Mar 19 16:28:35 2002] [error] [14366]ERR:  24:  Error in Perl code:
> Can't upgrade that kind of scalar at /var/www/92/base.epl line 58.
> > [14366]ERR:  67:  There is still -1 reference(s) to the request.param
> object, while there shouldn't be any.
> 
> Looks like you keep a reference to the EMbperl request object and/or $r ->
> param somewhere. It is cleaned up during the next request when you assign
> the new request object, but at this time the underlying C structure is
> already gone so it crashs. Also you shoudn't keep the object reference,
> Embperl should handle this more gracefully.
> 
> Try to find the place where you keep the request object, maybe in a global

I am pretty sure, I am not using any globals.

BTW what is the preferred way of getting the Apache request object? I am
using this at the beginning of base.epl:

[-

$req = shift;
$apreq = Apache->request();

-]


Jochen
-- 
Jochen Topf  [EMAIL PROTECTED]  http://www.remote.org/jochen/  +49-721-388298


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

Reply via email to