Re: Bug report

2001-12-25 Thread Alexander Barkov



This is a bug.

Fix in indexer.c, line 879 in the call of UdmLog(),
the argument  Doc-content_type:
in must be  

Doc-content_type?Doc-content_type:NULL

instead


On 25 Dec 2001, Andrew G.Tereschenko wrote:

 
 
 UdmSearch version: mnogosearch-3.2.3
 Platform:  RAM: 1,5Gb, Storage: 170Gb
 OS:SunOS 5.8 Generic i86pc i386 i86pc [Solari8/Intel]
 Database:  mysql  Ver 11.12 Distrib 3.23.32, for pc-solaris2.8 (i386)
 Statistics:dist:517, url:45
 
 php4.1 (CVS.20011224)
 Failed to run indexer with verbose level 3.
 Additional files available by request.
 http://www.X.org:22080/ file is default Apache page (expected to be 406 Not 
Acceptable error)
 
 bash-2.03$ indexer -v 5 -a
 indexer from mnogosearch-3.2.3-lite started with \'/home/tag/mnogosearch/etc/inde
 xer.conf\'
 [...]
 [1] URL: http://www.X.org:22080/sea_world/common/mnu.js
 [1] Server \'http://www.X.org:22080/\'
 [1] Allow NoCase  *
 [1] Date: Mon, 24 Dec 2001 22:07:04 GMT
 [1] Server: Apache/1.3.22 (Unix) PHP/4.2.0-dev
 [1] Connection: close
 [1] ETag: \57893-9a5-3c20ea1b\
 Segmentation Fault (core dumped)
 
 GDB: 
 Core was generated by `indexer -v 5 -a\'.
 Program terminated with signal 11, Segmentation fault.
 []
 Loaded symbols for /usr/lib/nss_files.so.1
 #0  0xdfa9cbcd in strlen () from /usr/lib/libc.so.1
 (gdb) backtrace
 #0  0xdfa9cbcd in strlen () from /usr/lib/libc.so.1
 #1  0xdfacbe32 in _doprnt () from /usr/lib/libc.so.1
 #2  0xdfacd867 in vsnprintf () from /usr/lib/libc.so.1
 #3  0x08067bd5 in udm_logger (Env=0x91af318, handle=1, level=4,
 fmt=0x80a0440 \Status: %d %s, type: %s, Size: %d\, ap=0x802def0 \0\\001\)
 at log.c:164
 #4  0x08067c96 in UdmLog (Agent=0x96d2cf0, level=4,
 fmt=0x80a0440 \Status: %d %s, type: %s, Size: %d\) at log.c:188
 #5  0x0805901d in UdmIndexURL (Indexer=0x96d2cf0, Doc=0x9901ec8,
 index_flags=12) at indexer.c:879
 #6  0x0805a36b in UdmIndexNextURL (Indexer=0x96d2cf0, index_flags=12)
 at indexer.c:1240
 #7  0x08055760 in thread_main (arg=0x0) at main.c:252
 #8  0x08056532 in main (argc=0, argv=0x8047b54) at main.c:634
 
 ___
 If you want to unsubscribe send unsubscribe general
 to [EMAIL PROTECTED]
 
 

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




Re: Bug report

2001-10-27 Thread Alexey Botchkov

Hello.

I think your result template isn't ok.
Please try to rebuild it again using wizard. Don't forget to use Adjust
operation.

Good luck.
Alexey.

- Original Message -
From: dbush [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, October 25, 2001 8:03 PM
Subject: Bug report




 UdmSearch version: mnoGoSearch Pro 3.1.15
 Platform:  hp netserver
 OS:windows 2000
 Database:  mssql
 Statistics:N/A

 perl?
 I am testing the nt version...

 the search.exe that is provided only pulls in mnogosearch logos

 I pulled from various mirrors.

 search.exe is only 275k

 Am I doing something wrong?



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



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




Re: Bug report

2001-08-20 Thread Sergey Kartashoff

On Mon, 20 Aug 2001, pascal wrote:

 UdmSearch version: 3.1.17
 Platform:  simple PC workstation
 OS:redhat 7.1
 Database:  mysql v3.23
 Statistics: 5 Mo

 PHP Frontend v 3.1.3.5
 Hye.

 I\'m using PHP v4.0.6.
 When searching with the CGI frontend (search.cgi), everything worked fine.

Probably you compiled PHP with its internal mysql library.
As php mnogosearch module documentations says you should compile php
ONLY with NATIVE mysql library (./configure --with-mysql=DIR,
and not ./configure --with-myssql). Please rebuild your PHP as described
and try search again.

-- 
Regards. Sergey aka gluke.

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




Re: Bug report

2001-08-20 Thread Sebastian Nohn

On Mon, 20 Aug 2001, pascal wrote:

 PHP Frontend v 3.1.3.5
 Hye.

 I\'m using PHP v4.0.6.
 When searching with the CGI frontend (search.cgi), everything worked fine.

 But when i tried to PHP frontend, the search results are not displayed...

Did you compile PHP with mnoGoSearch-Support enabled?

Regards,
   Sebastian Nohn
-- 
NeTTrade GmbH   email : [EMAIL PROTECTED]
TechnoPark der GMD   www   : http://www.nettrade.de/
Rathausallee 10  tel   : +49 22 41 - 20 40 33
53757 Sankt Augustin fax   : +49 22 41 - 20 40 34
Germany  mobile: +49 173 - 5 96 43 77




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




Re: Bug report

2001-08-07 Thread Alexander Barkov


Replace all instances of wchar_t with unsigned int



prochor wrote:
 
 UdmSearch version: 3.2
 Platform:  Sun Netra
 OS:SunOS www.nextra.cz 5.8 Generic_108528-08 sun4u sparc 
SUNW,UltraAX-i2
 Database:  mysql
 Statistics:
 
 NA
 Unable to compile under Solaris8.
 complile ends with this:
 
 unicode.c: In function `func_utf8_uni_onechar\':
 unicode.c:7619: `wchar_t\' undeclared (first use in this function)
 unicode.c:7619: (Each undeclared identifier is reported only once
 unicode.c:7619: for each function it appears in.)
 make[1]: *** [unicode.lo] Error 1
 make[1]: Leaving directory `/home/lundegaard_admin/mnogosearch-3.2.0.b0/src\'
 make: *** [all-recursive] Error 1
 
 ___
 If you want to unsubscribe send unsubscribe general
 to [EMAIL PROTECTED]
