Skip Menu |

This queue is for tickets about the Kwiki-ModPerl CPAN distribution.

Report information
The Basics
Id: 12791
Status: resolved
Priority: 0/
Queue: Kwiki-ModPerl

People
Owner: Nobody in particular
Requestors: jpritikin@pobox.com (no email address)
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.06
Fixed in: (no value)



Subject: can't kwiki -update
Kwiki 0.38 Kwiki::ModPerl 0.07 When I add Kwiki::ModPerl to plugins and try to "kwiki -update" I get: Generating Kwiki Registry './registry.dd' Error: Kwiki::ModPerl is not a plugin class.
Date: Sat, 14 May 2005 12:09:20 -0400
From: Ian Langworth <ian [...] langworth.com>
To: Joshua_Pritikin via RT <bug-Kwiki-ModPerl [...] rt.cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [cpan #12791] can't kwiki -update
RT-Send-Cc:
On 14.May.2005 04:27AM -0400, Joshua_Pritikin via RT wrote: Show quoted text
> When I add Kwiki::ModPerl to plugins and try to "kwiki -update" > I get: > > Generating Kwiki Registry './registry.dd' > > Error: Kwiki::ModPerl is not a plugin class.
Exactly. You don't add Kwiki::ModPerl to the plugins file. This is my fault for not naming it something more intuitive. As it says in the documentation: In your Apache configuration: <Location /kwiki> SetHandler perl-script PerlSetVar KwikiBaseDir /path/to/webroot/kwiki PerlHandler +Kwiki::ModPerl </Location> If you have a custom F<lib> directory for your Kwiki: <Perl> use lib '/path/to/webroot/kwiki/lib'; </Perl> Also if you're using mod_perl2, please add the following line into your httpd.conf: PerlModule Apache2 -- Ian Langworth
From: jpritikin [...] pobox.com
[ian@langworth.com - Sat May 14 12:16:56 2005]: Show quoted text
> Exactly. You don't add Kwiki::ModPerl to the plugins file. This > is my fault for not naming it something more intuitive.
What is confusing is that Kwiki 0.38 mentions Kwiki::ModPerl in the plugins file (commented out). So this is like anti-documentation. It would be much better if kwiki provided a sensible error message such as ModPerl is not a plugin, see the Kwiki::ModPerl man page for details.
Date: Sat, 14 May 2005 12:50:39 -0400
From: Ian Langworth <ian [...] langworth.com>
To: Guest via RT <bug-Kwiki-ModPerl [...] rt.cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [cpan #12791] can't kwiki -update
RT-Send-Cc:
On 14.May.2005 12:25PM -0400, Guest via RT wrote: Show quoted text
> What is confusing is that Kwiki 0.38 mentions Kwiki::ModPerl in > the plugins file (commented out). So this is like > anti-documentation.
Strange and true. -- Ian Langworth