vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=127868

ubuntu-geek 06 Oct 2006 18:36

Ok going to try this out now..

Ok that seemed to clean up the assertion issue. Last issue it seems is..

Query failed: searchd error: invalid group5 count 272485 (should be in 0..4096 range).

Hmm ok this seems to be related to how the groupid is counted in the searchd.cpp hrm..

mute 06 Oct 2006 19:30

Quote:

Originally Posted by ubuntu-geek
Hmm got an interesting issue going on. When doing a search from forumdisplay i get this..

Warning: assert(): Assertion failed in /includes/sphinxapi.php on line 249
Query failed: searchd error: invalid or truncated request.

I'm getting this too. My searches don't appear to be hitting searchd, I'm trying to debug it now as well.

Do only searches that HIT searchd get logged in query.log? My searches from the command line are working fine, but I can't seem to get them to hit searchd anymore via my test site.

Ok, i added that last bit of code but it doesn't seem to be fixed for me. Here's the output of a search targeted to a specific forum:

SphinxClient Object ( [_host] => db2 [_port] => 3312 [_offset] => 0 [_limit] => 250 [_mode] => 0 [_weights] => Array ( [0] => 100 [1] => 1 ) [_groups] => Array ( [0] => 394 ) [_groups2] => Array ( ) [_groups3] => Array ( ) [_groups4] => Array ( ) [_groups5] => Array ( ) [_sort] => 1 [_min_id] => 0 [_max_id] => 4294967295 [_min_ts] => 0 [_max_ts] => 4294967295 [_min_gid] => 0 [_max_gid] => 4294967295 [_error] => searchd error: invalid or truncated request [_warning] => ) Query failed: searchd error: invalid or truncated request.

ubuntu-geek 06 Oct 2006 19:41

Quote:

Originally Posted by mute
I'm getting this too. My searches don't appear to be hitting searchd, I'm trying to debug it now as well.

Do only searches that HIT searchd get logged in query.log? My searches from the command line are working fine, but I can't seem to get them to hit searchd anymore via my test site.

Ok, i added that last bit of code but it doesn't seem to be fixed for me. Here's the output of a search targeted to a specific forum:

SphinxClient Object ( [_host] => db2 [_port] => 3312 [_offset] => 0 [_limit] => 250 [_mode] => 0 [_weights] => Array ( [0] => 100 [1] => 1 ) [_groups] => Array ( [0] => 394 ) [_groups2] => Array ( ) [_groups3] => Array ( ) [_groups4] => Array ( ) [_groups5] => Array ( ) [_sort] => 1 [_min_id] => 0 [_max_id] => 4294967295 [_min_ts] => 0 [_max_ts] => 4294967295 [_min_gid] => 0 [_max_gid] => 4294967295 [_error] => searchd error: invalid or truncated request [_warning] => ) Query failed: searchd error: invalid or truncated request.

Same issue here..

mute 06 Oct 2006 19:42

Ok here's what is and isn't working for me:

1) Searching all open forums for keywords - Works
2) Searching in a specific forum by keyword - Does not work
3) Searching all open forums by username - Works
4) Searching in a specific forum by username - Works

ubuntu-geek 06 Oct 2006 19:46

Quote:

Originally Posted by mute
Ok here's what is and isn't working for me:

1) Searching all open forums for keywords - Works
2) Searching in a specific forum by username - Works
3) Searching all open forums by username - Works
4) Searching in a specific forum by keyword - Does not work

Exactly my issue.. what version of php do you run?

mute 06 Oct 2006 19:57

I'm using 5.1.5 at the moment. If I printout $forumchoice in sphinx.php, it is getting set, as well as making its way into the Sphinx request array.. I'm a bit puzzled.

ubuntu-geek 06 Oct 2006 20:32

Hmm nothing yet from me.. You making any progress?

mute 06 Oct 2006 20:41

nada

ubuntu-geek 07 Oct 2006 00:09

The one that puzzles me is..

Query failed: searchd error: invalid group5 count 271308 (should be in 0..4096 range).

ubuntu-geek 07 Oct 2006 00:29

No errors on the command line..

orban 07 Oct 2006 00:31

Try to use the sphinxapi.php from my tar.gz.....?

Download it again

I think I found the error...I fixed something in my sphinxapi.php and didn't copy it back to /api/

I'm so sorry :(

ubuntu-geek 07 Oct 2006 00:36

sphinxapi from the gz worked perfect... Orban you rock! Can i send you a donation for this effort? :)

ubuntu-geek 07 Oct 2006 00:38

<- has had a few beers already.. Yeah i'll send them a donation for sure! Will you be updating this when 0.9.7 is released?

orban 07 Oct 2006 00:40

Sure thing.

I'll also try to to make "show as posts" "show as threads" happen, but just right now I don't see how it's possible. But you never know what I come up with ;)

ubuntu-geek 07 Oct 2006 00:51

Right on.. :)


All times are GMT. The time now is 21:22.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.