Re: Apache::DBI 1.07 requires global $r - workaround?

Re: Apache::DBI 1.07 requires global $r - workaround?

am 24.09.2008 21:24:18 von Adam Prime

1.07 is broken. PGOLLUCCI said it was going to get reverted, but
apparently it hasn't happened.

see http://rt.cpan.org/Public/Bug/Display.html?id=36346

Adam

Quoting Perrin Harkins :

> On Wed, Sep 24, 2008 at 12:39 PM, Fred Moyer wrote:
>> I went ahead and use 1.06 in my production setup. If you want to use 1.07,
>> you will need to include the GlobalRequest option in your config setup.
>
> It should be fine to use GlobalRequest. The warnings against it are
> outdated.
>
> - Perrin
>

Re: Apache::DBI 1.07 requires global $r - workaround?

am 24.09.2008 21:39:02 von Bryan-Kirk Reinhardt

--Apple-Mail-3--835192908
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit

Thanks Adam!

UPDATE: Reverted back to 1.06 and Apache is loading now. whoohoo

To revert, remove the following 1.07 items from the system

/usr/lib/perl5/site_perl/5.8.8/Apache/AuthDBI.pm
/usr/lib/perl5/site_perl/5.8.8/Apache/DBI.pm
/usr/share/man/man3/Apache::AuthDBI.3pm
/usr/share/man/man3/Apache::DBI.3pm
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/a uto/Apache/
DBI/.packlist

....edit the following file to remove the 1.06 entry

/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.p od

.... then install 1.06 normally



(*void) bkr++
_______________________
Bryan-Kirk Reinhardt
Sr. Software Engineer
bryan@blingo.com
::::::::::::::::::::::::::::::::::::::::::::::::::::::
Blingo, Inc.
1620 Montgomery Street #170
San Francisco CA 94111
United States
work 415-277-7223 x304
mobile 415-816-0675
work fax 415-381-3630
IM bkratblingo (AIM)
_______________________


On Sep 24, 2008, at 12:24 PM, adam.prime@utoronto.ca wrote:

> 1.07 is broken. PGOLLUCCI said it was going to get reverted, but
> apparently it hasn't happened.
>
> see http://rt.cpan.org/Public/Bug/Display.html?id=36346
>
> Adam
>
> Quoting Perrin Harkins :
>
>> On Wed, Sep 24, 2008 at 12:39 PM, Fred Moyer
>> wrote:
>>> I went ahead and use 1.06 in my production setup. If you want to
>>> use 1.07,
>>> you will need to include the GlobalRequest option in your config
>>> setup.
>>
>> It should be fine to use GlobalRequest. The warnings against it
>> are outdated.
>>
>> - Perrin
>>
>
>
>


--Apple-Mail-3--835192908
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

-webkit-line-break: after-white-space; ">Thanks =
Adam!


UPDATE:  Reverted back to 1.06 and Apache =
is loading now. whoohoo

To revert, remove the =
following 1.07 items from the =
system

/usr/lib/perl5/site_perl/5.8.8/Apache=
/AuthDBI.pm
/usr/lib/perl5/site_perl/5.8.8/Apache/DBI.pm
iv>/usr/share/man/man3/Apache::AuthDBI.3pm
/usr/share/man/man3/A=
pache::DBI.3pm
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thr=
ead-multi/auto/Apache/DBI/.packlist

...edit the =
following file to remove the 1.06 =
entry

/usr/lib64/perl5/5.8.8/x86_64-linux-thread-=
multi/perllocal.pod

... then install 1.06 =
normally



apple-content-edited=3D"true"> style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; ">
style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; "> style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "> class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; ">
(*void) =
bkr++
_______________________
bold; "> class=3D"Apple-style-span" size=3D"3"> style=3D"font-size: 13px;; color: rgb(0, 0, 255); font-weight: bold; =
"> font-size: 13px; font-weight: bold; "> style=3D"color: rgb(0, 0, 255); font-size: 13px; font-weight: bold; =
"> font-size: 13px; font-weight: bold; "> style=3D"color: rgb(0, 0, 255); font-size: 13px; font-weight: bold; =
">Bryan-Kirk =
Reinhardt
S=
r. Software Engineer
::::::::::=
::::::::::::::::::::::::::::::::::::::::::::
style=3D"font-weight: bold; "> style=3D"font-weight: bold; "> style=3D"font-weight: bold; "> style=3D"font-weight: bold; "> style=3D"font-weight: bold; ">Blingo, =
Inc.
1620 Montgomery Street =
#170
San Francisco CA 94111
United =
States
work style=3D"white-space:pre"> style=3D"white-space: pre; "> style=3D"white-space: pre; "> style=3D"white-space: pre; "> 415-277-7223 =
x304
mobile style=3D"white-space:pre"> style=3D"white-space: pre; "> style=3D"white-space: pre; "> style=3D"white-space: pre; "> =
415-816-0675
work fax class=3D"Apple-tab-span" style=3D"white-space:pre"> class=3D"Apple-style-span" style=3D"white-space: pre; "> class=3D"Apple-style-span" style=3D"white-space: pre; "> class=3D"Apple-style-span" style=3D"white-space: pre; "> =
415-381-3630
IM bkratblingo =
(AIM)
_______________________

class=3D"Apple-interchange-newline">
=

On Sep 24, 2008, at 12:24 PM, href=3D"mailto:adam.prime@utoronto.ca">adam.prime@utoronto.c a =
wrote:

type=3D"cite">
1.07 is broken.  PGOLLUCCI said it was going to =
get reverted, but apparently it hasn't happened.

see href=3D"http://rt.cpan.org/Public/Bug/Display.html?id=3D3634 6">http://rt.c=
pan.org/Public/Bug/Display.html?id=3D36346


Adam

Quoting =
Perrin Harkins < href=3D"mailto:perrin@elem.com">perrin@elem.com>:

type=3D"cite">On Wed, Sep 24, 2008 at 12:39 PM, Fred Moyer < href=3D"mailto:fred@redhotpenguin.com">fred@redhotpenguin.co m> =
wrote:
type=3D"cite">I went ahead and use 1.06 in my production setup.  If =
you want to use 1.07,
type=3D"cite">
you will need to include the =
GlobalRequest option in your config =
setup.
type=3D"cite">
It should be =
fine to use GlobalRequest.  The warnings against it are =
 outdated.
type=3D"cite">
- =
Perrin
type=3D"cite">




div>=

--Apple-Mail-3--835192908--