Broken Kwiki

davorg on 2003-10-21T13:38:39

I seem to have broken londongeek. I upgraded the installation of CGI::Kwiki to 0.18 and now nothing works. I'm getting the error Can't locate object method "changes_page" via package "CGI::Kwiki::Config" (perhaps you forgot to load "CGI::Kwiki::Config"?) at /usr/lib/perl5/site_perl/5.6.1/CGI/Kwiki/Display.pm line 12.

Has anyone seen that error before?


Older version of CGI::Kwiki::Config

2shortplanks on 2003-10-21T15:50:27

The older versions of CGI::Kwiki::Config didn't have the set_defaults method. Are you sure you've updated that class too? Are you sure that you're not experiencing module shadowing from a older version of the module that's still installed?

What version were you at?

Probably a silly question but...

Adrian on 2003-10-21T22:19:36

... did you do a kwiki-install --upgrade?

I got something that looked vaguely similar when I forgot one time.

Re:Probably a silly question but...

davorg on 2003-10-22T06:13:53

No, I hadn't done that. I didn't see anything in the documentation that suggested doing that. Where did you see those instructions?

Anyway, I've now run that command and although it threw a load of errors, the site seems to be working again.

Thanks.

Re:Probably a silly question but...

Adrian on 2003-10-22T12:16:21

See http://www.kwiki.org/index.cgi?KwikiUpgrading

I tend to trust whats on kwiki.org as my main source of documentation rather than the POD... although I'm sure Ingy would happily accept patches ;-)