https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16067
Bug ID: 16067
Summary: Koha::Cache, fastmmap caching system is broken
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
After Bug 11998, fastmmap caching system implementation in Koha::Cache ceased
to work properly. If fastmmap is enabled (= environment variable CACHING_SYSTEM
is set to 'fastmmap'), any CGI script call causes the following error:
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) export CACHING_SYSTEM=fastmmap
2) export GATEWAY_INTERFACE=1
3) 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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/