[Koha] Bug in mainpage.pl?

Angel angelv64 at gmail.com
Wed Jul 22 20:46:50 NZST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

El 21/07/15 a las 16:34, Bob Ewart escribió:
> The latest version of CGI puts out that warning every time a
> statement of the form "$xxx = $cgi->param('yyy);" is executed. It
> should be changed to "$xxx = scalar $cgi->param('yyy');" and
> exists throughout Koha.
> 
> My koha-opac-error_log currently contains about 1M of the warnings.
> It doesn't hurt anything, but is a pain when trying to debug code.

I'm getting too a AH01215 Apache error message. It's strange: I'm
logged as staff, when I click on adbooks.pl (cataloguing) I can see
the error in log and when I go to Advanced Search I can see too. The
worst is when I select a keyword for search a record: I get a screen
warning Koha couldn't connect.

> 
> 
> On 07/21/2015 10:04 AM, Angel wrote: Hello all.
> 
> I've just installed kohan on Debian Jessie, I'm testing and 
> configuring, sometimes I get screen warning to not connect to
> server. In intranet-error.log I can see errors in cgi:
> 
> "search.pl: CGI::param called in list context from package main
> line 169, this can lead to vulnerabilities. See the warning in
> "Fetching the value or values of a single named parameter" at 
> /usr/share/perl5/CGI.pm line 436."
> 
> I was searchig for the warning, and it seems that mainpage.pl in 
> koha-common needs to be fixed, but I don't know how. Or perhaps
> there is other way avoid the error.
> 
> REgards and thanks in advanced
> 
>> _______________________________________________ Koha mailing list
>> http://koha-community.org Koha at lists.katipo.co.nz 
>> https://lists.katipo.co.nz/mailman/listinfo/koha
> 
> _______________________________________________ Koha mailing list
> http://koha-community.org Koha at lists.katipo.co.nz 
> https://lists.katipo.co.nz/mailman/listinfo/koha

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVr1h5AAoJEPploz+wCpxHqnkQAIfwIJq9MVWYTKTaoBhwJ5I8
x56LVCuChK1lvZRXZSHypMqzPl1faiIxwUumLOxV8KKA2mwX50Ctzu3d9YUIL3YQ
ZjHx14SFlO39QaJilLv+rmYBntMNMK5UKGht9QPnjR77z+I3vB97dzIyHrs+EwLo
BKnjB9UJNCY8ss1Jav1bMauPA9nUxaacwuD4bXMwOicXqJZLD1riYfh7ZJC1HENE
g+RMkmI6iY7uXV4NdgMf0vqrFDRt+Rq9CulSzUdRax79T55Emzj87+j1ITORT6fp
/qnABsQON1Ha6aRd5J07Eq5sAKqrq2o7GKuvkHYHlzhJWVNMexSb0UZ4wFvy9df7
ojRtCYkQdgiFOBwWmOGC0F+T8YlLOYAA5/fu+/emtFwiQzrB3mWFmobFs1q5WcR7
IMhXmNub/nqW5U92P+WlwF2Ro3XT9rSwfCvLlFzrU9fAhZKD/gL1+FCKcnDMpCu7
FhvrzmTMDVVVDfD2Im1OR/yPCpGtYJFF5oR5paxD95GaUjDPoialJXOUgWZZX7Dp
m8COA8sTGd14Y+VJc3YaQWIv/lVCBBvKZBCMyXiMe0z+BwTdlNOP5ftjlrx+kX4h
ZYRMPMuaKgyBvAitFh86bxfUx11eM1yH1VeI2u9KzhRg1jM5OzRn2YYDoSZIQpZG
Tvp5ApTjgTkpIC/Z3a6k
=MVZI
-----END PGP SIGNATURE-----


More information about the Koha mailing list