You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Neeme Vool <ne...@codewiser.com> on 2002/02/22 16:36:49 UTC

cgi_env - URGENT!

Hi!

I use from mod_perl handler Apache::SSI->handler($r) call, which among other
files must parse requests for
<!--#include virtual="someembperlfile.epl" -->

sometimes it works, sometimes not, into error log appear
Can't locate auto/HTML/Embperl/cgi_env.al in @INC (@INC contains: ...

search for that even doesnt return anything ...

Neeme Vool

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


Re: cgi_env - URGENT!

Posted by Gerald Richter <ri...@ecos.de>.
>
> sometimes it works, sometimes not, into error log appear
> Can't locate auto/HTML/Embperl/cgi_env.al in @INC (@INC contains: ...
>

cgi_env is part of the Apache object, so it looks like that Embperl has
gotten the wrong request record (a HTML::Embperl object, instead of a Apache
object)

Can you go to Embperl.pm line 1237 and look what sort of object it gets
passed to 'handler' as first argument (i.e. do a warn ref $req_rec there)

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