Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • eamondaly
    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
    Message 1 of 2 , May 8, 2002
    • 0 Attachment
      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@... 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@...
      For additional commands, e-mail: asp-help@...
    • Joshua Chamas
      ... 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
      Message 2 of 2 , May 8, 2002
      • 0 Attachment
        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@... 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@...
        For additional commands, e-mail: asp-help@...
      Your message has been successfully submitted and would be delivered to recipients shortly.