[Bug 9861] New: i get HTTP 404 when i click on title or author in search results.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 Bug ID: 9861 Summary: i get HTTP 404 when i click on title or author in search results. Classification: Unclassified Change sponsored?: --- Product: Koha Version: 3.10 Hardware: All OS: All Status: NEW Severity: major Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: hend.eleraky@bibalex.org Created attachment 16459 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16459&action=edit Error raised when i click on title I searched for some word[keyword] in OPAC then i tried to click on the title or the author i got "HTTP 404" error. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 --- Comment #1 from Hend <hend.eleraky@bibalex.org> --- Created attachment 16460 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=16460&action=edit Error raised when i click on author -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 Hend <hend.eleraky@bibalex.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - low |P1 - high -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 claire.hernandez@biblibre.com <claire.hernandez@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |In Discussion CC| |claire.hernandez@biblibre.c | |om Assignee|oleonard@myacpl.org |claire.hernandez@biblibre.c | |om --- Comment #2 from claire.hernandez@biblibre.com <claire.hernandez@biblibre.com> --- Hello Hend, I am happy to see tickets filled about Solr ;) First, just be carefull, Solr implementation is not ready for production. To go forward, I can propose you 2 things: 1/ Check you index configuration because the submitted config is for unimarc record indexes.yaml contains: - code: author facetable: 1 label: Author mandatory: 0 mappings: - 700$* - 710$* ressource_type: biblio sortable: 1 type: str You can change it by UI: http://<pro.community.local>/cgi-bin/koha/admin/searchengine/solr/indexes.pl 2/ Can you past me the output of both commands: $ ./misc/migration_tools/rebuild_solr.pl -i $ ./misc/migration_tools/rebuild_solr.pl -t biblio -n 2 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 --- Comment #3 from claire.hernandez@biblibre.com <claire.hernandez@biblibre.com> --- Mistake from me: I got the same error as you when I click on the author in result list. This feature is not implemented. But when I click on the title, I am going to the biblio detail page http://.../cgi-bin/koha/opac-detail.pl?biblionumber=1 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 claire.hernandez@biblibre.com <claire.hernandez@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |9862 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 claire.hernandez@biblibre.com <claire.hernandez@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 --- Comment #4 from Hend <hend.eleraky@bibalex.org> --- I had changed the indexes mapping to the following : indexes: - code: title facetable: 1 label: Title mandatory: 1 mappings: - 245$a - 245$b - 245$c ressource_type: biblio sortable: 1 type: ste - code: author facetable: 1 label: Author mandatory: 0 mappings: - 100$* - 110$* - 111$* ressource_type: biblio sortable: 1 type: str So the fields corresponds to marc21 tags When i tried to run ./misc/migration_tools/rebuild_solr.pl -i I got : SolrAPI = http://kohaUrl:8983/solr/koha How many indexed documents = 11435; and when i tried to run ./misc/migration_tools/rebuild_solr.pl -t biblio -n 2 i got : IndexRecord called with biblio 1 2 at /opt/ActivePerl-5.12/lib/Koha/SearchEngine/Solr/Index.pm line 35. Indexing biblio 1 at /opt/ActivePerl-5.12/lib/Koha/SearchEngine/Solr/Index.pm line 55. Indexing biblio 2 at /opt/ActivePerl-5.12/lib/Koha/SearchEngine/Solr/Index.pm line 55. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 --- Comment #5 from Hend <hend.eleraky@bibalex.org> --- I had found this error in koha-opac-error.log opac-detail.pl: Argument "Alex70" isn't numeric in int at /usr/share/koha/opac/cgi-bin/opac/opac-detail.pl line 72., referer: http://koha.bibalex.org/cgi-bin/koha/opac-search.pl?idx=&q=ivory Alex70 ==> exists in tag 001 ... -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 --- Comment #6 from Hend <hend.eleraky@bibalex.org> --- I had found that title has link http://koha.bibalex.org/cgi-bin/koha/opac-detail.pl?biblionumber=Alex70 Why it doesn't take biblionumber from biblio table instead of tag001 I tried to get the corresponding biblionumber from biblio table and wrote the following in the browser it opened http://koha.bibalex.org/cgi-bin/koha/opac-detail.pl?biblionumber=124 -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 --- Comment #7 from Hend <hend.eleraky@bibalex.org> --- I had found that koha biblionumber [999$c] is different from that existing in tag001 . Solr reads that exists in tag001 which is "Alex70" but the actual biblionumber is 124 . So i had changed the solr indexes to read biblionumber from 999$c instead and then i re-indexed all data. The problem is solved. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 --- Comment #8 from Hend <hend.eleraky@bibalex.org> --- For the author problem i had changed "/cgi-bin/koha/opac-search.pl?q=author:[% SEARCH_RESULT.author |url %] to "/cgi-bin/koha/opac-search.pl?idx=au&q=[% SEARCH_RESULT.author |url %] ...it worked . Now , i can get bib records by the selected author. -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|i get HTTP 404 when i |Solr: HTTP 404 when i click |click on title or author in |on title or author in |search results. |search results -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9861 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|In Discussion |RESOLVED CC| |katrin.fischer@bsz-bw.de Resolution|--- |WONTFIX --- Comment #9 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- The solr search code has been removed from Koha. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org