PDA

View Full Version : Warning on every search: "Warning: implode() [function.implode]"


pete_brady
28 May 2010, 22:48
Warning: implode() [function.implode]: Invalid arguments passed in [path]/packages/vbsphinxsearch/coresearchcontroller.php on line 611

happens on every single search. search still works though...

anyone?

coffee
19 Jun 2010, 16:18
Same here but started to get that message after upgrading to vb4.0.4 along with this one too:

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:4517) in [path]/includes/functions.php on line 4939

Yellow Slider
05 Jul 2010, 13:55
I'm getting that too -


Warning: implode() [function.implode]: Invalid arguments passed in [path]/packages/vbsphinxsearch/coresearchcontroller.php on line 611
Oops! An error occurred: unknown local index 'ForumDelta' in search request

Just intalled sphinx search on vB 4.0.4

Yellow Slider
06 Jul 2010, 20:44
no one is going to sort it out?

Xencored
26 Jul 2010, 15:13
Yup i get this

Also seems only to be on CMS for me

Deceptor
26 Jul 2010, 15:50
Assisted Animemike in installing Sphinx Search today and decided to install it myself - I got the same error when being redirected to search results (not the CMS). I've applied this fix which stops the error from occuring:
Open ./packages/vbsphinxsearch/coresearchcontroller.php
Go to line 611, which should be:
$index[] = implode(", ", $sphinx_index['sphinxindices']);

Above this add:
if ($sphinx_index['sphinxindices'] == NULL)
{
continue;
}

Save and upload coresearchcontroller.php and the errors should go away :)

Xencored
26 Jul 2010, 15:52
confirmed Deceptor is the man :)

cloferba
28 Jul 2010, 21:53
update the mod :)

project-Buckfas
01 Aug 2010, 13:37
Works perfect. Thanks Deceptor

coffee
12 Aug 2010, 13:53
Thank you Deceptor, That solved my problem too.

Mark.B
14 Nov 2010, 22:11
I had this issue but again this fix sorted it for me too.