error in acquisition in 3.6 version

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

error in acquisition in 3.6 version

Sunita Barve
While checking acquisitions in 3.6 the following error occured while searching the vendors as well as while closing the basket in acquisitions module.

Software error:

Can't use an undefined value as a HASH reference at /usr/share/koha/intranet/cgi-bin/acqui/booksellers.pl line 114.

For help, please send mail to the webmaster ([hidden email]), giving this error message and the time and date of the error.

reg
 
Sunita Barve, Ph. D.
SIRC-In-Charge
National Centre for Radio Astrophysics
Post Bag No. 3, Pune Univ. Campus
Pune 411 007, INDIA
Phone : Office : 91-20-25719211
            Residence : 91-020- 24470022
            Mobile: 9922753827
Email : [hidden email] ; [hidden email]

_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha
Reply | Threaded
Open this post in threaded view
|

Re: error in acquisition in 3.6 version

Ian Walls
Sunita,


This error is coming up because the owner of one of your baskets is not a valid borrower anymore.  Either the value in the aqbasket.authorisedby is not a borrowernumber, or it belongs to a deleted borrower.

You can identify all baskets with 'problem' owners with this Report:

SELECT basketno FROM aqbasket LEFT JOIN borrowers USING (borrowernumber) WHERE borrowers.borrowernumber IS NULL

You'll just need to go into your database, then, and update those basket owners to a valid borrower.

We've run into this bug before, and a patch has been generated, but it doesn't look like it made it into 3.6.  If you're on a git install, once it's patched, you can pull the newest code, and not have to worry about this. Otherwise, modifying your database is probably going to be the fastest way to make this issue go away.

Cheers,


-Ian

2011/10/24 Sunita Barve <[hidden email]>
While checking acquisitions in 3.6 the following error occured while searching the vendors as well as while closing the basket in acquisitions module.

Software error:

Can't use an undefined value as a HASH reference at /usr/share/koha/intranet/cgi-bin/acqui/booksellers.pl line 114.

For help, please send mail to the webmaster ([hidden email]), giving this error message and the time and date of the error.

reg
 
Sunita Barve, Ph. D.
SIRC-In-Charge
National Centre for Radio Astrophysics
Post Bag No. 3, Pune Univ. Campus
Pune 411 007, INDIA
Phone : Office : 91-20-25719211
            Residence : 91-020- 24470022
            Mobile: 9922753827
Email : [hidden email] ; [hidden email]

_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha




--
Ian Walls
Lead Development Specialist
ByWater Solutions
Phone # (888) 900-8944
http://bywatersolutions.com
[hidden email]
Twitter: @sekjal

_______________________________________________
Koha mailing list  http://koha-community.org
[hidden email]
http://lists.katipo.co.nz/mailman/listinfo/koha