unsubscribe
*** Error code 1 (ignored)
---
As you can see, I get the same error. There was not a error log generated
during this test, at least one that I could find..
I did compile the perl5.18.1 package on the system I am trying to run this test
on.
Here is some additional info:
rick@aloha:/usr/p
og generated
during this test, at least one that I could find..
I did compile the perl5.18.1 package on the system I am trying to run this test
on.
Here is some additional info:
rick@aloha:/usr/ports/www/mod_perl2 % uname -a
FreeBSD aloha 10.0-RC3 FreeBSD 10.0-RC3 #0 r259778: Tue Dec 24 04:3
l get.
You can keep track of this id some by storing it in a session or a cookie. This
would allow you to reference that id over several connections.
Good Luck!
Rick Apichairuk
> -Original Message-
> From: Octavian Rasnita [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February
an apache process. This way, none of the users
will have to take that initial hit of compiling. To do this, you can just
use the 'use' statement to preload any classes/modules you plan on using
in your apache startup or config files. You can also take advantage of
running some initialization code during the preload. A great example would
be initializing DBI so it doesn't have to be done on the first request to
the server.
Rick
there.
Cheers!
Rick Measham
--
Rick Measham <[EMAIL PROTECTED]>
MailGuard Pty. Limited
Email anti-virus, anti-spam and content filtering
Melbourne 68-72 York St South Melbourne VIC 3205 P +61 3 9694
SydneyLevel 20, Tower 2 Darling Park,
201 Sussex Street, Sydney NSW 2000
at /opt/rt3/bin/webmux.pl line 108.
Now when I look at RequestRec.pm there is documentation for the method,
but the method isn't there. I assume it's an XS method and so is in the
.so file.
So what's happening here? Is RequestRec.pm not loading the .so file? If
so, why aren
rong in the old situation. The
environment var $Env is a global var that should be persistent across
calls (and it is), but apparently something within BerkeleyDB is not.
Anyone?
Rick
Rick said on 15/4/05 11:09:
> I'm converting an existing CGI-script that uses Berkely DB with CDB to a
> mod_per
58 2005] [error] [client 24.39.114.170] File does
not exist: /data/www/cas3/htdocs/favicon.ico
So the thing that I can't figure out is why there is no call to
Apache::Session::Store::DBI::update in the Mason version. Here is an
excerpt of my debugging code filled version of Apache::Session:
sub save {
my $self = shift;
my $func = __PACKAGE__ . "::save";
my $class = ref $self;
my $caller = caller;
print STDERR "[$func] class [$class] called by [$caller]\n";
print STDERR "\$self->{status} = [$self->{status}]\n";
return unless (
$self->{status} & MODIFIED ||
$self->{status} & NEW ||
$self->{status} & DELETED
);
print STDERR "[$func] class [$class] : Made it past 1st return
statement.\n";
$self->acquire_write_lock;
if ($self->{status} & DELETED) {
print STDERR "[$func] class [$class] : In 'DELETED' block.\n";
$self->{object_store}->remove($self);
$self->{status} |= SYNCED;
$self->{status} &= ($self->{status} ^ MODIFIED);
$self->{status} &= ($self->{status} ^ DELETED);
return;
}
if ($self->{status} & MODIFIED) {
print STDERR "[$func] class [$class] : In 'MODIFIED' block.\n";
&{$self->{serialize}}($self);
print STDERR "[$func] class [$class] : In 'MODIFIED' block
right after call to serialize.\n";
$self->{object_store}->update($self);
print STDERR "[$func] class [$class] : In 'MODIFIED' block
right after call to update.\n";
$self->{status} &= ($self->{status} ^ MODIFIED);
$self->{status} |= SYNCED;
return;
}
if ($self->{status} & NEW) {
print STDERR "[$func] class [$class] : In 'NEW' block.\n";
&{$self->{serialize}}($self);
$self->{object_store}->insert($self);
$self->{status} &= ($self->{status} ^ NEW);
$self->{status} |= SYNCED;
$self->{status} &= ($self->{status} ^ MODIFIED);
return;
}
}
I am completely stumped. Someone PLEASE HELP!
Thanks to anyone who actually goes through this code! =)
Rick
on <% $session{_session_id} %>
% for my $key (keys %session) {
<% $key %> = <% $session{$key} %>
% }
dump.html
# here's the added undef <--
% undef %session;
But that also didn't work =(
On 5/11/05, Bart Simpson <[EMAIL PROTECTED]> wrote:
>
>
On 5/10/05, Bart Simpson <[EMAIL PROTECTED]> wrote:
>
> --- Rick <[EMAIL PROTECTED]> wrote:
> > I'm having problems with
> > MasonX::Request::WithApacheSession (using
> > Apache::Session::MySQL backend). The session is not
> > being updated, so
>
rite on in httpd.conf and also explicitly setting
___force_a_write parameter. Neither helped. Has anyone else
experienced this problem? I only found one vague reference to the
problem on google. Should I use another session management module
instead?
Thanks in advance for any help,
Rick
Perrin Harkins zee op 15/4/05 17:19:
> Rick Jansen wrote:
>> # crashes:
>> my $DB_Object = new BerkeleyDB::Hash
>> -Filename => $DB,
>>-Env => $Env,
>> -Flags => DB_RDONLY ...
>
uire-d in the main program, it runs fine,
but this has other implications for name space collisions.
What obvious thing am I missing? Thanks for ideas!
(Apache 1.33, Perl 5.8.6, mod_perl 1.29, BerkeleyDB 4.2.52, Perl
interface 0.25)
--
Rick
. The inconsistent
behaviour coupled with the overhead of searching for a header makes it
not worth it for me. And if you're running mod_perl, you should really
take advantage of the API it has. You can do alot of manipulation of
the headers.
Hope this helps,
Rick Apichairuk
The problem is fixed by upgrading to perl 5.8.3. I was using 5.8.0.
Rick
On Thu, Mar 11, 2004 at 12:26:48AM -0800, Stas Bekman wrote:
> Rick Jansen wrote:
> >Hi,
> >
> >I'm trying to run a little test script here under mod_perl.
> >When I request the script,
d_perl atm so if there is the
need I can provide a stack backtrace later.
Kind regards,
Rick Jansen
--
Systems Administrator for Rockingstone IT, Netherlands.
PGP Public Key: http://www.rockingstone.nl/rick/pubkey.asc
pgp0.pgp
Description: PGP signature
Hi all.
After successful compile mod_perl-1.99_12 i try load mod_perl.so in
httpd (Apache/2.0.48) i recive message bellow (here output
mod_perl-1.99_10, that i try to install from FreeBSD 4.2-RELEASE ports,
and in release 12 i have same proble)
What i need to check?
If needed additional inform
18 matches
Mail list logo