Rev Simon Rumble wrote:
Hi folks. My indexes have gone screwy and when I try to reindex I get an error: simon@stout:/etc/openguides/default$ sudo ./reindex.pl config param isn't an OpenGuides::Config object at ./reindex.pl line 13
The config param looks right to me: my $config = Config::Tiny->read('wiki.conf'); my $wiki = OpenGuides::Utils->make_wiki_object( config => $config );
Any ideas?
I think OpenGuides::Utils is quite strict about what it's being passed.
Replace with the following:
my $config = OpenGuides::Config->new( file => 'wiki.conf' ); my $wiki = OpenGuides::Utils->make_wiki_object( config => $config );
If the reindex tool we are shipping is broken, this needs to be fixed (trac ticket needed).