[Koha] Browse by hierarchy - Links not working

Manos PETRIDIS egpetridis at yahoo.com
Mon Sep 17 06:36:22 NZST 2012


As no one has replied to José's mail, I put forward my own case, hoping to help us both.
I have too tried setting-up "Browse by hierarchy", but - as you might guess - have encountered a problem. If all went well, I wouldn't write to the list, would I?
 
In http://wiki.koha-community.org/wiki/Opac_browse_feature it is mentioned that "KOHA_CONF and PERL5LIB [have] to be set". I guess that KOHA_CONF and PERL5LIB are shell environment variables. In my installation they seem not to be set:

koha at koha:~$ who am i
koha     pts/1        2012-09-16 11:05 (:0.0)
koha at koha:~$ 

koha at koha:~$ set | grep -i koha
GS_LIB=/home/koha/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/koha/.gtkrc-2.0::/home/koha/.kde/share/config/gtkrc-2.0
GTK_RC_FILES=/etc/gtk/gtkrc:/home/koha/.gtkrc::/home/koha/.kde/share/config/gtkrc
HISTFILE=/home/koha/.bash_history
HOME=/home/koha
HOSTNAME=koha
LOGNAME=koha
PWD=/home/koha
QT_PLUGIN_PATH=/home/koha/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/
SESSION_MANAGER=local/koha:@/tmp/.ICE-unix/1928,unix/koha:/tmp/.ICE-unix/1928
USER=koha
koha at koha:~$ 

koha at koha:~$ set | grep -i perl5
            opt=($( printf '%s\n' /usr/share/perl5/Debconf/FrontEnd/* ));
koha at koha:~$ 


Furthermore, there is no "build_browser_and_tags.pl" in my system.
There are however two copies of "build_browser_and_cloud.pl":

./home/koha/kohaclone/blib/SCRIPT_NONDEV_DIR/cronjobs/build_browser_and_cloud.pl
./home/koha/kohaclone/misc/cronjobs/build_browser_and_cloud.pl

Although I knew that shell environment variables can be crucial, I thought I might try this instead, as 
a) the aforementioned page might have not be updated with the current filename, and
b) setting-up the tag cloud would be my next goal. 

As expected, when I try to run build_browser_and_tags.pl, I get: 
root at koha:/# perl /home/koha/kohaclone/misc/cronjobs/build_browser_and_cloud.pl
Can't locate C4/Koha.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at /home/koha/kohaclone/misc/cronjobs/build_browser_and_cloud.pl line 13.
BEGIN failed--compilation aborted at /home/koha/kohaclone/misc/cronjobs/build_browser_and_cloud.pl line 13.
root at koha:/#

I suppose I would get the same error messages if I could try "build_browser_and_tags.pl".

Any ideas on what might have happened and/or how I might correct it? 
As I've mentioned in previous messages, I use a ready-made koha VM, built by Kyle Hall. It is set-up to get git updates.
I'm now on v3.08.04.000, running on debian Linux koha 2.6.32-5-686 #1 SMP

Kind regards,
Manos Petridis


-----Original Message-----
From: koha-bounces at lists.katipo.co.nz [mailto:koha-bounces at lists.katipo.co.nz] On Behalf Of anjoze
Sent: Wednesday, August 29, 2012 3:43 PM
To: koha at lists.katipo.co.nz
Subject: [Koha] Browse by hierarchy - Links not working

Hi.
I'm trying to set up the *Browse by hierarchy* on OPAC I have 2 problems:
1 - Links don't work

For example, it shows:
*/classification 3/*
  (10 biblios)
Than, when I click on /classification 3/ link, it says: No results found! 

2 - The *Classification* names doesn’t show

I've read http://wiki.koha-community.org/wiki/Opac_browse_feature
and, it says: /The browser feature will build a browsable view of your catalogue. It will, for example, tell you that your catalogue contains :
1353 biblios about “Science” 5624 biblios about “Geography” 9835 biblios about “Spirituality” 
/
On my page it doesn’t show the name (ex: Science) but the corresponding number, like in my first problem above: Shows /"Classification 3"/ instead of /"3  SOCIAL SCIENCES"/

I know this is experimental and for French Dewey catalogue, but, can anyone please provide detailed instructions to set it up correctly and, if possible, in other systems different of French Dewey?
Is there anyone with this feature working?

Thank you,

-----
Koha version: 	3.08.04
       - -
José Anjos
--
View this message in context: http://koha.1045719.n5.nabble.com/Browse-by-hierarchy-Links-not-working-tp5724658.html
Sent from the Koha-general mailing list archive at Nabble.com.
_______________________________________________
Koha mailing list  http://koha-community.org Koha at lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list