___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Re: Bug report

2001-08-07 Thread Alexander Barkov


Jester wrote:
 
 Perl
 I think it\'s the problem of indexer.conf.
 
 In the indexer.conf, I have set:
 \Alias http://xxx.xxx.com/  file:/root/html/
 
 Server file:/root/html/\
 
 In the old version(3.1.17), it can index the files according to server path 
\/root/html\ and display \http://xxx.xxx.com/\;. However, it cannot show the alias 
in this new version. Is there any other new setting or I think it may be a bug in new 
version. Thx a lot ~!



This is incorrect:

Alias http://xxx.xxx.com/  file:/root/html/
Server file:/root/html/


This is correct:

Alias http://xxx.xxx.com/  file:/root/html/
Server http://xxx.xxx.com/
___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Re: Bug report

2001-07-02 Thread Ramil Kalimullin

Hello!

Just enter

DBAddr C:\Programme Files\mnoGoSearch\
instead of
DBAddr C:\Program Files\mnoGoSearch\
in your search.htm template file.

Regards, Ramil.

- Original Message -
From: Werner Stürenburg [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 29, 2001 10:17 PM
Subject: Bug report




 UdmSearch version: 3.1.14.1 Lite Trial
 Platform:  pentium 500
 OS:win98
 Database:  intern
 Statistics:


 An error occured!
 Can\'t open dict file \'C:\\Program Files\\mnoGoSearch\\dict.txt\' (No
such file or directory)

 and so on

 Default program dir is c:\\Programme (German version)

 Workaround: copy all to the given dir, close app and start from new dir

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



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




