[Koha-devel] Creating New Pages in Koha - second request

Chris Nighswonger cnighswonger at foundations.edu
Fri Apr 23 17:08:09 CEST 2010


On Thu, Apr 22, 2010 at 6:20 PM, Richard Forristall
<Richard.Forristall at goodwillaz.org> wrote:
> Thank you all for your replies!  It's only when the obvious is staring you in the face do you realize how much there still is to learn.
>
> My issue was permissions -- once I did a chmod on the .pl page, it worked! I made the assumption that if I saved a file to the server it would immediately be executable - wrong :0)
>
> Chris, --> I'm not adding content pages as in a CMS, I'm trying to add custom tools for my librarian.

I stand corrected. :-)

> I haven't created the process to actually run the zebra reindex yet. Now that I have the new page available, that's the next challenge.  I'm assuming I can use the perl system() method to run the "opt/koha/bin/migration_tools/rebuild_zebra.pl -a -b -k -reset" from within a .pl file, that is after setting the KOHA_CONF and PERL5LIB environment variables first.  My plan is to have links on the tools page.  One would be a link to a .pl file that would run the necessary steps to perform the zebra reindex then provide feedback to the librarian.
>

Don't forget that rebuild_zebra.pl must be run as your kohauser.

Kind Regards,
Chris



More information about the Koha-devel mailing list