[Koha-bugs] [Bug 638] New: Invalid paths for some image files
bugzilla-daemon at wilbur.katipo.co.nz
bugzilla-daemon at wilbur.katipo.co.nz
Mon Oct 27 23:48:57 CET 2003
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=638
Summary: Invalid paths for some image files
Product: Koha
Version: 2.0.0
Platform: PC
Status: NEW
Severity: normal
Priority: P2
Component: Templates
AssignedTo: oleonard at athenscounty.lib.oh.us
ReportedBy: consult at rogerritter.com
QAContact: koha-bugs at lists.sourceforge.net
In auth.tmpl, line 36, the image path:
background="/images/background-mem.gif">
generates an error in my koha-error_log file of:
[error] [client 192.168.0.241] File does not exist:
/usr/local/koha/intranet/htdocs/intranet-tmpl/default/background-mem.gif,
referer: http://koha.celeborn/cgi-bin/koha/mainpage.pl
It appears that the problem is that this path needs to be modified by the
'themelang' template variable. If I change the path to:
background="<TMPL_VAR NAME='themelang'>/images/background-mem.gif"
I don't get the error. I don't know how many other places this particular path
problem occurs, but there is a similar problem in intranet-main.tmpl for the
holder.gif file. Do a search for "/images/holder.gif" to find them, then replace
with ."<TMPL_VAR NAME='themelang'>/images/holder.gif" to fix it.
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the Koha-bugs
mailing list