Re: Bug report

2001-06-01 Thread Alexander Barkov

Kelvin Chen wrote:
 
 UdmSearch version: 3.1.14
 Platform:  PII XEON
 OS:Redhat 6.2
 Database:  Oracle 8.1.16
 Statistics:Unknown
 
 4.0.1
 I don\'t know if this is a problem.
 First I found it is not so easy for meto install mnogosearch.
 
 After I have installed the whole package and indexed the site. I can\'t use 
search.cgi to search. I guess maybe I can\'t use web to connect to oracle. Since 
after I use search.cgi in shell, it works correctly.


What can you see in browser after pressing Search button?
___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Re: Bug report

2001-05-24 Thread Alexander Barkov

Hello!

There is a name conflict between libudmsearch and php
sources. One of users found a workaround for this. Take
a look here:

   http://www.php.net/manual/en/ref.mnogo.php

We'll fix this name conflict in 3.1.14

Thanks for reporting!



Miguel Feitosa wrote:
 
 UdmSearch version: 3.1.13
 Platform:  linux pentium III  Asus dual board only one processor
 OS:rh7.1 2.4 kernel
 Database:  mysql-3.23.36
 Statistics:
 
 php-4.0.5
 Hello Developers!
 I have been using udmsearch for more than eight months and it certainly RULES in its 
field.
 
 I havent been able to compile on a new setup into php
 because I get the following errors while compiling.
 
 I am going to try to get mngosearch 3.10.10.
 
 Thanks,
 Sincerely,
 Miguel Feitosa
 Brasil - 3499 2143
 
 /bin/sh /usr/local/php-4.0.5/libtool --silent --mode=link gcc  -I. 
-I/usr/local/php-4.0.5/ -I/usr/local/php-4.0.5/main -I/usr/local/php-4.0.5 
-I/usr/include/apache -I/usr/local/php-4.0.5/Zend -I/usr//include 
-I/usr/include/freetype -I/usr/local/include -I/usr/local/mnogosearch/include 
-I/usr//include/mysql -I/usr/local/include/ucd-snmp 
-I/usr/local/php-4.0.5/ext/xml/expat/xmltok 
-I/usr/local/php-4.0.5/ext/xml/expat/xmlparse -I/usr/local/php-4.0.5/TSRM  
-I/usr/include/apache -I/usr/local/php-4.0.5/Zend -I/usr//include 
-I/usr/include/freetype -I/usr/local/include -I/usr/local/mnogosearch/include 
-I/usr//include/mysql -I/usr/local/include/ucd-snmp -DLINUX=22 -DMOD_SSL=208101 
-DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2   -o 
libphp4.la -rpath /usr/local/php-4.0.5/libs -avoid-version -L/usr//lib 
-L/usr/local/lib -L/usr//lib/mysql -L/usr/local/mnogosearch/lib  -R /usr//lib -R 
/usr/local/lib -R /usr//lib/mysql -R /usr/local/mnogosearch/lib stub.lo  Zend/li!
bZ!
 end.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la 
