[Koha-bugs] [Bug 11998] Syspref caching issues
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 7 13:55:11 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11998
--- Comment #114 from Jacek Ablewicz <abl at biblos.pk.edu.pl> ---
I'm unable to test this patch set with fastmmap caching system - it seems to
break it somehow.. With patch, and fastmmap cache enabled, anything (?) that
uses Koha::Cache results with:
Use of uninitialized value $db_name in concatenation (.) or string at
/home/koha/devkohaclone/Koha/Database.pm line 73.
Use of uninitialized value $db_host in concatenation (.) or string at
/home/koha/devkohaclone/Koha/Database.pm line 73.
DBI connect('database=;host=;port=','',...) failed: Access denied for user
'koha'@'localhost' (using password: NO) at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1249
DBIx::Class::Storage::DBI::dbh(): DBI Connection failed: Access denied for user
'koha'@'localhost' (using password: NO) at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1253. at
/home/koha/devkohaclone/Koha/Database.pm line 90
To reproduce (on command line)
0) ensure that you have fastmmap perl module installed (libcache-fastmmap-perl
in debian)
1) apply patch (without patch: no error in current master)
2) export CACHING_SYSTEM=fastmmap
3) export GATEWAY_INTERFACE=1
4) try to run this simple script:
#!/usr/bin/perl
use Modern::Perl;
use C4::Biblio;
GetMarcStructure();
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list