Webboard: php frontend 3.1.3.2 (bugs?)

2001-05-12 Thread manuel desdin

Author: manuel desdin
Email: [EMAIL PROTECTED]
Message:
hi,
i am indexing with mnogosearch 3.1.12 and method htdb. i encountered 
following problems with the php frontend version 3.1.3.2 (php version 
4.0.5 compiled with mnogosearch extension):
wm -> wrd is not working at all (no matches at all)
ul is not working at all (works only with value null)
m -> any is not working as expected (same ouput as m -> all)
the same template (search.htm with every known option) works fine 
with search.cgi and because everything else works fine under the php 
frontend i think these are bugs (or?). thanks for any help!

manu :-)

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: Webboard: Compil warning with GCC under OSX 10.0.0

2001-05-12 Thread Maxime Zakharov

Dominique Chiron wrote:
> 
> Author: Dominique Chiron
> Email: [EMAIL PROTECTED]
> Message:
> Hi, this is the warning we see on compil MnoGo with Mac OSX.
> The install run fine. THe only other problem encountered is then MnoGo ending 
>parsing of URL's he made a "segmentation fault" (10 or 100 it's the same) . But the 
>parsing seems to be ok and searching operation are correct and speed...
> 
> Any idea to correct the problem ?

Try to build with gcc and -g compile option. And after "segmentation
fault" use
gdb --core=indexer.core indexer
to debug and see cause of the trap.


> WARNING
> ---
> # at line 312
> spelld.c:241: warning: passing arg 3 of `accept' from incompatible pointer type

I fix this (I hope). Try current version from CVS (see
http://www.mnogosearch.org/)

-- 
Maxime Zakharov   http://sochi.net.ru/~maxime/
 Sochi, Russia   http://www.sochi.com/
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: htdb and his first entry

2001-05-12 Thread manuel desdin

Author: manuel desdin
Email: 
Message:
it doesn't work! the entry is still there!!!
(of course deleted first the db: indexer -C)
???
manu :-)

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: Compil warning with GCC under OSX 10.0.0

2001-05-12 Thread Dominique Chiron

Author: Dominique Chiron
Email: [EMAIL PROTECTED]
Message:
Hi, this is the warning we see on compil MnoGo with Mac OSX.
The install run fine. THe only other problem encountered is then MnoGo ending parsing 
of URL's he made a "segmentation fault" (10 or 100 it's the same) . But the parsing 
seems to be ok and searching operation are correct and speed...

Any idea to correct the problem ?


PREAMBLE

My add on the config file in the 'mysql.h loop':

elif test -f /usr/local/mysql/include/mysql.h; then
MYSQL_INCDIR=/usr/local/mysql/include
MYSQL_LIBDIR=/usr/local/mysql/lib
elif test -f /Library/MySQL/include/mysql/mysql.h; then
MYSQL_INCDIR=/Library/MySQL/include/mysql
MYSQL_LIBDIR=/Library/MySQL/lib/mysql

WARNING
---
# at line 312
spelld.c:241: warning: passing arg 3 of `accept' from incompatible pointer type

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: htdb and his first entry

2001-05-12 Thread manuel desdin

Author: manuel desdin
Email: 
Message:
ok! i will give it a try, but i think this is the default anyway...
from my indexer.conf:
# Weight of the words in the URL of the documents.
# Can be set multiple times before "Server" command and
# takes effect till the end of config file or till next UrlWeight command.
# Default value is 0
#UrlWeight 0

thanks!
manu :-)


Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: PHP+mnogosearch

2001-05-12 Thread Sebastian Nohn

Author: Sebastian Nohn
Email: [EMAIL PROTECTED]
Message:
PHP since Version 4.0.5 has mnoGoSearch-Support. For details see 
http://phpcrawler.de/phpmanual/ref.mnogo.php

Reply: 

___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: Bug report

2001-05-12 Thread Alexander Barkov

  Hello!

It was definitly a bug. Thanks for this patch!


Everybody who had search.cgi crash please 
apply this patch.




Per Lindgren wrote:
> 
> UdmSearch version: 3.1.12
> Platform:
> OS:Solaris 7
> Database:  built-in
> Statistics:
> 
> Bug in sprintf in search.c (line 853), glang is null
> sometimes and causes sprintf to crash. My simple fix, without knowing
> if it is appropriate, is:
> 
> pl.apteryx>diff search.c search.c~
> 853,854c853
> < if (Agent->glang)
> <   sprintf(UDM_STREND(Target),\"%s\",Agent->glang);
> ---
> > sprintf(UDM_STREND(Target),\"%s\",Agent->glang);
> 
> After that fix I got some output from search.cgi at least.
>
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Webboard: Segmentation Fault with search.cgi

2001-05-12 Thread Alexander Barkov

Author: Alexander Barkov
Email: [EMAIL PROTECTED]
Message:
Hello! There was a bug in search.c.

This patch fixes it:

867c867
< sprintf(UDM_STREND(Target),"%s",Agent->glang);
---
>   sprintf(UDM_STREND(Target),"%s",Agent->glang?Agent->glang:"");



Thanks for report!


> Dams
> 
> 
> (gdb) backtrace
> #0  0xff232e5c in strlen () from /usr/lib/libc.so.1
> #1  0xff281890 in _doprnt () from /usr/lib/libc.so.1
> #2  0xff283658 in sprintf () from /usr/lib/libc.so.1
> #3  0x15588 in PrintOneTemplate (Agent=0xa1068, Doc=0x0, 
> Target=0xffbe7ee0 "