vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Sphinx (https://vborg.vbsupport.ru/forumdisplay.php?f=265)
-   -   Warning on every search: "Warning: implode() [function.implode]" (https://vborg.vbsupport.ru/showthread.php?t=243500)

pete_brady 05-28-2010 09:48 PM

Warning on every search: "Warning: implode() [function.implode]"
 
Quote:

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:

Quote:

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:
Code:

                                $index[] = implode(", ", $sphinx_index['sphinxindices']);
Above this add:
Code:

                                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.


All times are GMT. The time now is 09:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00986 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete