The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
True, I'm not there yet with multiple servers.
![]() Use this instead: Code:
$cl = new SphinxClient(); $cl->SetServer($sphinx_server, $sphinx_port); $cl->SetLimits(0, $vbulletin->options['maxresults']); $cl->SetMatchMode(SPH_MATCH_ALL); ... $res = $cl->Query($vbulletin->GPC['query'] , $sphinx_index); ... if (!is_array($res)) { $sphinxerror = $cl->GetLastError(); if ($sphinxerror) { // server not running } } Edit: Let me dig into this more... I think that searchd will still spit an error, even if it's running, something like (no error). I will post at sphinx site to ask Andrew how exacly the last error works. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|