opac / no results for a search
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
Greetings, This sounds like my indexing problem that I had last night. I had just done a fresh git install with ICU selected, and despite having zebra reindexed and having correct permissions (I had two files, which I had to fix, but nothing really wrong), search was always returning no results. Of course, my default settings are MARC21, which may differ from your settings. I just thought I'd throw this comment out, since it could be related. GPML, Mark Tompsett -----Original Message----- From: Samuel Desseaux Sent: Wednesday, May 29, 2013 9:31 AM To: KOHA ; koha-devel@lists.koha-community.org Subject: [Koha-devel] opac / no results for a search 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@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/
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@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@biblibre.com
opacsuppression is on "hidden" opachiddentitems is empty Regards, 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@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/
then try this.... open the catalogue and change one records from 942n$1 ... it should appears the results (I think you should reindex) 2013/6/5 Samuel Desseaux <samuel.desseaux@ecp.fr>
opacsuppression is on "hidden"
opachiddentitems is empty
Regards,
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@lists.koha-**community.org<Koha-devel@lists.koha-community.org> http://lists.koha-community.**org/cgi-bin/mailman/listinfo/**koha-devel<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/<http://bugs.koha-community.org/>
______________________________**_________________ Koha-devel mailing list Koha-devel@lists.koha-**community.org<Koha-devel@lists.koha-community.org> http://lists.koha-community.**org/cgi-bin/mailman/listinfo/**koha-devel<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/ <http://bugs.koha-community.org/>
-- *Hugo Agud - Orex Digital * *www.orex.es* * * Director Mossen Jaume Rafanell, 21 · 08338 Premià de Dalt - Tel: 93 539 40 70 hagud@orex.es · http://www.orex.es/ No imprima este mensaje a no ser que sea necesario. Una tonelada de papel implica la tala de 15 árboles y el consumo de 250.000 litros de agua. Aviso de confidencialidad Este mensaje contiene información que puede ser CONFIDENCIAL y/o de USO RESTRINGIDO. Si usted no es el receptor deseado del mensaje (ni está autorizado a recibirlo por el remitente), no está autorizado a copiar, reenviar o divulgar el mensaje o su contenido. Si ha recibido este mensaje por error, por favor, notifíquenoslo inmediatamente y bórrelo de su sistema.
Le 05/06/2013 11:06, Samuel Desseaux a écrit :
opacsuppression is on "hidden" In this case, there must be an index Suppress defined on a subfield in marc_defs/unimarc/biblio/record.abs. If no biblio has a value for this subfield, the search in OPAC will never work. Try to set this syspref off.
opachiddentitems is empty
Regards,
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@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@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@biblibre.com
ok, i 'll try to find this I've checked some parameters, in order to be sure. /etc/init.d lrwxrwxrwx 1 root root 32 23 mai 11:22 koha-zebra-daemon -> /home/koha/bin/koha-zebra-ctl.sh root@tst-koha:/etc/init.d# ps -aux | grep zebra Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html koha 17633 0.0 0.3 99752 8224 ? S May29 0:00 zebrasrv -f /home/koha/etc/koha-conf.xml root 20287 0.0 0.0 9616 908 pts/0 S+ 10:15 0:00 grep zebra koha@tst-koha:~$ ls -alh /home/koha/var/lock/ total 12K drwxr-xr-x 3 koha koha 4,0K 25 avril 16:13 . drwxr-xr-x 7 koha koha 4,0K 25 avril 16:13 .. drwxr-xr-x 4 koha koha 4,0K 25 avril 16:13 zebradb Samuel Le 05/06/2013 11:10, Fridolyn SOMERS a écrit :
Le 05/06/2013 11:06, Samuel Desseaux a écrit :
opacsuppression is on "hidden" In this case, there must be an index Suppress defined on a subfield in marc_defs/unimarc/biblio/record.abs. If no biblio has a value for this subfield, the search in OPAC will never work. Try to set this syspref off.
opachiddentitems is empty
Regards,
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@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@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/
I don't really see an index suppress. I join to this email my record.abs (if someone is better than me to find this mysterious thing :-)). The most mysterious thing for me is that a few weeks ago, the search in opacd worked when i've upgraded to koha 3.12. Regards, Samuel Le 05/06/2013 11:10, Fridolyn SOMERS a écrit :
Le 05/06/2013 11:06, Samuel Desseaux a écrit :
opacsuppression is on "hidden" In this case, there must be an index Suppress defined on a subfield in marc_defs/unimarc/biblio/record.abs. If no biblio has a value for this subfield, the search in OPAC will never work. Try to set this syspref off.
opachiddentitems is empty
Regards,
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@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@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/
Both are off. Here is some of logs root@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@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@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@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/
[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:
Try to switch OpacSuppression system preference. You must not to hide items marked as suppressed from OPAC.
Le 12/06/2013 16:34, Frédéric Demians a écrit :
[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:
Try to switch OpacSuppression system preference. You must not to hide items marked as suppressed from OPAC. I've tried and keep the same problem. The professional search works very well but not the opac. Maybe there's something wrong on the record.abs?
Try to switch OpacSuppression system preference. You must not to hide items marked as suppressed from OPAC.
I've tried and keep the same problem. The professional search works very well but not the opac. Maybe there's something wrong on the record.abs?
In your Zebra log file, do you still have this? not Suppress=1 You can also try to force OpacSuppression syspref to false: UPDATE systempreferences SET value=0 WHERE variable='OpacSuppression'
Le 12/06/2013 17:12, Frédéric Demians a écrit :
Try to switch OpacSuppression system preference. You must not to hide items marked as suppressed from OPAC.
I've tried and keep the same problem. The professional search works very well but not the opac. Maybe there's something wrong on the record.abs?
In your Zebra log file, do you still have this?
not Suppress=1
You can also try to force OpacSuppression syspref to false:
UPDATE systempreferences SET value=0 WHERE variable='OpacSuppression'
ok, i'll try this :-)
Le 12/06/2013 17:12, Frédéric Demians a écrit :
Try to switch OpacSuppression system preference. You must not to hide items marked as suppressed from OPAC.
I've tried and keep the same problem. The professional search works very well but not the opac. Maybe there's something wrong on the record.abs?
In your Zebra log file, do you still have this?
not Suppress=1
No, not Suppress is null. :-\
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@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@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@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@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@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@biblibre.com
Also this 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 Leads me to believe zebrasrv isnt actually running Chris
Also this
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
Leads me to believe zebrasrv isnt actually running Well: staff interface search works, so there must be some zebra running somewhere ! On the french mailing lists, I've suggested that could come from a strange/wrong/duplicate launch of zebra or some kind of tricky things
Le 12/06/2013 23:15, Chris Cormack a écrit : like that. big mystery though... -- Paul POULAIN - BibLibre http://www.biblibre.com Free & Open Source Softwares for libraries Koha, Drupal, Piwik, Jasper
Le 13/06/2013 09:07, Paul Poulain a écrit :
Also this
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
Leads me to believe zebrasrv isnt actually running Well: staff interface search works, so there must be some zebra running somewhere ! On the french mailing lists, I've suggested that could come from a strange/wrong/duplicate launch of zebra or some kind of tricky things
Le 12/06/2013 23:15, Chris Cormack a écrit : like that. big mystery though...
Hi, Problem has been solved but stay very mysterious. Fridolyn ( one of your colleague Paul :-)) sais yesterday "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. " I've changed " OPACdefaultSortField " (by using "title" instead of "by relevance") and "OPACdefaultSortOrder" (A to Z) and it works now.
participants (7)
-
Chris Cormack -
Fridolyn SOMERS -
Frédéric Demians -
Hugo Agud -
Mark Tompsett -
Paul Poulain -
Samuel Desseaux