Does not work in php sphinx what to do?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
17 views
source mainConfSourse { type = mysql sql_host = localhost sql_user = root sql_pass = sql_db = test sql_port = 3306 # optional, default is 3306 sql_query_pre = SET NAMES utf8 } # 2 source testDoc2Src : mainConfSourse { sql_query = SELECT id, a user.name AS name \\ FROM the user; #type of group fields sql_field_string = name } index testDoc2Index { source = testDoc2Src path = C:/Sphinx/data/testDoc2/testDoc2 morphology = stem_enru, Soundex, Metaphone min_word_len = 1 expand_keywords = 1 index_exact_words = 1 min_infix_len = 3 # dict = keywords # mlock = 0 # docinfo = extern # min_stemming_len = 1 # wordforms = C:/Sphinx/data/wordforms.txt # ngram_chars = U+3000..U+2FA1F # phrase_boundary = ., ?, !, U+2026 # horizontal ellipsis } ########################################################################################################################## indexer { mem_limit = 64M } searchd { listen = 127.0.0.1:9306:mysql41 pid_file = C:/Sphinx/log/searchd.pid log = C:/Sphinx/log/searchd.log query_log = C:/Sphinx/log/query.log #binlog_path = c:/sphinx/data/binlog/ mysql_version_string = 5.0.0 seamless_rotate = 1 preopen_indexes = 1 unlink_old = 1 }


include 'sphinx/sphinx.php'; $s = new SphinxClient; $s->setServer("localhost", 9306); $s->setMatchMode(SPH_MATCH_ANY); $s->setMaxQueryTime(3); $result = $s->query("www"); var_dump($result);

the service was launched ,the index is held (through the console )
here is the code I come up with a false what can here the problem
(openserver windows)suddenly need such infa
help and the explosion of the brain)
by | 17 views

3 Answers

0 like 0 dislike
in the console work?

if Yes, then the case connector
by
0 like 0 dislike
listen = 127.0.0.1:9306:mysql41
here jamb, mysql at the end of the connection using mysqli over a client must have another listen, without mysql on the end. You can specify two different ports with listen
by
0 like 0 dislike
Port muscle and connecters naive client, if the port of a muscle using the muscle connecting driver
by

Related questions

0 like 0 dislike
1 answer
asked Apr 28, 2019 by balvan
0 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
asked Apr 14, 2019 by tigroid3
0 like 0 dislike
2 answers
110,608 questions
257,186 answers
0 comments
38,662 users