You are viewing a plain text version of this content. The canonical link for it is here.
Posted to asp@perl.apache.org by Webmaster <we...@nwdhosting.com> on 2004/08/11 19:05:21 UTC

Strange error

I am getting the error below that I have not been able to figure out.  Can
anyone point me in the right direction?


 [ASP WARN] Can't call method "cleanup_register" on an undefined value at
/usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 513.
        Apache::ASP::RegisterCleanup('Apache::ASP=HASH(0x9ff8f7c)','CODE(0x9ff8f10)')
called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 379
        Apache::ASP::new('Apache::ASP','Apache::ASP::Load=HASH(0x9ff8d00)')
called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
129
        eval {...} called at
/usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 127
        Apache::ASP::Load::Run('/usr/local/freeside/asp/browse/agent.cgi','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
87
        Apache::ASP::Load::Run('/usr/local/freeside/asp/browse','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
87
        Apache::ASP::Load::Run('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 1980
        Apache::ASP::Loader('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
called at /usr/local/freeside/conf/freeside.conf line 65
        eval 'package
Apache::ReadConfig::usr::local::freeside::conf::freeside_conf::line_63;
#line 63 /usr/local/freeside/conf/freeside.conf


Apache::ASP->Loader(
\'/usr/local/freeside/asp\', "(cgi)\\$",
\'Global\' => \'/usr/local/freeside/asp-global/\',
\'Debug\' => 0, # see system output when starting apache
);


;' called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 0


I am running RedHat Fedora Core 1 with apache 2 and perl 5.8.0.

Any help would be appreciated.


Brian




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


Re: Strange error

Posted by Webmaster <we...@nwdhosting.com>.
I just installed it with CPAN this morning, 2.57



> Quoting Webmaster <we...@nwdhosting.com>:
>
>> I am getting the error below that I have not been able to figure out.
>> Can
>> anyone point me in the right direction?
>>
>>
>>  [ASP WARN] Can't call method "cleanup_register" on an undefined value
>> at
>> /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 513.
>>
>
> What version of Apache::ASP are you running?  Make sure to upgrade to the
> latest, restart the server and see if your problem goes away.  Let us
> know!
>
> --Josh
>
>> Apache::ASP::RegisterCleanup('Apache::ASP=HASH(0x9ff8f7c)','CODE(0x9ff8f10)')
>> called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 379
>>         Apache::ASP::new('Apache::ASP','Apache::ASP::Load=HASH(0x9ff8d00)')
>> called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>> 129
>>         eval {...} called at
>> /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 127
>>
>>
> Apache::ASP::Load::Run('/usr/local/freeside/asp/browse/agent.cgi','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>> called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>> 87
>>
>>
> Apache::ASP::Load::Run('/usr/local/freeside/asp/browse','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>> called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>> 87
>>
>>
> Apache::ASP::Load::Run('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>> called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 1980
>>
>>
> Apache::ASP::Loader('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>> called at /usr/local/freeside/conf/freeside.conf line 65
>>         eval 'package
>> Apache::ReadConfig::usr::local::freeside::conf::freeside_conf::line_63;
>> #line 63 /usr/local/freeside/conf/freeside.conf
>>
>>
>> Apache::ASP->Loader(
>> \'/usr/local/freeside/asp\', "(cgi)\\$",
>> \'Global\' => \'/usr/local/freeside/asp-global/\',
>> \'Debug\' => 0, # see system output when starting apache
>> );
>>
>>
>> ;' called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 0
>>
>>
>> I am running RedHat Fedora Core 1 with apache 2 and perl 5.8.0.
>>
>> Any help would be appreciated.
>>
>>
>> Brian
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
>> For additional commands, e-mail: asp-help@perl.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
>
>


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


Re: Strange error

Posted by Josh Chamas <jo...@chamas.com>.
Webmaster wrote:
> I just installed it with CPAN this morning, 2.57
> 
> 

I'll check out to see what the problem is with calling Loader().
Until there is a fix, you can just comment out the line
that calls Apache::ASP->Loader() here:

   /usr/local/freeside/conf/freeside.conf line 65

Does this help things?  Note that Loader() will just precompile
ASP script for runtime efficiency, but it should not actually impact
the running of the program itself.

Regards,

Josh

> 
> 
>>Quoting Webmaster <we...@nwdhosting.com>:
>>
>>
>>>I am getting the error below that I have not been able to figure out.
>>>Can
>>>anyone point me in the right direction?
>>>
>>>
>>> [ASP WARN] Can't call method "cleanup_register" on an undefined value
>>>at
>>>/usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 513.
>>>
>>
>>What version of Apache::ASP are you running?  Make sure to upgrade to the
>>latest, restart the server and see if your problem goes away.  Let us
>>know!
>>
>>--Josh
>>
>>
>>>Apache::ASP::RegisterCleanup('Apache::ASP=HASH(0x9ff8f7c)','CODE(0x9ff8f10)')
>>>called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 379
>>>        Apache::ASP::new('Apache::ASP','Apache::ASP::Load=HASH(0x9ff8d00)')
>>>called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>>>129
>>>        eval {...} called at
>>>/usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 127
>>>
>>>
>>
>>Apache::ASP::Load::Run('/usr/local/freeside/asp/browse/agent.cgi','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>
>>>called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>>>87
>>>
>>>
>>
>>Apache::ASP::Load::Run('/usr/local/freeside/asp/browse','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>
>>>called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>>>87
>>>
>>>
>>
>>Apache::ASP::Load::Run('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>
>>>called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 1980
>>>
>>>
>>
>>Apache::ASP::Loader('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>
>>>called at /usr/local/freeside/conf/freeside.conf line 65
>>>        eval 'package
>>>Apache::ReadConfig::usr::local::freeside::conf::freeside_conf::line_63;
>>>#line 63 /usr/local/freeside/conf/freeside.conf
>>>
>>>
>>>Apache::ASP->Loader(
>>>\'/usr/local/freeside/asp\', "(cgi)\\$",
>>>\'Global\' => \'/usr/local/freeside/asp-global/\',
>>>\'Debug\' => 0, # see system output when starting apache
>>>);
>>>
>>>
>>>;' called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 0
>>>
>>>
>>>I am running RedHat Fedora Core 1 with apache 2 and perl 5.8.0.
>>>
>>>Any help would be appreciated.
>>>
>>>
>>>Brian
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
>>>For additional commands, e-mail: asp-help@perl.apache.org
>>>
>>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
>>For additional commands, e-mail: asp-help@perl.apache.org
>>
>>
> 


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


Re: Strange error

Posted by Webmaster <we...@nwdhosting.com>.
Yes, I had comented it out.  It seams it may be something to do with
mod_perl.  I downgraded from the latest versions (apache2, mod_perl2,
perl5.8.3) to earlier with ApacheToolbox (apache1.3, mod_perl1.29,
perl5.8.3) and it was preloading, but not properly.  Very strange indeed,
but mod_perl2 is still in devel...


Brian



> Webmaster wrote:
>> I just installed it with CPAN this morning, 2.57
>>
>>
>
> I'll check out to see what the problem is with calling Loader().
> Until there is a fix, you can just comment out the line
> that calls Apache::ASP->Loader() here:
>
>    /usr/local/freeside/conf/freeside.conf line 65
>
> Does this help things?  Note that Loader() will just precompile
> ASP script for runtime efficiency, but it should not actually impact
> the running of the program itself.
>
> Regards,
>
> Josh
>
>>
>>
>>>Quoting Webmaster <we...@nwdhosting.com>:
>>>
>>>
>>>>I am getting the error below that I have not been able to figure out.
>>>>Can
>>>>anyone point me in the right direction?
>>>>
>>>>
>>>> [ASP WARN] Can't call method "cleanup_register" on an undefined value
>>>>at
>>>>/usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 513.
>>>>
>>>
>>>What version of Apache::ASP are you running?  Make sure to upgrade to
>>> the
>>>latest, restart the server and see if your problem goes away.  Let us
>>>know!
>>>
>>>--Josh
>>>
>>>
>>>>Apache::ASP::RegisterCleanup('Apache::ASP=HASH(0x9ff8f7c)','CODE(0x9ff8f10)')
>>>>called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 379
>>>>        Apache::ASP::new('Apache::ASP','Apache::ASP::Load=HASH(0x9ff8d00)')
>>>>called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>>>>129
>>>>        eval {...} called at
>>>>/usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 127
>>>>
>>>>
>>>
>>>Apache::ASP::Load::Run('/usr/local/freeside/asp/browse/agent.cgi','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>>
>>>>called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>>>>87
>>>>
>>>>
>>>
>>>Apache::ASP::Load::Run('/usr/local/freeside/asp/browse','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>>
>>>>called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
>>>>87
>>>>
>>>>
>>>
>>>Apache::ASP::Load::Run('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>>
>>>>called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 1980
>>>>
>>>>
>>>
>>>Apache::ASP::Loader('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
>>>
>>>>called at /usr/local/freeside/conf/freeside.conf line 65
>>>>        eval 'package
>>>>Apache::ReadConfig::usr::local::freeside::conf::freeside_conf::line_63;
>>>>#line 63 /usr/local/freeside/conf/freeside.conf
>>>>
>>>>
>>>>Apache::ASP->Loader(
>>>>\'/usr/local/freeside/asp\', "(cgi)\\$",
>>>>\'Global\' => \'/usr/local/freeside/asp-global/\',
>>>>\'Debug\' => 0, # see system output when starting apache
>>>>);
>>>>
>>>>
>>>>;' called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 0
>>>>
>>>>
>>>>I am running RedHat Fedora Core 1 with apache 2 and perl 5.8.0.
>>>>
>>>>Any help would be appreciated.
>>>>
>>>>
>>>>Brian
>>>>
>>>>
>>>>
>>>>
>>>>---------------------------------------------------------------------
>>>>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
>>>>For additional commands, e-mail: asp-help@perl.apache.org
>>>>
>>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
>>>For additional commands, e-mail: asp-help@perl.apache.org
>>>
>>>
>>
>


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


Re: Strange error

Posted by Joshua Chamas <jo...@chamas.com>.
Quoting Webmaster <we...@nwdhosting.com>:

> I am getting the error below that I have not been able to figure out.  Can
> anyone point me in the right direction?
>
>
>  [ASP WARN] Can't call method "cleanup_register" on an undefined value at
> /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 513.
>

What version of Apache::ASP are you running?  Make sure to upgrade to the
latest, restart the server and see if your problem goes away.  Let us know!

--Josh

> Apache::ASP::RegisterCleanup('Apache::ASP=HASH(0x9ff8f7c)','CODE(0x9ff8f10)')
> called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 379
>         Apache::ASP::new('Apache::ASP','Apache::ASP::Load=HASH(0x9ff8d00)')
> called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
> 129
>         eval {...} called at
> /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 127
>
>
Apache::ASP::Load::Run('/usr/local/freeside/asp/browse/agent.cgi','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
> called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
> 87
>
>
Apache::ASP::Load::Run('/usr/local/freeside/asp/browse','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
> called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line
> 87
>
>
Apache::ASP::Load::Run('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
> called at /usr/lib/perl5/site_perl/5.8.3/Apache/ASP.pm line 1980
>
>
Apache::ASP::Loader('Apache::ASP','/usr/local/freeside/asp','(cgi)$','Global','/usr/local/freeside/asp-global/','Debug',0)
> called at /usr/local/freeside/conf/freeside.conf line 65
>         eval 'package
> Apache::ReadConfig::usr::local::freeside::conf::freeside_conf::line_63;
> #line 63 /usr/local/freeside/conf/freeside.conf
>
>
> Apache::ASP->Loader(
> \'/usr/local/freeside/asp\', "(cgi)\\$",
> \'Global\' => \'/usr/local/freeside/asp-global/\',
> \'Debug\' => 0, # see system output when starting apache
> );
>
>
> ;' called at /usr/lib/perl5/site_perl/5.8.3//Apache/ASP/Load.pm line 0
>
>
> I am running RedHat Fedora Core 1 with apache 2 and perl 5.8.0.
>
> Any help would be appreciated.
>
>
> Brian
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: asp-unsubscribe@perl.apache.org
> For additional commands, e-mail: asp-help@perl.apache.org
>
>

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