[Koha-bugs] [Bug 4884] New: opac-showmarc.pl can't find compact.xsl
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 10 18:32:57 CEST 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4884
Summary: opac-showmarc.pl can't find compact.xsl
Change sponsored?: ---
Product: Koha
Version: rel_3_2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: OPAC
AssignedTo: oleonard at myacpl.org
ReportedBy: fridolyn.somers at gmail.com
QAContact: koha-bugs at lists.koha-community.org
Estimated Hours: 0.0
When using opac-showmarc with viewas=card, page fails :
ie : "/cgi-bin/koha/opac-showmarc.pl?id=1&viewas=card" :
Could not create file parser context for file
"/usr/share/koha/intranet/cgi-bin/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl":
No such file or directory at /usr/share/koha/opac/cgi-bin/opac/opac-showmarc.pl
line 71
Bug is at L67 :
my $xslfile =
C4::Context->config('intranetdir')."/koha-tmpl/intranet-tmpl/prog/en/xslt/compact.xsl";
This path is right for development installation but wrong for standard
installation where "intranetdir" is "/usr/share/koha/intranet/cgi-bin".
I propose this correction :
my $xslfile = C4::Context->config('intrahtdocs')."/prog/en/xslt/compact.xsl";
NB : actually, no link to opac-showmarc.pl contains "viewas=card", is it
obsolete ?
Tested on Koha 3.2 alpha 2 UNIMARC.
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list