I am trying to use the sphinx version 1.10 beta.
After copying the php file into includes/api
I get and error Sphinx daemon NOT running

Is it required to expand all the files from 1.10?

Comments

Baibhav Kumar’s picture

Assigned: Unassigned » Baibhav Kumar

While using the Sphinx 6.X-1.3 I am getting the error Sphinx daemon NOT running.
Can anyone Guide me what may be the problem?

Baibhav Kumar’s picture

Version: 6.x-1.3 » 6.x-1.x-dev

While trying the dev version i am getting this error.
Fatal error: Class 'SphinxClient' not found in /home/abhijeet/public_html/search/sites/all/modules/sphinx/sphinx_admin.inc.php on line 5.
Do anyone have some idea

nestor.mata’s picture

Assigned: Baibhav Kumar » nestor.mata

Hi,

There could be a problem with the support for that specific version.
I will try to test this out tonight.

Best regards,
Nestor

replicaobscura’s picture

#1: I found a bug in sphinx_admin.inc.php. Line 895 should read:

'#default_value' => variable_get('sphinx_default_port', '3312'),

However it had some extra spaces in the variable name for me. When I removed the extra spaces the admin config worked properly and I no longer received the error about Sphinx not running.

Not sure if that helps you with your issue or not...

#2: You need to download the latest Sphinx source code, extract it into the sphinx module's directory, and rename the folder to 'includes'.

You should then have a file under your 'sphinx' module directory at includes/api/sphinxapi.php and you shouldn't get that error anymore.

Technically you don't need most of the other files, just the php contents of the 'api' folder.

Baibhav Kumar’s picture

Thanks bmcclure

nestor.mata’s picture

Status: Active » Fixed

Thanks.

This has already being implemented in the dev version and will be available in the next stable version, together with several improvements and soon a Drupal 7 version.

Nestor

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.