This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

sfSphinxPlugin Database Connection

Questions relating to sfLucenePlugin, sfSearch etc

sfSphinxPlugin Database Connection

by scott_dev » Sat Jan 30, 2010 8:11 am

Hello Friends,
I would like to implement Sphinx.
Installed plugin from

After installation path is

I have installed Sphinx it's path is
project_name/sphinx-0.9.9, in that i have created sphinx.conf file & make DB connections.

Make modules & when i'm trying to search it's giving error
Sphinx connection to localhost:3312 failed (errno=111, msg=Connection refused)

at ()
in SF_ROOT_DIR/plugins/sfSphinxPlugin/lib/sfSphinxClient.class. php line 353 ...

350. {
351. $errstr = trim($errstr);
352. $this->error = "Sphinx connection to {$this->host}:{$this->port} failed (errno=$errno, msg=$errstr)";
353. throw new Exception($this->error);
354. }
356. // check version

So where i have to put this config file. It's problem in DB connection
Posts: 47
Joined: Fri Aug 22, 2008 7:40 pm

Re: sfSphinxPlugin Database Connection

by garak » Sat Sep 18, 2010 3:57 pm

This is not a problem of plugin itself, you must setup your Sphinx connection before using it.
You should look for help on Sphinx forum.
User avatar
Posts: 34
Joined: Fri Dec 07, 2007 3:21 pm
Location: Rome, Italy