Acquisition additem-nomarc
Undefined subroutine &main::branches called at C:/usr/koha200pre2/intranet/cgi-bin/koha/acqui.simple/additem-nomarc.pl line 72 Cause: Someone commented out C4::Catalogue. to fix: Remove # in front of use. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.796 / Virus Database: 540 - Release Date: 13/11/2004
Waylon Robertson a écrit :
Undefined subroutine &main::branches called at C:/usr/koha200pre2/intranet/cgi-bin/koha/acqui.simple/additem-nomarc.pl line 72 Cause: Someone commented out C4::Catalogue. to fix: Remove # in front of use.
I suppose you speak of 2.2.0RC1 even if your directory if koha200pre2 The problem is in known bugs in the release notes : it's due to MARC=OFF systempref. Katipo promised to solve the problem. Note to katipo & you : removing the # before C4::Catalogue should not be done : the Catalogue.pm is deprecated (splitted in Biblio.pm & acquisition.pm) So, any sub called in Catalogue.pm should be moved somewhere else. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
On Fri, Nov 19, 2004 at 01:35:25PM +0100, Paul POULAIN said:
Waylon Robertson a ?crit :
Undefined subroutine &main::branches called at C:/usr/koha200pre2/intranet/cgi-bin/koha/acqui.simple/additem-nomarc.pl line 72 Cause: Someone commented out C4::Catalogue. to fix: Remove # in front of use.
I suppose you speak of 2.2.0RC1 even if your directory if koha200pre2
The problem is in known bugs in the release notes : it's due to MARC=OFF systempref. Katipo promised to solve the problem.
Hi guys I shifted the subroutine to C4::Biblio, seems all good, so should be fixed in CVS Chris -- Chris Cormack Programmer 027 4500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
Chris Cormack a écrit :
On Fri, Nov 19, 2004 at 01:35:25PM +0100, Paul POULAIN said:
Waylon Robertson a ?crit :
Undefined subroutine &main::branches called at C:/usr/koha200pre2/intranet/cgi-bin/koha/acqui.simple/additem-nomarc.pl line 72 Cause: Someone commented out C4::Catalogue. to fix: Remove # in front of use.
I suppose you speak of 2.2.0RC1 even if your directory if koha200pre2
The problem is in known bugs in the release notes : it's due to MARC=OFF systempref. Katipo promised to solve the problem.
Hi guys
I shifted the subroutine to C4::Biblio, seems all good, so should be fixed in CVS
Sorry chris, but I think i fixed the problem a few hours before you, with waylon on IRC : you just need to add use C4::Acquisitions instead of deprecated Catalogue.pm. (that's one of the bugfix in 2.2.0RC2) So i'll roll back your commit into Biblio.pm let me know if i've missed something PS : you may argue sub branches should be in Biblio and not in Acquisition. That may be discussed, I agree. However, it already was in acquisition and must not be in both packages. And imho, the best place for such a "standard" sub, should be Koha.pm. -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (3)
-
Chris Cormack -
Paul POULAIN -
Waylon Robertson