Skip Menu |

This queue is for tickets about the Maypole-Plugin-Config-Apache CPAN distribution.

Report information
The Basics
Id: 13827
Status: resolved
Priority: 0/
Queue: Maypole-Plugin-Config-Apache

People
Owner: Nobody in particular
Requestors: kdiment [...] uow.edu.au
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.2
Fixed in: 0.1



Subject: Showstopper bug in 0.2
[root@crcproject src]# perl -v This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 registered patch, see perl -V for more detail) Linux crcproject.uow.edu.au 2.4.20-28.9 #1 Thu Dec 18 13:53:00 EST 2003 i686 i686 i386 GNU/Linux Problem with Maypole startup. ApacheErrLog follows: [Fri Jul 22 12:39:59 2005] [error] Can't locate object method "setup" via package "NEXT::DISTINCT" (perhaps you forgot to load "NEXT::DISTINCT"?) at /usr/lib/perl5/site_perl/5.8.0/Maypole/Plugin/Config/Apache.pm line 144.
[guest - Thu Jul 21 22:56:54 2005]: Show quoted text
> [root@crcproject src]# perl -v > > This is perl, v5.8.0 built for i386-linux-thread-multi > (with 1 registered patch, see perl -V for more detail) > > Linux crcproject.uow.edu.au 2.4.20-28.9 #1 Thu Dec 18 13:53:00 EST > 2003 i686 i686 i386 GNU/Linux > > > > Problem with Maypole startup. ApacheErrLog follows: > > [Fri Jul 22 12:39:59 2005] [error] Can't locate object method "setup" > via package "NEXT::DISTINCT" (perhaps you forgot to load > "NEXT::DISTINCT"?) at > /usr/lib/perl5/site_perl/5.8.0/Maypole/Plugin/Config/Apache.pm line > 144.
How are you loading MP::P::Config::Apache in your application? This looks like your application does not inherit from Maypole at the time you are loading the plugin. d.
[kdiment@uow.edu.au - Fri Jul 22 04:46:17 2005]: Show quoted text
> > On 22/07/2005, at 6:22 PM, via RT wrote:
> >
> [snip]
> > How are you loading MP::P::Config::Apache in your application? This > > looks like your application does not inherit from Maypole at the
> time
> > you are loading the plugin.
> > This way: > > package CokeWorks; > use Maypole::Application qw(-Debug Config::Apache -Setup); # Debug > later! > use Exception::Class; > use Class::DBI::Loader::Relationship;
Looks fine. Show quoted text
> After a little further investigation, I've just tested the new > version on my laptop, after having some excitement with invalid CODE > attribute errors relating to some : Exported errors on my other > development machine, and with the production server.
This also sounds like inheritance problems. Show quoted text
> This machine is fine: > Darwin zaphod.local 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 > 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh > powerpc > perl, v5.8.6 built for darwin-thread-multi-2level is fine > > In contrast with the other two (one the previous version of OS X I > can't access it right now) and the other is as in the original bug > report: > > This is perl, v5.8.0 built for i386-linux-thread-multi (with 1 > registered patch, see perl -V for more detail) > Linux crcproject.uow.edu.au 2.4.20-28.9 #1 Thu Dec 18 13:53:00 EST > 2003 i686 i686 i386 GNU/Linux > > So it looks like it's a problem with perl rather than Maypole and > your module - the bug report should probably be going somewhere else > - possibly to Maypole?
No, I can't really see it depending on perl versions etc. I'm guessing there's something different about the setup on the other machines. What does your Apache config look like? d.