[Koha-bugs] [Bug 4863] New: Bookfund.pm lacks use C4::Context
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Jun 9 10:58:52 CEST 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=4863
Summary: Bookfund.pm lacks use C4::Context
Change sponsored?: ---
Product: Koha
Version: rel_3_0
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P5
Component: Acquisitions
AssignedTo: henridamien at koha-fr.org
ReportedBy: evelio at masmedios.com
QAContact: koha-bugs at lists.koha-community.org
Estimated Hours: 0.0
After installing koha community 3.0.6 we have a 500 error invoking the
following URL on our internal server
http://koha2:8088/cgi-bin/koha/acqui/acqui-home.pl
change the exchange rate and save, it redirects to
http://koha2:8088/cgi-bin/koha/acqui/currency.pl?type=change&CAD=1.29540&type=change&EUR=1.00000&type=change&GBP=0.85000&type=change&USD=1.22990
and then get the 500 error.
Logs says
[Wed Jun 09 10:53:36 2010] [error] [client 192.168.x.y] Can't locate object
method "dbh" via package "C4::Context" (perhaps you forgot to load
"C4::Context"?) at /home/www/koha_bage/lib/C4/Bookfund.pm line 399., referer:
http://koha2:8088/cgi-bin/koha/acqui/acqui-home.pl
[Wed Jun 09 10:53:36 2010] [error] [client 192.168.x.y] Premature end of script
headers: currency.pl, referer:
http://koha2:8088/cgi-bin/koha/acqui/acqui-home.pl
we have fixed adding the following line at the begining of the file Bookfund.pm
use C4::Context;
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list