[Koha-bugs] [Bug 15426] New: RSS Feed does not work.

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Dec 26 23:31:53 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15426

            Bug ID: 15426
           Summary: RSS Feed does not work.
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching
          Assignee: gmcharlt at gmail.com
          Reporter: matthew.charlesworth at hekima.ac.ke
        QA Contact: testopia at bugs.koha-community.org

Hello,

> List of URL's referenced in this post:
>> [1] http://koha.1045719.n5.nabble.com/Display-of-Scrolling-New-Arrivals-List-on-Koha-OPAC-td5847767.html
>> [2] http://library.sj.org.za/cgi-bin/koha/opac-search.pl?idx=kw&idx=kw&idx=kw&limit=mc-itype%2Cphr%3ABK&sort_by=acqdate_dsc&do=Search
>> [3] http://library.sj.org.za/cgi-bin/koha/opac-search.pl?&limit=mc-itype%252Cphr%253ABK&count=50&sort_by=acqdate_dsc&format=rss2
>> [4] http://library.sj.org.za/cgi-bin/koha/opac-search.pl?&limit=mc-itype%252Cphr%253ABK&count=50&sort_by=acqdate_dsc&format=html

I had implemented the suggestion at URL [1] on Koha 3.20. It was working before
I upgraded to 3.22. Now the RSS link on the Advanced Search Results (with
limiting item-type to Books and Sort Ordered to Acquisition Date: Newest to
Oldest) page at URL [2] appears to be URL [3] which does not work with the RSS
Feed software (http://feed.mikle.com) described by Vinod in his post at URL [1]
above.

I tried to validate [3] at https://validator.w3.org/feed/ but I get the
following error:

"Server returned [Errno -2] Name or service not known [help]"

The help message for this error says:

"This usually means that the URL was wrong, or that permissions on the server
don't allow us to fetch that file. The error shows the message that the server
sent, which may help."

The file permissions for opac-search.pl is:

-rwxr-xr-x 1 library-koha library-koha 40740 Dec 25 14:16 opac-search.pl

If I change the format=rss2 to format=html it works, as in URL [4]

My Server Information in About Koha is:

> Koha version: 	    3.22.01.000
> OS version ('uname -a'):  Linux ip-172-31-38-247 3.13.0-71-generic
>                           #114-Ubuntu SMP Tue Dec 1 02:34:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> Perl interpreter:	    /usr/bin/perl
> Perl version:	            5.018002
> Perl @INC:	            /usr/share/koha/lib, /etc/perl, /usr/local/lib/perl/5.18.2 
>                           /usr/local/share/perl/5.18.2, /usr/lib/perl5, /usr/share/perl5 
>                           /usr/lib/perl/5.18, /usr/share/perl/5.18, /usr/local/lib/site_perl, . 
> MySQL version:	    mysql Ver 14.14 Distrib 5.5.46, for debian-linux-gnu (x86_64) using readline 6.3
> Apache version:	    Server version: Apache/2.4.7 (Ubuntu)
> Zebra version:	    Zebra 2.0.44

If you need to test the links, you can login to the OPAC with the username:
guest; password: guest

The entries in my error log are:

[Sat Dec 26 22:05:48.405262 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 86, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.405677 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 87, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.413331 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
352.
[Sat Dec 26 22:05:48.413532 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
353.
[Sat Dec 26 22:05:48.417325 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
352.
[Sat Dec 26 22:05:48.417570 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
353.
[Sat Dec 26 22:05:48.432903 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
352.
[Sat Dec 26 22:05:48.433142 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
353.
[Sat Dec 26 22:05:48.466750 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from /usr/share/koha/lib/C4/Auth.pm line 399,
this can lead to vulnerabilities. See the warning in "Fetching the value or
values of a single named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line
404.
[Sat Dec 26 22:05:48.586467 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 395, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.586834 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 395, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.587102 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 395, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.587362 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 395, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.589382 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 416, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.589696 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 426, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.589964 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 435, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.590241 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 440, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.590501 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 448, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.590748 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 461, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.591004 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl:
CGI::param called in list context from
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 463, this can lead to
vulnerabilities. See the warning in "Fetching the value or values of a single
named parameter" at /usr/local/share/perl/5.18.2/CGI.pm line 404.
[Sat Dec 26 22:05:48.612611 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:48 2015] opac-search.pl: Use of
uninitialized value in split at
/usr/share/koha/opac/cgi-bin/opac/opac-search.pl line 529.
[Sat Dec 26 22:05:49.836288 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:49 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
352.
[Sat Dec 26 22:05:49.836579 2015] [cgi:error] [pid 10246] [client
173.33.162.8:57341] AH01215: [Sat Dec 26 22:05:49 2015] opac-search.pl: Use of
uninitialized value in hash element at /usr/share/koha/lib/C4/Languages.pm line
353.

I have tried this in Safari (9.0.2 (11601.3.9)) and Chrome (47.0.2526.106
(64-bit)).

Does anyone have any ideas?

Matthew

> List of URL's referenced in this post:
>> [1] http://koha.1045719.n5.nabble.com/Display-of-Scrolling-New-Arrivals-List-on-Koha-OPAC-td5847767.html
>> [2] http://library.sj.org.za/cgi-bin/koha/opac-search.pl?idx=kw&idx=kw&idx=kw&limit=mc-itype%2Cphr%3ABK&sort_by=acqdate_dsc&do=Search
>> [3] http://library.sj.org.za/cgi-bin/koha/opac-search.pl?&limit=mc-itype%252Cphr%253ABK&count=50&sort_by=acqdate_dsc&format=rss2
>> [4] http://library.sj.org.za/cgi-bin/koha/opac-search.pl?&limit=mc-itype%252Cphr%253ABK&count=50&sort_by=acqdate_dsc&format=html

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list