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

Re: Failure running the ASP examples: looking for "register_cleanup"

Expand Messages
  • Mike Morrow
    ... Some progress. Apparently $ModPerl2 is not being set, perhaps due to a missing MOD_PERL environment variable. I explicitly set $ModPerl2 = 1 at about
    Message 1 of 2 , Aug 11, 2005
    • 0 Attachment
      Mike Morrow wrote:
      > Server Version: Apache/2.0.50 (Unix) mod_ssl/2.0.50 OpenSSL/0.9.7g
      > FrontPage/5.0.2.2635 mod_jk/1.2.0 mod_perl/2.0.1 Perl/v5.8.6
      > Server Built: Aug 9 2005 14:54:15
      > API Version: 20020903:8
      > Timeouts: connection: 300 keep-alive: 300
      > MPM Name: Prefork
      > MPM Information: Max Daemons: 150 Threaded: no Forked: yes
      > Server Root: /usr/local/apache2.0.50
      > Config File: /usr/local/apache2.0.50/conf/httpd.conf
      >
      > ASP version 2.59
      >
      > When I try to open the home page for the examples:
      >
      > http://localhost/ASP/eg/,
      >
      > I get the following error message:
      >
      > [Wed Aug 10 16:38:00 2005] [error] [client 127.0.0.1] Can't locate
      > object method "register_cleanup" via package "Apache2::RequestRec" at
      > /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 520.\n at
      > /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line
      > 520\n\tApache::ASP::RegisterCleanup('Apache::ASP=HASH(0x8e59010)',
      > 'CODE(0x8e58fa4)') called at
      > /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line
      > 383\n\tApache::ASP::new('Apache::ASP',
      > 'Apache2::RequestRec=SCALAR(0x8c6e1bc)', '/Web/ASP/eg/test.html') called
      > at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line
      > 185\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x8c6e1bc)')
      > called at -e line 0\n\teval {...} called at -e line 0\n
      >
      >
      > Any suggestions much appreciated.
      >

      Some progress. Apparently $ModPerl2 is not being set, perhaps due to a
      missing MOD_PERL environment variable. I explicitly set $ModPerl2 = '1'
      at about line 70 in ASP.pm, and the examples run.

      --
      Mike Morrow MS 732 T2N 1N4 (403) 220-4466 51.08016 -114.12696

      ---------------------------------------------------------------------
      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.