[Koha-devel] opac / no results for a search

Fridolyn SOMERS fridolyn.somers at biblibre.com
Wed Jun 12 17:58:39 CEST 2013


Problem comes from :
@or @attr 1=1016 @attr 4=6 "#relevance_asc"
I don't know how it can appear.
But try turning "QueryWeightFields" off.

Le 12/06/2013 15:45, Samuel Desseaux a écrit :
> Both are off.
>
> Here is some of logs
>
> root at tst-koha:/home/koha/var/log# tail -f koha-opac-error_log
> [Wed Jun 12 15:31:18 2013] [error] [client 138.195.30.33] client denied
> by server configuration:
> /home/koha/kohaclone/koha-tmpl/opac-tmpl/prog/fr-FR/includes/favicon.ico
> [Wed Jun 12 15:31:18 2013] [error] [client 138.195.30.33] File does not
> exist: /home/koha/kohaclone/koha-tmpl/images, referer:
> http://tst-koha.ecp.fr/
> [Wed Jun 12 15:31:20 2013] [error] [client 138.195.30.33] client denied
> by server configuration:
> /home/koha/kohaclone/koha-tmpl/opac-tmpl/prog/fr-FR/includes/favicon.ico
> [Wed Jun 12 15:31:23 2013] [error] [client 138.195.30.33] [Wed Jun 12
> 15:31:23 2013] opac-search.pl: WARNING: query problem with (@and @or @or
> @attr 1=1016 @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola"
> @attr 9=34 @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1 ZOOM error
> 20003 "can't set prefix query" (addinfo: "(@and @or @or @attr 1=1016
> @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola" @attr 9=34
> @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1") from
> diag-set 'ZOOM' at /home/koha/kohaclone/C4/Search.pm line 378., referer:
> http://tst-koha.ecp.fr/
> [Wed Jun 12 15:31:24 2013] [error] [client 138.195.30.33] File does not
> exist: /home/koha/kohaclone/koha-tmpl/images, referer:
> http://tst-koha.ecp.fr/cgi-bin/koha/opac-search.pl?idx=&q=zola
> [Wed Jun 12 15:31:26 2013] [error] [client 138.195.30.33] [Wed Jun 12
> 15:31:26 2013] opac-search.pl: WARNING: query problem with (@and @or @or
> @attr 1=1016 @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola"
> @attr 9=34 @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1 ZOOM error
> 20003 "can't set prefix query" (addinfo: "(@and @or @or @attr 1=1016
> @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola" @attr 9=34
> @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1") from
> diag-set 'ZOOM' at /home/koha/kohaclone/C4/Search.pm line 378., referer:
> http://tst-koha.ecp.fr/cgi-bin/koha/opac-search.pl?idx=&q=zola
> [Wed Jun 12 15:33:32 2013] [error] [client 198.20.69.74] File does not
> exist: /home/koha/kohaclone/koha-tmpl/robots.txt
> [Wed Jun 12 15:36:48 2013] [error] [client 138.195.30.33] [Wed Jun 12
> 15:36:48 2013] opac-search.pl: WARNING: query problem with (@and @or @or
> @attr 1=1016 @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola"
> @attr 9=34 @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1 ZOOM error
> 20003 "can't set prefix query" (addinfo: "(@and @or @or @attr 1=1016
> @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola" @attr 9=34
> @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1") from
> diag-set 'ZOOM' at /home/koha/kohaclone/C4/Search.pm line 378., referer:
> http://tst-koha.ecp.fr/cgi-bin/koha/opac-search.pl?idx=&q=zola
> [Wed Jun 12 15:36:49 2013] [error] [client 138.195.30.33] File does not
> exist: /home/koha/kohaclone/koha-tmpl/images, referer:
> http://tst-koha.ecp.fr/cgi-bin/koha/opac-search.pl?idx=&q=zola
> [Wed Jun 12 15:36:51 2013] [error] [client 138.195.30.33] [Wed Jun 12
> 15:36:51 2013] opac-search.pl: WARNING: query problem with (@and @or @or
> @attr 1=1016 @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola"
> @attr 9=34 @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1 ZOOM error
> 20003 "can't set prefix query" (addinfo: "(@and @or @or @attr 1=1016
> @attr 4=6 "zola" @attr 9=20 @attr 2=102 @attr 4=6 "zola" @attr 9=34
> @attr 2=102 @attr 4=6 "zola" @or @or @attr 1=1016 @attr 4=6
> "#relevance_asc" @attr 9=20 @attr 2=102 @attr 4=6 "#relevance_asc" @attr
> 9=34 @attr 2=102 @attr 4=6 "#relevance_asc") not Suppress=1") from
> diag-set 'ZOOM' at /home/koha/kohaclone/C4/Search.pm line 378., referer:
> http://tst-koha.ecp.fr/cgi-bin/koha/opac-search.pl?idx=&q=zola
>
>
> root at tst-koha:/home/koha/var/log# tail -f koha-zebradaemon.err
> 20130607 11:31:46 koha-zebra-ctl.bibecp: client (pid 26178) exited with
> 1 status
> 20130607 11:31:46 koha-zebra-ctl.bibecp: client (pid 26179) exited with
> 1 status
> 20130607 11:31:46 koha-zebra-ctl.bibecp: client (pid 26180) exited with
> 1 status
> 20130607 11:31:46 koha-zebra-ctl.bibecp: terminating too quickly,
> waiting 30 seconds
> 20130607 11:32:16 koha-zebra-ctl.bibecp: client (pid 26181) exited with
> 1 status
> 20130607 11:32:17 koha-zebra-ctl.bibecp: client (pid 26182) exited with
> 1 status
> 20130607 11:32:17 koha-zebra-ctl.bibecp: client (pid 26183) exited with
> 1 status
> 20130607 11:32:17 koha-zebra-ctl.bibecp: client (pid 26184) exited with
> 1 status
> 20130607 11:32:17 koha-zebra-ctl.bibecp: client (pid 26185) exited with
> 1 status
> 20130607 11:32:17 koha-zebra-ctl.bibecp: terminating too quickly,
> waiting 30 seconds
>
> root at tst-koha:/home/koha/var/log# tail -f koha-zebradaemon-output.log
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'Serials' not found in attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'Printed-music' not found in
> attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'Printed-music' not found in
> attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'Electronic-ressource' not
> found in attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'Title-host' not found in
> attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'title-host' not found in
> attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'Title-host' not found in
> attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'title-host' not found in
> attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'lcn' not found in attset(s)
> 15:36:52-12/06 zebrasrv(23) [warn] Index 'lcn' not found in attset(s)
>
>
>
> I keep this boring problem and don't find a solution. I would avoid to
> reinstall it, if possible.
>
> Thank you for your help
>
> samuel
>
>
>
> Le 05/06/2013 11:02, Fridolyn SOMERS a écrit :
>> You mean opacsuppression is on or off ?
>> And OpacHiddenItems ?
>>
>> Le 29/05/2013 15:31, Samuel Desseaux a écrit :
>>> Hi!
>>>
>>> We use koha 3.12 and we have today a problem with our opac.
>>>
>>> When we do a search, it gives no results (but, the professional search
>>> work fine).
>>>
>>>   I run zebra as a user named koha and the ownership of files are ok.
>>>
>>> I've checked some systempreferences as "hidelostitem" and
>>> "opacsuppression": all is ok.
>>>
>>> An idea?
>>>
>>> Best regards
>>>
>>> Samuel
>>> _______________________________________________
>>> Koha-devel mailing list
>>> Koha-devel at lists.koha-community.org
>>> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
>>> website : http://www.koha-community.org/
>>> git : http://git.koha-community.org/
>>> bugs : http://bugs.koha-community.org/
>>
>
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/

-- 
Fridolyn SOMERS
Biblibre - Pôle support
fridolyn.somers at biblibre.com


More information about the Koha-devel mailing list