[Bug 39964] New: PLUGIN_PATH/get_plugin_http_path() doesn't work for most installs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39964 Bug ID: 39964 Summary: PLUGIN_PATH/get_plugin_http_path() doesn't work for most installs Change sponsored?: --- Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Plugin architecture Assignee: koha-bugs@lists.koha-community.org Reporter: dcook@prosentient.com.au QA Contact: testopia@bugs.koha-community.org I was trying to use PLUGIN_PATH/get_plugin_http_path() in KTD but it was producing an invalid URL path. But that's because that variable/function dates from bug 7804 (written in 2010 and then added to Koha in 2013). Back then, I remember it was sometimes necessary to manually add 'Alias /plugin/ "/var/lib/koha/plugins/"' to your Apache configuration. It appears that Alias was added to "etc/koha-httpd.conf" in bug 7804 but not added to the Debian Apache files. These days, plugins are served from other places than "/var/lib/koha/plugins" anyway. But yeah... just noting this for now... -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39964 David Liddle <david.liddle@wycliff.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david.liddle@wycliff.de --- Comment #1 from David Liddle <david.liddle@wycliff.de> --- Hi, can you tell me if this bug – and/or the alias issue – is likely the reason why plugin images aren't loading in the instance I manage? (Currently 22.11, will be upgraded to 24.11, but dates back to 2012.) I was doing some auditing and pruning in this area today, and I noticed that the path to the images is incorrect, but it wasn't clear to me where a fix should be implemented. Will an alias entry fix that? If so, in which .conf file(s) would this be best placed? Thanks! -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39964 --- Comment #2 from David Cook <dcook@prosentient.com.au> --- (In reply to David Liddle from comment #1)
Hi, can you tell me if this bug – and/or the alias issue – is likely the reason why plugin images aren't loading in the instance I manage? (Currently 22.11, will be upgraded to 24.11, but dates back to 2012.) I was doing some auditing and pruning in this area today, and I noticed that the path to the images is incorrect, but it wasn't clear to me where a fix should be implemented. Will an alias entry fix that? If so, in which .conf file(s) would this be best placed? Thanks!
Depends on your plugin. If it's a publicly accessible site, DM me on Mattermost and I could take a quick peek. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org