You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by eamondaly <ea...@fastweb.com> on 2002/05/08 17:47:40 UTC

MailErrors.inc: Can't call method "Form" on an undefined value

I'm trying to use the mail administration stuff, but I get:

[Wed May  8 10:41:03 2002] [error] [asp] [828] [error] Global 
symbol "$foo" requires explicit package name at boom.html line 1. <--
> BEGIN not safe after errors--compilation aborted at boom.html line 
3. <--> , /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line 1607
[Wed May  8 10:41:03 2002] [error] [asp] [828] registering error mail 
to eamon@fastweb.com for cleanup phase
[Wed May  8 10:41:03 2002] [error] error executing code for 
include /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP/Share/CORE/Mai
lErrors.inc: Can't call method "Form" on an undefined value 
at /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP/Share/CORE/MailErro
rs.inc line 5.
; compiled to SCALAR(0x88bab3c) 
at /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP/Response.pm line 
816.

I'm stumped. I'm not doing anything wacky with $Request in global.asa,
so I have no idea why it'd be undefined. I /am/ doing this:

  sub Script_OnStart {
    $Request->{Form} = $Request->{Params};
  }

but commenting that out still produces the same errors. Any ideas?


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


Re: MailErrors.inc: Can't call method "Form" on an undefined value

Posted by Joshua Chamas <jo...@chamas.com>.
eamondaly wrote:
> 
> I'm trying to use the mail administration stuff, but I get:
> 
> [Wed May  8 10:41:03 2002] [error] [asp] [828] [error] Global
> symbol "$foo" requires explicit package name at boom.html line 1. <--
> > BEGIN not safe after errors--compilation aborted at boom.html line
> 3. <--> , /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP.pm line 1607
> [Wed May  8 10:41:03 2002] [error] [asp] [828] registering error mail
> to eamon@fastweb.com for cleanup phase
> [Wed May  8 10:41:03 2002] [error] error executing code for
> include /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP/Share/CORE/Mai
> lErrors.inc: Can't call method "Form" on an undefined value
> at /usr/local/lib/perl5/site_perl/5.6.1/Apache/ASP/Share/CORE/MailErro
> rs.inc line 5.

This is odd.  Would you please set Debug -1, restart apache, 
and send me the entire output in the error_log for the request
that causes this error.

--Josh

_________________________________________________________________
Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA 
http://www.nodeworks.com                1-714-625-4051

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