ext/bcmath/libbcmath.la ext/bz2/libbz2.la ext/calendar/libcalendar.la 
ext/dbase/libdbase.la ext/ftp/libftp.la ext/gd/libgd.la ext/imap/libimap.la 
ext/ldap/libldap.la ext/mnogosearch/libmnogosearch.la ext/mysql/libmysql.la 
ext/openssl/libopenssl.la ext/pcre/libpcre.la ext/posix/libposix.la 
ext/recode/librecode.la ext/session/libsession.la ext/snmp/libsnmp.la 
ext/sockets/libsockets.la ext/standard/libstandard.la ext/xml/libxml.la 
ext/zlib/libzlib.la TSRM/libtsrm.la -lpam -lrecode -lc-client -ldl -lz -lssl -lcrypto 
-lsnmp -lmysqlclient -ludmsearch -lz -lm -lmysqlclient -lldap -llber -lttf -lz -lpng 
-lgd -lbz2 -lssl -lcrypto -lresolv -lm -ldl -lcrypt -lnsl -lresolv
 /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_close\':
 /usr/local/mnogosearch-3.1.13/src/ftp.c:475: multiple definition of `ftp_close\'
 ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/php-4.0.5/ext/ftp/ftp.c:179: first 
defined here
 /usr/bin/ld: Warning: size of symbol `ftp_close\' changed from 69 to 76 in ftp.o
 /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_login\':
 /usr/local/mnogosearch-3.1.13/src/ftp.c:247: multiple definition of `ftp_login\'
 ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/php-4.0.5/ext/ftp/ftp.c:223: first 
defined here
 /usr/bin/ld: Warning: size of symbol `ftp_login\' changed from 155 to 298 in ftp.o
 /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_list\':
 /usr/local/mnogosearch-3.1.13/src/ftp.c:369: multiple definition of `ftp_list\'
 ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/php-4.0.5/ext/ftp/ftp.c:419: first 
defined here
 /usr/bin/ld: Warning: size of symbol `ftp_list\' changed from 41 to 204 in ftp.o
 /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_get\':
 /usr/local/mnogosearch-3.1.13/src/ftp.c:392: multiple definition of `ftp_get\'
 ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/php-4.0.5/ext/ftp/ftp.c:499: first 
defined here
 /usr/bin/ld: Warning: size of symbol `ftp_get\' changed from 469 to 138 in ftp.o
 /usr/local/mnogosearch/lib/libudmsearch.a(ftp.o): In function `ftp_mdtm\':
 /usr/local/mnogosearch-3.1.13/src/ftp.c:411: multiple definition of `ftp_mdtm\'
 ext/ftp/.libs/libftp.al(ftp.lo):/usr/local/php-4.0.5/ext/ftp/ftp.c:639: first 
