[OGDev] Reindexing not working
IvorW
ivorw-openguides at xemaps.com
Sun Aug 6 20:38:52 BST 2006
Rev Simon Rumble wrote:
>Hi folks. My indexes have gone screwy and when I try to reindex I get
>an error:
>simon at 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).
More information about the OpenGuides-Dev
mailing list