Stas Bekman wrote:
Denis Banovic wrote:
Hi!
I've a script that looks like this:
if ($runnung_on_mod_perl) {
Apache->request->register_cleanup(\&init_globals);
}
Under mod_perl 1.0 works fine with Apache::Registry.
Can someone give me an Example how to make a register_cleanup
Denis Banovic wrote:
Hi!
I've a script that looks like this:
if ($runnung_on_mod_perl) {
Apache->request->register_cleanup(\&init_globals);
}
Under mod_perl 1.0 works fine with Apache::Registry.
Can someone give me an Example how to make a register_cleanup with mod_p
Hi!
I've a script that looks like this:
if ($runnung_on_mod_perl) {
Apache->request->register_cleanup(\&init_globals);
}
Under mod_perl 1.0 works fine with Apache::Registry.
Can someone give me an Example how to make a register_cleanup with mod_perl
2?
Thanks a lot
Denis
Denis Banovic wrote:
Hi!
I'm trying to migrate some stuff from mod_perl 1.
I've read the tutorial on perl.apache.org but it didn't help.
I've a perl script that looks like this:
if ($runnung_on_mod_perl) {
Apache->request->register_cleanup(\&init_globals);
}
Hi!
I'm trying to migrate some stuff from mod_perl 1.
I've read the tutorial on perl.apache.org but it didn't help.
I've a perl script that looks like this:
if ($runnung_on_mod_perl) {
Apache->request->register_cleanup(\&init_globals);
}
Under mod_p
I touched and chmodded
them appropriately.
> Also in the future please use t/REPORT script to report problems, as
> explained here:
> http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
Sorry, I'll do this from now on.
> > ModPerl::Registry: Can't loca
as
explained here:
http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems
> Secondly, I get this error in the log when I try to
> run a CGI that uses CGI.pm:
>
> ModPerl::Registry: Can't locate object method "register_cleanup" via
package
> "Apache::Reques
other tests are fine. Secondly, I get this error in the log when I try to
run a CGI that uses CGI.pm:
ModPerl::Registry: Can't locate object method "register_cleanup" via package
"Apache::RequestRec" at /usr/local/lib/perl5/5.8.0/CGI.pm line 270.
The CGI in question works fin
D.Kreft wrote:
...
> I am greeted with Netcape's "Document contains no data" error dialog
> box, and a segfault notice in the error log:
>
>[Thu May 9 09:19:52 2002] [notice] child pid 25420 exit \
>signal Segmentation fault (11)
...
> Does anyone have any ideas about what's going wrong
Fran
See below.
Cheers
Ron Savage
[EMAIL PROTECTED]
http://savage.net.au/index.html
> use CGI qw(-compile :all);
There's a typo in the book. Chop '-compile'.
On Tue, 31 Jul 2001, Fran Fabrizio wrote:
>
> Hello,
>
> I've just installed a mod_perl enabled Apache and I am trying to configure
> it. I ran into the "can't call register_cleanup on an undefined value"
> while I was trying out the sample startup.pl fi
Hello,
I've just installed a mod_perl enabled Apache and I am trying to configure
it. I ran into the "can't call register_cleanup on an undefined value"
while I was trying out the sample startup.pl file in the "Writing Apache
Modules in Perl and C" book. I
On Wed, 7 Feb 2001 [EMAIL PROTECTED] wrote:
> Hi,
>
> I just ran into a problem with $r->register_cleanup() only sometime beeing
> called.
>
> This is mod_perl 1.24_01, perl 5.6.0, apache 1.3.14 compiled with gcc 5.6.0 on
> AIX 4.3.3.
>
> Here's a samp
There are no other handlers besides my own (content and auth) and the core
apache...
Also, I'd think that every reload of a page (that get's served by the same
Apache child) should execute the same code and handlers with the same
result---but here's the register_cleanup sometimes
Is it possible that another handler (such as CGI, or parsed-html) is
taking over before yours and exiting or returning OK.
Rob
>Hi,
>
>I just ran into a problem with $r->register_cleanup() only sometime beeing
>called.
>
>This is mod_perl 1.24_01, perl 5.6.0, apache 1.3
Hi,
I just ran into a problem with $r->register_cleanup() only sometime beeing
called.
This is mod_perl 1.24_01, perl 5.6.0, apache 1.3.14 compiled with gcc 5.6.0 on
AIX 4.3.3.
Here's a sample code (snippet):
sub handler { # PerlTransHandler
my $r = shift;
$r->register_clean
Subject: push_handlers (was: PerlCleanupHandler vs register_cleanup)
>
>
> While we're on the subject of handlers, if
> I have
> PerlLogHandlers moda modb modc
> in my conf file
> and I do
> $r->push_handlers('PerlLogHandler', \&d);
>
that the stacked log handlers run?
-P
> -Original Message-
> From: Stas Bekman [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 24, 2000 12:47 PM
> To: Paul G. Weiss
> Cc: modperl
> Subject: Re: PerlCleanupHandler vs register_cleanup
>
>
> On Thu, 24 Au
On Thu, 24 Aug 2000, Paul G. Weiss wrote:
> What is the difference between doing
> $r->push_handlers('PerlCleanupHandler', \&function);
> and
> $r->register_cleanup(\&function);
The same:
http://www.modperl.com/book/chapters/ch9.html#Server_Core_Func
What is the difference between doing
$r->push_handlers('PerlCleanupHandler', \&function);
and
$r->register_cleanup(\&function);
Doug MacEachern writes:
> there's no limit the number of cleanups you can register, but i would
> still push the sub {}'s into an array and register a single cleanup to
> iterate over them.
you're right that wasn't the problem, I was passing the same
Image::Magick reference to each subroutine
On Tue, 6 Jun 2000, Jim Woodgate wrote:
>
> In a module I'm using register_cleanup so the client doesn't need to
> wait for me to do a bunch of work. It basically does this:
>
> foreach (@images) {
> unless (-f $thumb{$_}) {
> &create_thumb(
> -Original Message-
> From: Jim Woodgate [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 06, 2000 9:48 AM
> To: [EMAIL PROTECTED]
> Subject: $r->register_cleanup limits?
>
>
>
> In a module I'm using register_cleanup so the client doesn't nee
In a module I'm using register_cleanup so the client doesn't need to
wait for me to do a bunch of work. It basically does this:
foreach (@images) {
unless (-f $thumb{$_}) {
&create_thumb($_);
$r->register_cleanup(sub {&create_more_sizes($_, ...)});
}
}
c
I'm trying to install mod_auth_mysql 2.20. But when I start apache (httpd)
i get the error:
Cannot load /etc/httpd/modules/mod_auth_mysql.so into server:
/etc/httpd/modules/mod_auth_mysql.so: undefined symbol: register_cleanup
Setup is:
mod_perl 1.24. Built with EVERYTHING=1, apxs metho
25 matches
Mail list logo