defined here
 /usr/bin/ld: Warning: size of symbol `ftp_mdtm\' changed from 263 to 160 in ftp.o
 collect2: ld returned 1 exit status
 
 ___
 If you want to unsubscribe send unsubscribe general
 to [EMAIL PROTECTED]
___
If you want to unsubscribe send unsubscribe general
to [EMAIL PROTECTED]




Re: Bug report

2001-04-24 Thread Sergey Kartashoff

Hi!

Tuesday, April 24, 2001, 4:12:18 PM, you wrote:

D UdmSearch version: mnogosearch-3.1.8, 3.1.12

D With built-in database support all right, but I dont know how to make working php 
front-end whith built-in support.
D Please, help me.

mnogosearch-php-3.1.3.0 with php4.0.5RC1+ supports built-in mode and
all other modes.

-- 
Regards, Sergey aka gluke.


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




Re: Bug report

2001-03-30 Thread Alexander Barkov

Please find a patch here:

http://gw.udmsearch.izhnet.ru/~bar/patches/conf.c.diff

Regards


  Vadim Spichak wrote:
  
   UdmSearch version: 3.1.12
   Platform:  Linux. etc///
   OS:
   Database:  mysql
   Statistics:many
  
   3.1.10 works fine for same config
  
   Starting program: /usr/src/mnogosearch-3.1.12/src/indexer
   warning: Unable to find dynamic linker breakpoint function.
   GDB will be unable to debug shared library initializers
   and track explicitly loaded dynamic code.
  
   Program received signal SIGSEGV, Segmentation fault.
   UdmLoadConfig (Conf=0x40188008,
   conf_name=0xbfffe744 \"/usr/local/udm/etc/servers.inc\",
 config_level=1,
   load_flags=20) at conf.c:452
   452
 UdmAddHref(Conf,str1,0,0,0,Srv-
   tag,Srv-category);
   (gdb) backtrace
   #0  UdmLoadConfig (Conf=0x40188008,
   conf_name=0xbfffe744 \"/usr/local/udm/etc/servers.inc\",
 config_level=1,
   load_flags=20) at conf.c:452
   #1  0x805f972 in UdmLoadConfig (Conf=0x40188008,
   conf_name=0x806b4e0 \"/usr/local/udm/etc/indexer.conf\",
 config_level=0,
   load_flags=20) at conf.c:498
   #2  0x804a50c in main (argc=1, argv=0xbbf8) at main.c:420
   (gdb)
  
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]




Re: Bug report

2001-03-29 Thread Sergey Kartashoff

Hi!

Thursday, March 29, 2001, 12:22:26 PM, you wrote:

AK UdmSearch version: 3.1.12
AK Platform:  Dual Proccessor PIII 600, 389M ram
AK OS:Solaris 5.8
AK Database:  mysql 3.23
AK Statistics:30

AK built in version of php4.05 and C module
AK I can\'t Limit to search for example records for domain .am.
AK as an LIMIT i am giving %.am% it is not limiting.

I just tested php4.0.5 with mnogosearch-3.1.12.
I have added
Udm_Add_Search_Limit($udm,UDM_LIMIT_URL,"%.php%");
at the test script and it correctly search only through php scripts.

So i cannot reproduce your bug.

-- 
Regards, Sergey aka gluke.


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




Re: Bug report

2001-03-29 Thread Alexander Barkov

Oops.  % signs are to be used in SQL version only, it is SQL LIKE
wildcards.

Built-in database uses substring match. So, try to use .am without
%'s.



Artashes Kalantarian wrote:
 
 UdmSearch version: 3.1.12
 Platform:  Dual Proccessor PIII 600, 389M ram
 OS:Solaris 5.8
 Database:  mysql 3.23
 Statistics:30
 
 built in version of php4.05 and C module
 I can\'t Limit to search for example records for domain .am.
 as an LIMIT i am giving %.am% it is not limiting.

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




Re: bug report

2001-03-07 Thread Steven Torrance

Patch didn't help at all.

I had a look myself and the offending code was this line

sprintf(qbuf,"INSERT INTO url 
(url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category) 
VALUES 
('%s',%d,%d,0,%d,%d,0,'%s','%s')",e_url,referrer,hops,(int)now(),(int)now(),tag,category);

in the function UdmAddURL in sql.c. As I didn't need tag or category 
support a simple change to

sprintf(qbuf,"INSERT INTO url 
(url,referrer,hops,crc32,last_index_time,next_index_time,status) VALUES 
('%s',%d,%d,0,%d,%d,0)",e_url,referrer,hops,(int)now(),(int)now());

seemed to fix it to the point of being usable. (until we actually _do_ 
need tag or category support anyhow :)

Thanks for your help!


Alexander Barkov wrote:

 Please find a patch which fixes this here:
 
 http://gw.udmsearch.izhnet.ru/~bar/patches/server.c.diff.gz
 
 
 Steven Torrance wrote:
 
 Redhat 6.2 all patches running on a p3-500 SMP system
 MySQL v3.23.32 compiled from src
 Mnogosearch v3.1.11
 
 Indexer is seg faulting when there's any more than 16 Server entries
 

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




Re: Bug report

2001-02-27 Thread Alexander Barkov

poelzi wrote:
 
 UdmSearch version: 3.1.11
 Platform:
 OS:Linux fabala.intra.agi.de 2.4.1 #1 Don Feb 15 01:33:33 CET 2001 
i686 unknown
 Database:  mysql  Ver 11.12 Distrib 3.23.33, for pc-linux-gnu (i686)
 Statistics:
 
 server over ServerTable only registered as urls but not indexed in multi word 
database
 


Sorry, I don't understand what exactly do you mean.
___
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]