Hi List,

I'm configuring apache mod_perl to work with Catalyst according to the
cookbook, but this error showed up when I restarts apache. It occurs
when my catalyst application tries to start up by calling

[error] Global $r object is not available. Set:

PerlOptions +GlobalRequest

in httpd.conf at /usr/lib/perl5/5.8.6/CGI.pm line 361.

Compilation failed in require at (eval 2) line 3.

I have dug around internet, but there weren't much info about this
error. I have added "PerlOptions" to my conf file, updated CGI.pm to
the latest version, but they didn't help.

My Apache version is 2.0.55, and modperl is 2.0.2. Some post suspect
there's a bug for "PerlOption" in modperl. So, I'm gonna update those
next, but hopping someone would know something about it.



This correspondence is from Napster, Inc. or its affiliated entities
and is intended only for use by the recipient named herein. This
correspondence may contain privileged, proprietary and/or confidential
information, and is intended only to be seen and used by named addressee(s).
You are notified that any discussion, dissemination,distribution or copying
of this correspondence and any attachments, is strictly prohibited,
unless otherwise authorized or consented to in writing by the sender.
If you have received this correspondence in error, please notify the
sender immediately, and please permanently delete the original and any
copies of it and any attachment and destroy any related printouts without
reading or copying them.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080827/64c81377/attachment.htm

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedAug 28, '08 at 1:22a
activeSep 3, '08 at 10:22a

2 users in discussion

Matt S Trout: 1 post Bowei Chi: 1 post



site design / logo © 2021 Grokbase