On my website I'm getting the following error in my logs when I try to go to /admin/settings/sphinx.
2010/08/27 11:29:32 [error] 5835#0: *973 FastCGI sent in stderr: "PHP Fatal error: Class 'SphinxClient' not found in /jail/home/domain.com/pressflow/sites/domain.com/modules/sphinx/sphinx_admin.inc.php on line 5" while reading response header from upstream, client: 10.41.0.191, server: domain.com, request: "GET /admin/settings/sphinx HTTP/1.1", upstream: "fastcgi://unix:/some.socket:", host: "domain.com", referrer: "http://domain.com/admin/settings/"
Comments
Comment #1
nestor.mata commentedRight now one of the problems of this module is the lack of documentation, that is something I'm planning to fix, but have not had the time so far.
Can you confirm that you installed the PHP API?
To do this find out which Sphinx Search version did you installed, and go the sphinx search site and download sphinx, then find out the API directory and copy the sphinxapi.php file to the directory where you installed the module "... /sphinx/includes/api/sphinxapi.php"
Also, please make sure that you are using the recommended module version, not the development version.
Best regards,
Nestor
http://nestor.profesional.co.cr
Comment #2
MTecknology commentedI'm using the latest recommended. I copied sphinxapi.php to /home/user/pressflow/sites/domain.com/modules/sphinx/sphinxapi.php
I looked in that file and see the class that's reported missing though.
Comment #3
MTecknology commentedooooh.... Thanks :D
Comment #5
duste commentedi have same issues "Class 'SphinxClient' not found" ,,after copied sphinxapi.php to /sphinx/includes/api/sphinxapi.php get blank page,,can you help me please :( ??and when for the documentation of sphinx is finished??,,i really need it