Re: [Koha] How to check a file's MIME type in KOHA

2017-02-07 Thread Rejeesh K.Nair
Hi All, I have checked the MIME information of a specific file using its extension. But actually I need details of exact file. Say, I have a file like test.jpg , somebody renamed its extension as test.pdf. If we checked the MIME information of test.pdf, it should display the output as image/jpeg.

Re: [Koha] Debugging Plugins

2017-02-07 Thread Magnus Enger
On 6 February 2017 at 21:02, Bob Ewart wrote: > I did get ByWater Solutions kitchensink plugin to loadand run. So I must > have it setup properly. > > I still can't get my DonorApp to load. I was missing some perl modules. > They're now installed. > > I've set the

[Koha] Multiple OPAC interfaces

2017-02-07 Thread Michael Kuhn
Hi Is it possible to have just one Koha database but more than one OPAC interface that is accessing the data? The Koha database contains very specific reference data (without items) that is interesting for more than one institution. The owner of the database would like to allow different

[Koha] Koha development meeting reminder

2017-02-07 Thread Nick Clemens
Hi All, The next Koha development meeting is on IRC tomorrow 08 February 2017 at 20:00 UTC You can see what that is in your local time here: https://www.timeanddate.com/worldclock/fixedtime.html?msg=Koha+Developers+IRC+Meeting=20170208T20 Agenda is here:

Re: [Koha] How to check a file's MIME type in KOHA

2017-02-07 Thread Mark Alexander
Excerpts from Rejeesh K.Nair's message of 2017-02-07 15:49:42 +0530: > I have checked the MIME information of a specific file using its extension. > But actually I need details of exact file. I'm a newbie with the Koha source code. But I'm wondering if there is some way you could use the

Re: [Koha] Multiple OPAC interfaces

2017-02-07 Thread Tajoli Zeno
Hi, Il 07/02/2017 14:24, Michael Kuhn ha scritto: Is it possible to have just one Koha database but more than one OPAC interface that is accessing the data? in my opinion the best option is many OPAC Virtual Hosts with different DNS CNAME each. In every VH setup you can insert different

Re: [Koha] To hide empty biblio records in OPAC

2017-02-07 Thread Joy Nelson
Lukasz - You need access to the server command line in order to reindex. I'm not positive about that command you pasted. My knowledge is more database centered. Perhaps someone else on the list can assist with the reindexing command. joy On Tue, Feb 7, 2017 at 6:56 AM,

Re: [Koha] Multiple OPAC interfaces

2017-02-07 Thread Michael Kuhn
Hi Zeno Is it possible to have just one Koha database but more than one OPAC interface that is accessing the data? in my opinion the best option is many OPAC Virtual Hosts with different DNS CNAME each. In every VH setup you can insert different values for system preferences and you can hve

Re: [Koha] To hide empty biblio records in OPAC

2017-02-07 Thread Pedro Amorim
Hello lukasz, If you have indeed deleted the records, and they still appear on search results then the following must be happening: - When you click on a record from the search results, a page with "the requested record does not exist". If that is indeed happening, it means the record is no

Re: [Koha] Multiple OPAC interfaces

2017-02-07 Thread Chris Cormack
Hi Michael This won't work with Plack, because the environment variables set in Apache are not passed through to Plack. This still works fine without Plack as the env variables are set for the scripts running under the apache user. Someone needs to work on a way to pass the variables to plack.

Re: [Koha] Multiple OPAC interfaces

2017-02-07 Thread Michael Kuhn
Hi Chris and Jonathan This won't work with Plack, because the environment variables set in Apache are not passed through to Plack. This still works fine without Plack as the env variables are set for the scripts running under the apache user. Thanks for the clarification! I stopped and

Re: [Koha] Name in the Database

2017-02-07 Thread Eric Phetteplace
Hi Luis, This is actually configurable; the field that MARC 260$a is mapped into varies depending on how you've set up Koha. You can view your settings here: {{your Koha server}}/cgi-bin/koha/admin/koha2marclinks.pl For mine, it was set to biblioitems.place. I assume this is the default setting

Re: [Koha] Debugging Plugins

2017-02-07 Thread Bob Ewart
Thanks Magnus, That patch works on 16.11 not on 16.05. That patch points me to the line where the problem was but doesn't say why. I had a 'use C4::Branches;' in my code (not sure why). That doesn't exist in 16.11. That's why ByWater Solutions Kitchensink plugin fails to load in 16.11.

Re: [Koha] Koha Plugin System

2017-02-07 Thread Liz Rea
Hi Bob, Probably you have a compile error in your plugin, see bug https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17461. It turns out that if the plugin has some kind of syntax error, the plugin entry won't turn up in the intranet, *and* won't give any errors either! I'm going to take

Re: [Koha] Running batchrebuildItemsTables.pl

2017-02-07 Thread Magnus Enger
> út 7. 2. 2017 v 19:34 odesílatel Luis Moises Rojas > napsal: > >> How could i execute this file, cos when i try to run using >> ./batchrebuildItemsTables.pl i got at lot of error: >> Can not locate c4/context,pm in... >> adn more >> >> if i run it with perl

Re: [Koha] How to check a file's MIME type in KOHA

2017-02-07 Thread Rejeesh K.Nair
Hi Mark, Your sample code meets my requirement. But I need to implement this for each uploading file in KOHA code. Regards, Rejeesh K.Nair On Tue, Feb 7, 2017 at 7:36 PM, Mark Alexander wrote: > Excerpts from Rejeesh K.Nair's message of 2017-02-07 15:49:42 +0530: > > I have

Re: [Koha] Running batchrebuildItemsTables.pl

2017-02-07 Thread Josef Moravec
Hello Luis, for running cli script you need to set env variables PERL5LIB and KOHA_CONF, did you set them? Josef út 7. 2. 2017 v 19:34 odesílatel Luis Moises Rojas napsal: > How could i execute this file, cos when i try to run using > ./batchrebuildItemsTables.pl i got

Re: [Koha] Multiple OPAC interfaces

2017-02-07 Thread Jonathan Druart
For Plack you can have a look at bug 16520, it is in 16.11. On Tue, 7 Feb 2017 at 18:51 Chris Cormack wrote: > Hi Michael > > This won't work with Plack, because the environment variables set in > Apache are not passed through to Plack. > This still works fine without

[Koha] Running batchrebuildItemsTables.pl

2017-02-07 Thread Luis Moises Rojas
How could i execute this file, cos when i try to run using ./batchrebuildItemsTables.pl i got at lot of error: Can not locate c4/context,pm in... adn more if i run it with perl batchrebuildItemsTables.pl -- *Luis Moisés Rojas P.* ___ Koha mailing list