Log in

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


pete_brady
05-28-2010, 09:48 PM
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
06-19-2010, 03:18 PM
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
07-05-2010, 12:55 PM
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
07-06-2010, 07:44 PM
no one is going to sort it out?

Xencored
07-26-2010, 02:13 PM
Yup i get this

Also seems only to be on CMS for me

Deceptor
07-26-2010, 02:50 PM
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
07-26-2010, 02:52 PM
confirmed Deceptor is the man :)

cloferba
07-28-2010, 08:53 PM
update the mod :)

project-Buckfas
08-01-2010, 12:37 PM
Works perfect. Thanks Deceptor

coffee
08-12-2010, 12:53 PM
Thank you Deceptor, That solved my problem too.

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