Re: Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

2010-11-11 Thread Kevin Field
> > > This is a cross-post from StackOverflow. > > URL? > Sorry: http://stackoverflow.com/questions/4140868/apache2requestparam-returns-despite-parameters-in-uri-but-only-under-stra > A bug in the Apache2::Request/mod_apreq2 version shipping with > Strawberry? Seems unlikely, though. > This is

Apache2::Request::param returns () despite parameters in URI, but only under Strawberry Perl

2010-11-11 Thread Kevin Field
Hi everyone, (This is a cross-post from StackOverflow. I thought there might be more specialized experience on this list to beg help from. :) ) I'm running mod_perl 2.0.4 on Perl 5.10 on Apache 2.2.17 on Win2k3sp2. The URI I am typing into my browser is http://myserver/?login=0. The script be

[mp2] borked example in configuration docs

2009-01-20 Thread Kevin Field
http://perl.apache.org/docs/2.0/user/config/custom.html The example under the heading 'Creating and Using Custom Configuration Directives', if copied verbatim, produces the following error when you run httpd -t: Can't locate object method "MyOtherParameter" via package "MyApache2::MyParameters

Re: Can't call method "prepare" on an undefined value

2007-07-23 Thread Kevin Field
> > My code around line 1059 in MySQLBroker.pm looks like this: > > > > sub _mysql_exec { > > my ($self, $dbcall) = @_; > > my @resultsArray; > > my $count=0; > > my $sth = $self->{_dbh}->prepare("$dbcall"); > > You shouldn't store a $dbh in your objects like this. Apache::DBI > will chec

Re: [mod_perl2] PerlSwitches having no effect?

2007-07-19 Thread Kevin Field
> On Wed, 18 Jul 2007 07:14:54 -0700 (PDT) "Kevin Field" > <[EMAIL PROTECTED]> wrote: > > PerlSwitches -wT > > LoadFile "C:\Perl\bin\perl58.dll" > > LoadModule perl_module modules/mod_perl.so > > I don't know too much about Ap

[mod_perl2] PerlSwitches having no effect?

2007-07-18 Thread Kevin Field
Hi everyone, I'm running Apache 2.2 with mod_perl2 on Win2k3sp2. I'm new to the mp/ mp2 world but have been working with it the last couple weeks, and am fairly familiar with the docs and list archives, but for some reason I can't figure out the following problem: PerlSwitches doesn't seem to d