[Koha] Koha Plugin System
Liz Rea
liz at catalyst.net.nz
Wed Feb 8 13:56:34 NZDT 2017
Hi Bob,
Probably you have a compile error in your plugin, see bug
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17461. It
turns out that if the plugin has some kind of syntax error, the plugin
entry won't turn up in the intranet, *and* won't give any errors either!
I'm going to take a guess that you have a use C4::Branches in your
plugin, as that seems quite common a thing for plugins to choke on since
all of the branches stuff was moved to Koha::Libraries in a recent version.
You could also try applying or editing your code to use the patch off of
the above bug, and see if you get more useful diagnostic information.
Sincerely,
Liz, who just spent much too long figuring out what the heck was going
on and now has a bruised forehead from banging her head on the wall.
On 04/02/17 17:50, Bob Ewart wrote:
> I just installed Debian-live-8.7.1-amd64-kde-desktop.iso on a virtual
> machine and Koha 16.11.03 from the Debian packages, and mysql 5.5. I
> reloaded my koha.sql data from the old system 3.22.05.
>
> The upgrade went with a few errors:
>
> [Fri Feb 3 22:08:01 2017] updatedatabase.pl: At least one
> authorised value has an icon defined (imageurl)
> [Fri Feb 3 22:08:01 2017] updatedatabase.pl: The system preference
> AuthorisedValueImages or StaffAuthorisedValueImages could be turned
> off if you are not aware of this feature
> [Fri Feb 3 22:08:30 2017] updatedatabase.pl: item-level_itypes set
> but no itype defined for item (495) at
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
> line 13447.
> [Fri Feb 3 22:08:32 2017] updatedatabase.pl: item-level_itypes set
> but no itype defined for item (1632) at
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
> line 13447.
> [Fri Feb 3 22:08:32 2017] updatedatabase.pl: item-level_itypes set
> but no itype defined for item (658) at
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
> line 13447.
> [Fri Feb 3 22:08:34 2017] updatedatabase.pl: item-level_itypes set
> but no itype defined for item (20337) at
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
> line 13447.
> [Fri Feb 3 22:08:34 2017] updatedatabase.pl: DBD::mysql::db do
> failed: Can't DROP 'isbn'; check that column/key exists [for Statement
> "ALTER TABLE biblioitems DROP INDEX isbn"] at
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
> line 13734.
> [Fri Feb 3 22:08:34 2017] updatedatabase.pl: DBD::mysql::db do
> failed: Can't DROP 'issn'; check that column/key exists [for Statement
> "ALTER TABLE biblioitems DROP INDEX issn"] at
> /usr/share/koha/intranet/cgi-bin/installer/data/mysql/updatedatabase.pl
> line 13735.
>
> I followed the wiki and Kyle's additions to set up plugins.
>
> I tried to install my DonorApp plugin. It put the plugin in the
> proper place but no plugins showed up on the Tools Plugins page. I
> tried ByWater's kitchen-sink-v1.kpz with the same result.
>
>
> On 01/29/2016 02:30 PM, Kyle Hall wrote:
>> Glad to help!
>>
>> Kyle
>>
>> http://www.kylehall.info
>> ByWater Solutions ( http://bywatersolutions.com )
>> Meadville Public Library ( http://www.meadvillelibrary.org )
>> Crawford County Federated Library System ( http://www.ccfls.org )
>> Mill Run Technology Solutions ( http://millruntech.com )
>>
>> On Fri, Jan 29, 2016 at 1:14 PM, Bortel, Gary <gary.bortel at sos.wa.gov>
>> wrote:
>>
>>> Perfect, Kyle!
>>>
>>> Thanks for adding the updates to the instructions at
>>> https://github.com/bywatersolutions/koha-plugin-coverflow
>>>
>>>
>>> gcb
>>> ______________________
>>>
>>> From: Kyle Hall [mailto:kyle.m.hall at gmail.com]
>>> Sent: Friday, January 29, 2016 3:17 AM
>>> To: Bortel, Gary <gary.bortel at sos.wa.gov>
>>> Cc: koha at lists.katipo.co.nz
>>> Subject: Re: [Koha] Koha Plugin System
>>>
>>> Add this as well:
>>>
>>> <Directory /var/lib/koha/library1/plugins>
>>> Options Indexes FollowSymLinks
>>> AllowOverride None
>>> Require all granted
>>> </Directory>
>>>
>>> http://www.kylehall.info
>>> ByWater Solutions ( http://bywatersolutions.com )
>>> Meadville Public Library ( http://www.meadvillelibrary.org )
>>> Crawford County Federated Library System ( http://www.ccfls.org )
>>> Mill Run Technology Solutions ( http://millruntech.com )
>>>
>
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
--
--
Liz Rea
Catalyst.Net Limited
Level 6, Catalyst House,
150 Willis Street, Wellington.
P.O Box 11053, Manners Street,
Wellington 6142
GPG: B149 A443 6B01 7386 C2C7 F481 B6c2 A49D 3726 38B7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <https://lists.katipo.co.nz/pipermail/koha/attachments/20170208/05d6a739/attachment.sig>
More information about the Koha
mailing list