Hi!
Wednesday, February 28, 2001, 9:08:17 PM, you wrote:
a> if ($udmconn = udm_alloc_agent("mysql://user@host/search/","crc-multi")) {
a> udm_set_agent_param($udmconn, UDM_PARAM_PAGE_SIZE, 10);
a> [more deleted]
a> ...
a> $result = udm_find($udmconn,$q); // $q contains input from form-field
Could you please insert here (before call to udm_get_res_field):
print $result;
and give me output of this print ?
I have to understand where does result link breaking.
a> echo udm_get_res_field($result,0,UDM_FIELD_TITLE); // ^...
a> this line crashes php!
a> udm_free_res($result);
a> udm_free_agent($udmconn);
a> }
a> Thats all for now. The line above, containing udm_get_res_field()
a> should show one single Title of the first found result.
a> Its not a problem of the number of the result or anything else.
a> The problem occurs only with certain search words. I don't know with
a> words cause the problem and why. One very strange thing is, that if i
a> try to search for "mp3" just as an example word, it crashes. If i
a> search for "blabla" it does not crash.
It is very strange. What version of mnogosearch are you using ?
To Alex : what do you think about that ?
This could be a bug in the library.
a> I think, that is a problem with a Segmentation Fault, which occurs
a> when having an empy string somewhere - or something like this. Because
a> that problem also occurs when browsing the results pages, for example
a> just clicking forward to the next page of results. Under some
a> conditions, there is one result on that page, which causes the
a> function udm_get_res_field() to crash.
a> Some last information: i'm using dbmode crc-multi, with phrase &
a> crosswords, CheckMp3Tag yes and IndexMP3TagOnly yes, currently no
a> server table on a linux machine kernel 2.2.16, 1gb ram.
To Alex: Could this be because of bugs in mp3 tags support r something
else ?
a> The complete testing database used is nearly empty except for a few
a> hundred urls just for testing.
Thank you very much.
--
Regards, Sergey aka gluke.
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]