[Koha] Koha 16.05.03 - Software Error: opac-memberentry.pl?

Craig Butosi craig.butosi at rcmusic.ca
Sun Aug 28 13:20:52 NZST 2016


Update:

After adding

my $borrower;

to line 38 of opac-memberentry.pl I was able to successfully access the personal details page without error.


The code area in opac-memberentry.pl to which I am referring looked like this:

36 my $cgi = new CGI;
37 my $dbh = C4::Context->dbh;

and now looks like this:

36 my $cgi = new CGI;
37 my $dbh = C4::Context->dbh;
38 my $borrower;

Very strange, but could this perhaps be a bug? Also, I have absolutely no idea whether this  declared variable will impact the rest of the code, or interfere with other areas of Koha.

Please advise.

C

Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
the royal conservatory
TELUS Centre for Performance and Learning
273 Bloor Street West Toronto, ON  M5S 1W2
416.408.2824 x338
www.rcmusic.ca

________________________________________
From: Koha [koha-bounces at lists.katipo.co.nz] on behalf of Craig Butosi [craig.butosi at rcmusic.ca]
Sent: Saturday, August 27, 2016 6:46 PM
To: koha
Subject: [Koha] Koha 16.05.03 - Software Error: opac-memberentry.pl?

Hi all,

Just upgraded to 16.05.03 from 16.06.02 (Ubuntu 14.04, package install).

Logging into the OPAC, then clicking on "your personal details" throws this error:

Software error:

Global symbol "$borrower" requires explicit package name at /usr/share/koha/opac/cgi-bin/opac/opac-memberentry.pl line 190.
Execution of /usr/share/koha/opac/cgi-bin/opac/opac-memberentry.pl aborted due to compilation errors.


For help, please send mail to the webmaster ([no address given]<mailto:[no%20address%20given]>), giving this error message and the time and date of the error.


Any idea what's going on here? Is there something awry with the opac-memberentry.pl script?

Anyone else experience this?

C

Craig Butosi, MA, MLIS, B Mus (Hons.)
LIBRARY SERVICES MANAGER
the royal conservatory
TELUS Centre for Performance and Learning
273 Bloor Street West Toronto, ON  M5S 1W2
416.408.2824 x338
www.rcmusic.ca<https://webmail.rcmusic.ca/owa/redir.aspx?C=b481823b299d45ee94b0016389bb76e9&URL=http%3a%2f%2fwww.rcmusic.ca%2f>


Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.
_______________________________________________
Koha mailing list  http://koha-community.org
Koha at lists.katipo.co.nz
https://lists.katipo.co.nz/mailman/listinfo/koha


Note: This email message and any attachments are intended only for the use of the individual to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If the recipient of this email is not the intended recipient (or the employee or agent responsible for delivering the email to the intended recipient), you are hereby notified that any review, dissemination, distribution or copying or other use of this message is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return email and delete this message and attachments from your system, thank you.


More information about the Koha mailing list