Re: Undefined subroutine error

2008-11-16 Thread Tsirkin Evgeny
Well you probably already thought of this but: It appears that the global.asa (and thus Example::Image.pm) get compiled into different packages then templates/masthead.tmpl. Do you have UniquePackages 0 or 1 ? Maybe this is caused by a template package you are using ,is this an asp script or anothe

Re: Undefined subroutine error

2008-11-12 Thread Roberto C . Sánchez
On Wed, Nov 12, 2008 at 09:18:21AM -0800, Skylos wrote: > Apache::Asp caches subroutine compiles within processes. > > Kill all running apache processes to delete their cache. (you don't > strictly have to restart to do this (killing workers and letting apache > restart them works too) but its ea

Re: Undefined subroutine error

2008-11-12 Thread Skylos
Apache::Asp caches subroutine compiles within processes. Kill all running apache processes to delete their cache. (you don't strictly have to restart to do this (killing workers and letting apache restart them works too) but its easier) It works when it hits one that loaded the module version th

Re: Undefined subroutine error

2008-11-12 Thread Roberto C . Sánchez
Warren Young wrote: > Roberto C. Sánchez wrote: > > > > [Mon Nov 10 19:44:59 2008] [error] [asp] [7796] [error] Undefined subroutine > &Apache::ASP::Compiles::__ASP__srv_http_www_e_ample_com__x::get_image_data > called at /srv/http/www.example.com/templates/masthead.tmpl line 2. <--> , > /usr/shar

Re: Undefined subroutine error

2008-11-10 Thread Warren Young
Roberto C. Sánchez wrote: [Mon Nov 10 19:44:59 2008] [error] [asp] [7796] [error] Undefined subroutine &Apache::ASP::Compiles::__ASP__srv_http_www_e_ample_com__x::get_image_data called at /srv/http/www.example.com/templates/masthead.tmpl line 2. <--> , /usr/share/perl5/Apache/ASP.pm line 1521

Re: Undefined subroutine

2004-04-19 Thread Warren Young
Søren Tauber Lassen wrote: files.pl: Rename it to files.pm, and put it in the same directory as your global.asa. Say "use files" at the top of global.asa. Restart the web server. sub loadFileText Within files.pm, say "require Exporter;" and read the documentation on the Exporter module to fi

Re: Undefined subroutine -> DSO Required?

2002-02-19 Thread Joshua Chamas
Ellers wrote: > > However the scripts are falling over very erratically. With debug level 2 I get >extensive messages about an undefined subroutine in a > (custom) module - except it is _definitely_ there. I've checked exports and they're >all ok - and it works, SOMEtimes! > Where? What is t

Re: Undefined subroutine -> DSO Required?

2002-02-18 Thread Dariusz Pietrzak
> Main question: >- will a static build of Apache/mod_perl (most likely) fix problems where a >compile of an ASP script works one minute and fails the > next? mod_perl as module causes mysterious failures, some of those you described I experienced myself and so did others. That's why deb

Re: Undefined subroutine &Apache::ASP::handler called.

2001-12-16 Thread Joshua Chamas
Dariusz Pietrzak wrote: > > > Sounds like the kind of bug that would occur to a DSO build > > of mod_perl + apache, use of Apache::StatINC or use of Apache::Reload. > The next day problem dissapeared so I am having problems with locating the > cause now - maybe there was sth wrong with the system

Re: Undefined subroutine &Apache::ASP::handler called.

2001-12-13 Thread Dariusz Pietrzak
> Sounds like the kind of bug that would occur to a DSO build > of mod_perl + apache, use of Apache::StatINC or use of Apache::Reload. The next day problem dissapeared so I am having problems with locating the cause now - maybe there was sth wrong with the system, I couldn't locate it though. T

Re: Undefined subroutine &Apache::ASP::handler called.

2001-12-11 Thread Joshua Chamas
Dariusz Pietrzak wrote: > > Ehlo, > I need help with tracking down this error, it occurs randomly - > everything works fine.. then I get 'internal server...' with error > mentioned above.. refresh.. and everything works fine again. > this is very fresh install of debian woody, and I haven't run

Re: Undefined Subroutine Problems

2001-12-03 Thread Steve Fosdick
Joshua Chamas wrote: [EMAIL PROTECTED]"> Steve Fosdick wrote: We have an application using Apache::ASP which worked fine when therewere just a few people using it but since user number have increased wehave started to get "Internal Server Error" return to clients in a fewodd cases and

Re: Undefined Subroutine Problems

2001-11-26 Thread Joshua Chamas
Steve Fosdick wrote: > > The affected pages are served from a named virtual host and I have > $Apache::Registry::NameWithVirtualHost = 1; in the config file. > I don't think this will end up mattering, since by default the package name created to compile perl scripts into is Global directory n

Re: Undefined Subroutine Problems

2001-11-26 Thread Joshua Chamas
Steve Fosdick wrote: > > We have an application using Apache::ASP which worked fine when there > were just a few people using it but since user number have increased we > have started to get "Internal Server Error" return to clients in a few > odd cases and messages like: > > [Sat Nov 24 20:48:3

Re: Undefined Subroutine Problems

2001-11-26 Thread Steve Fosdick
Steve Fosdick wrote: > We have an application using Apache::ASP which worked fine when there > were just a few people using it but since user number have increased > we have started to get "Internal Server Error" return to clients in a > few odd cases and messages like: > > [Sat Nov 24 20:48:3

Re: Undefined subroutine &Apache::ASP::handler called

2001-11-26 Thread Joshua Chamas
Humberto Bomfim wrote: > > Srs, > > I'm installing the mod_perl module in apache. The installation was > sucessfull but when is called the test.asp file, the error_log of apache > return this error: > > [Wed Nov 21 14:39:09 2001] [error] Undefined subroutine > &Apache::ASP::handler called.