Hi Michael, you should always set both *BaseURL preferences, as they make things like the links from staff to OPAC, link in RSS feeds, etc. work. I think you might see this bug: *BugĀ 23423* <https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23423> - Online resource links which are OPAC retrieve file references are not correctly formatted in the OPAC detail view We have discussed on IRC that 856$u should always be a full URL, not a relative URL. - But there has been a change in behavior caused by bug 21887. Hope this helps, Katrin On 05.09.19 18:00, Michael Kuhn wrote:
Hi Caroline
are the OPACBaseURL and StaffClientBaseURL configured correctly? If yes, what is the URL of the "not found" page?
Initially both preferences were empty. But even if empty, in the OPAC the PDF can be viewed. See:
http://koha.adminkuhn.ch/cgi-bin/koha/opac-detail.pl?biblionumber=467
while the URL to the file is:
http://koha.adminkuhn.ch/cgi-bin/koha/opac-retrieve-file.pl?id=5228ccd12bb0d...
I have now filled "staffClientBaseURL" with "http://koha.adminkuhn.ch:8080" and have restarted Memcache, Apache HTTP Server and Koha. Still the staff client shows "not found". See:
http://koha.adminkuhn.ch:8080/cgi-bin/koha/catalogue/detail.pl?biblionumber=...
(username and password for the staff client are both "demo")
Here the URL to the file is the following (and it was the same before changing "staffClientBaseURL"):
http://koha.adminkuhn.ch:8080/cgi-bin/koha/opac-retrieve-file.pl?id=5228ccd1...
Somehow it seems to me like the URL part "opac-retrieve-file.pl" is not correct for the staff client... thus a bug?
Best wishes: Michael