[Koha] Can't enable Plugins
Bob Ewart
bob-ewart at bobsown.com
Tue Dec 16 10:17:34 NZDT 2014
Hi Sami,
I'm running koha 3.18 on debian wheezy (7) installed via apt-get install
koha-common.
I got a little farther following
http://kohageek.blogspot.com/2013/09/how-to-setup-plugin-system-in-koha.html#comment-form
He said that the lines in koha-conf.xml need to go before the last
</config> line near the end of the file and the Alias /plugin/ line
should go at the end of library file in /etc/apache2/sites-available.
Once I got the updates in the proper place and enabled UseKohaPlugins,
_Tools Plugins_ appeared on the Tools page as did _Report Plugins_ on
the Reports page which was as described in Chapter 14 of the 3.18
manual. However there was no Plugins option under the More menu in the
tool bar.
When I went to Tools->Tools Plugins I expected to be able to upload some
of the Bywater Solutions sample plugins. This is what I got:
> Undefined subroutine &main::/var/lib/koha/bobsown/plugins called at (eval 1828) line 2.
> ...propagated at /usr/share/perl/5.14/base.pm line 93.
> BEGIN failed--compilation aborted at /usr/share/perl5/Authen/CAS/Client/Response.pm line 68.
> Compilation failed in require at /usr/share/perl5/Authen/CAS/Client.pm line 8.
> BEGIN failed--compilation aborted at /usr/share/perl5/Authen/CAS/Client.pm line 8.
> Compilation failed in require at /usr/share/koha/lib/C4/Auth_with_cas.pm line 25.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth_with_cas.pm line 25.
> Compilation failed in require at /usr/share/koha/lib/C4/Auth.pm line 60.
> BEGIN failed--compilation aborted at /usr/share/koha/lib/C4/Auth.pm line 84.
> Compilation failed in require at /usr/share/koha/intranet/cgi-bin/plugins/plugins-home.pl line 26.
> BEGIN failed--compilation aborted at /usr/share/koha/intranet/cgi-bin/plugins/plugins-home.pl line 26.
--
Bob Ewart
Chapter 14 in the 3.18 koha manual needs to be updated to include
/library/ where appropriate and to tell where the lines should be inserted.
On 12/09/2014 06:33 AM, Sami M. Rasheed <sami_rasheed at yahoo.com> wrote:
> Dears,Set up PluginsKoha version: 3.16.04.000
> I set up the Koha plugin system...
>
> - Create the directory /var/lib/koha/plugins
> - Add the lines <pluginsdir>/var/lib/koha/plugins</pluginsdir> <enable_plugins>1</enable_plugins>" to your koha-conf.xml file
> - Add the line Alias/plugin/ "/var/lib/koha/plugins/" to koha-httpd.conf file
> - Restart your webserver
> - Enable UseKohaPlugins system preference.
>
> Problem: Plugins still disabled.
>
> Plugins disabled!
> To enable Koha plugins, the system preference UseKohaPlugins must be enabled, and the flag enable_plugins must be set in the Koha configuration file
> How I can enable Plugins.. Thanks.------------------------------------------------------Sami Al-Asheh
>
More information about the Koha
mailing list