Summary: | Broken link in staff client for files attached to records | ||
---|---|---|---|
Product: | Koha | Reporter: | Mirko Tietgen <mirko> |
Component: | Cataloging | Assignee: | Galen Charlton <gmcharlt> |
Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | m.de.rooy |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15225 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Mirko Tietgen
2015-11-20 17:14:30 UTC
Could you please verify if your OPACBaseURL is filled in correctly? The link that upload puts in MARC 856 depends on a working base url.. Secondly, if the file is not marked public, it will not be downloadable via opac-retrieve-file either. Marcel: it is the same problem with OPACBaseURl and the staff equivalent filled in. catalogue/detail.pl in the staff client uses the staff base URL to link to online resources, eg. http://192.168.2.55:8080/cgi-bin/koha/opac-retrieve-file.pl?id=a57f99e63c861bfdbc9cd63d64cf3352 but opac-retrieve-file.pl is on OPAC side and can't be accessed from the link in the staff client. The file is public, it works fine in OPAC. (In reply to Mirko Tietgen from comment #2) > Marcel: it is the same problem with OPACBaseURl and the staff equivalent > filled in. > > catalogue/detail.pl in the staff client uses the staff base URL to link to > online resources, eg. > > http://192.168.2.55:8080/cgi-bin/koha/opac-retrieve-file. > pl?id=a57f99e63c861bfdbc9cd63d64cf3352 > > but opac-retrieve-file.pl is on OPAC side and can't be accessed from the > link in the staff client. > > The file is public, it works fine in OPAC. The URL should already contain the OPAC base URL as copied by the plugin. Note that the URL should be okay BEFORE using upload. I am not sure if I interpret your example correctly. But 8080 looks like a port for staff; it should not be in OPACBaseURL. (You did not change it after the upload?) And are you sure this is not a networking configuration problem btw? You are using local ip addresses here.. You are correct. Setting the base URL parameter _before_ uploading fixes my problem. Closing the report, thanks for your help! |