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

Richard Forristall Richard.Forristall at goodwillaz.org
Fri Apr 23 17:18:03 CEST 2010


 
Chris,
Thanks for the reminder - I remember you indicated this in a previous post.  How does one ensure this is running as my kohauser?

 
Thanks,
 
Rick
-------------------------------------------
Rick Forristall
Programmer Analyst
Goodwill of Central AZ
602.535.4078
-------------------------------------------

Through your generous material and cash donations - we provide free human services programs that create hope, jobs and sustainability for central Arizonans. In 2009 your donations transformed 25,000 lives. Good Stuff. Good Work. Goodwill.

We Put People to Work!
A 2009 Best Places to Work Winner
www.goodwillaz.org


-----Original Message-----
From: Chris Nighswonger [mailto:cnighswonger at foundations.edu] 
Sent: Friday, April 23, 2010 8:08 AM
To: Richard Forristall
Cc: Koha-devel at lists.koha.org
Subject: Re: [Koha-devel] Creating New Pages in Koha - second request

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