Bug 17773 - Not able to add or edit a record; error on screen
Summary: Not able to add or edit a record; error on screen
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Cataloging (show other bugs)
Version: 16.05
Hardware: PC Linux
: P5 - low normal (vote)
Assignee: Galen Charlton
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-14 10:06 UTC by Freerk Jongsma
Modified: 2018-06-04 20:10 UTC (History)
4 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Freerk Jongsma 2016-12-14 10:06:07 UTC
While editing or adding a new record I get the message:
Software error:

Not a HASH reference at /usr/share/perl/5.18/Module/Load/Conditional.pm line 216.

For help, please send mail to the webmaster ([no address given]), giving this error message and the time and date of the error. 
---
Does anyone recognize this message?
Btw the webmasters address IS given
Comment 1 Freerk Jongsma 2016-12-14 10:27:15 UTC
Found in antranet-error.log (last 3 lines):
[Wed Dec 14 10:42:06.203900 2016] [cgi:error] [pid 31714] [client 217.123.249.85:43086] AH01215: [Wed Dec 14 10:42:06 2016] addbiblio.pl: Not a HASH reference at /usr/share/perl/5.18/Module/Load/Conditional.pm line 216., referer: http://kbhw.nl:8080/cgi-bin/koha/cataloguing/addbiblio.pl

[Wed Dec 14 10:51:30.973627 2016] [cgi:error] [pid 31796] [client 217.123.249.85:45552] AH01215: [Wed Dec 14 10:51:30 2016] addbiblio.pl: Not a HASH reference at /usr/share/perl/5.18/Module/Load/Conditional.pm line 216., referer: http://kbhw.nl:8080/cgi-bin/koha/cataloguing/addbiblio.pl

[Wed Dec 14 10:59:43.480024 2016] [cgi:error] [pid 31849] [client 217.123.249.85:47740] AH01215: [Wed Dec 14 10:59:43 2016] addbiblio.pl: Not a HASH reference at /usr/share/perl/5.18/Module/Load/Conditional.pm line 216., referer: http://www.kbhw.nl:8080/cgi-bin/koha/cataloguing/addbiblio.pl?frameworkcode=BKS
Comment 2 Marcel de Rooy 2016-12-14 12:18:57 UTC
Hi Freerk,
You need to provide more details before anyone can be of help.
Which version of Koha? On which Linux version? With Plack, memcached, etc? 
The perl 5.18 tells me that you are probably not on Jessie.

Marcel
Comment 3 Katrin Fischer 2016-12-14 14:20:16 UTC
Can anyone confirm this bug?
Comment 4 Jonathan Druart 2016-12-14 16:50:34 UTC
Which version of Module::Load::Conditional are you using?

Lowering the severity until it's confirmed.
Comment 5 Jonathan Druart 2016-12-15 09:53:05 UTC
(answered by email)
> Module::Load::Conditional installed version is 0.54
> Freerk Jongsma

Wheezy is no longer supported and it appears you are using it (or another linux distro?).
Jessie's version is 0.62 and the min version may be wrong.

Freerk, which version of Koha are you using?
Comment 6 Freerk Jongsma 2016-12-15 10:03:21 UTC
(In reply to Marcel de Rooy from comment #2)
> Hi Freerk,
> You need to provide more details before anyone can be of help.
> Which version of Koha? On which Linux version? With Plack, memcached, etc? 
> The perl 5.18 tells me that you are probably not on Jessie.
> 
> Marcel

Server information 
Kona version: l61100.000 
OS version: Llnux kbhw.nl 4.4.053-generic #74-10.04.1-Ubuntu SMP Fri Dec 2 03:43:31 UTC 2016 x86_64
Perl Interpreter: /usr/bin/perl 
Peri version: 5.018002 
Perl @INC:/usr/share/koha/lib
          /etc/perl
          /usr/local/lib/perl/5.18.2
          /usr/local/share/perl/5.18.2
          /usr/lib/perl5
          /usr/share/perl5
          /usr/lib/perl/5.18
          /usr/share/perl/5.18
          /usr/local/lib/site_perl  
MySQL version: 	mysql Ver 14.14 Distrib 5.5.53, for debian-linux-gnu (x86_64) using readline 6.3 

Apache version: 	Server version: Apache/2.4.7 (Ubuntu) 

Memcached: 	Servers: undefined | Namespace: koha | Status: unknown | Config read from: Nowhere Note that the right place to define the memcached config is in your $KOHA_CONF file. Currently you do not have a valid memcached configuration defined. | Effective caching method: Cache::Memory 

Zebra version: 	Zebra 2.0.44 (C) 1994-2010, Index Data ApS Zebra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. SHA1 ID: 419ad759807269fdfa379799a051ed3a551c6541 Using ICU 

This is it i think
Comment 7 Freerk Jongsma 2016-12-15 10:07:58 UTC
What i changed was the port configuration:
opac on port 88 and koha on 8080
Comment 8 Freerk Jongsma 2016-12-15 10:52:53 UTC
Plack 1.0030 is installed

In Library.conf there are two lines ech for OPAc and Intranet
SetEnv MEMCACHED_SERVERS ¨¨
SetEnv MEMCACHED_NAMESPACE¨¨

In the meantime I installed php5-memcached and memcached
It did not appear in Server Information
(restarted apache2)

The Perl modules: 3 not installed
Test::DBIx::Class (0.42)
Readonly::XS (0.01)
HTTPD::Bench::ApacheBench (0.73)
Comment 9 Jonathan Druart 2016-12-20 12:47:05 UTC
I'd recommend you to upgrade Module::Load::Conditional to a newer version.
Comment 10 Jonathan Druart 2017-01-09 09:05:10 UTC
Freerk, did you fix your problem?
Comment 11 Jonathan Druart 2017-01-12 11:01:35 UTC
Lowering the severity as it's not confirmed.