Hello,
I have the following error flooding my apache's error.log file everytime a user performs a search:
DEPRECATED: Do not call this method or, even better, use SphinxQL instead of an API in /var/www/wiki/extensions/SphinxSearch/sphinxapi.php on line 763, referer: XXX
Line 763 and the ones after it of sphinxapi.php is as follows:
function SetMatchMode ( $mode )
{
trigger_error ( 'DEPRECATED: Do not call this method or, even better, use SphinxQL instead of an API', E_USER_DEPRECATED );
assert ( $mode==SPH_MATCH_ALL
|| $mode==SPH_MATCH_ANY
|| $mode==SPH_MATCH_PHRASE
|| $mode==SPH_MATCH_BOOLEAN
|| $mode==SPH_MATCH_EXTENDED
|| $mode==SPH_MATCH_FULLSCAN
|| $mode==SPH_MATCH_EXTENDED2 );
$this->_mode = $mode;
}
I am using SphinxQL. I have the following lines in sphinx.conf:
listen = 127.0.0.1:9312
listen = localhost:9306:mysql41
Netstat confirms that searchd is linstening on port 9306:
root@WIKI:/etc/sphinxsearch# netstat -nlp | grep searchd
tcp 0 0 127.0.0.1:9306 0.0.0.0:* LISTEN 25975/searchd
tcp 0 0 127.0.0.1:9312 0.0.0.0:* LISTEN 25975/searchd