This question about Using an extension: Answered
Typo in Index.pm - KinoSearchContrib version 1.23
Since the v 1.23 version update of the
KinoSearchContrib the kinoupdate is failing with the following error:
Global symbol "$changes" requires explicit package name at /srv/www/htdocs/icwiki/lib/Foswiki/Contrib/KinoSearchContrib/Index.pm line 228.
Compilation failed in require at ./kinoupdate line 27.
BEGIN failed--compilation aborted at ./kinoupdate line 27.
This is caused by a typo in Index.pm; in the 1.23 package it contain, at line 228, the following code:
next if ( ( !defined $topicName ) || (!$changes) || ( $skipTopics{"$web.$topicName"} ) || ( $skipTopics{$topicName} ) );
Instead it should be:
next if ( ( !defined $topicName ) || (!$change) || ( $skipTopics{"$web.$topicName"} ) || ( $skipTopics{$topicName} ) );
I've tried to modify the file as advised and the update process work like a charme.
Thanks. I have uploaded version 1.24 with this fix.
--
AndrewJones - 14 Apr 2010