News Flash:
New Version of ShopClass theme 1.4.0 is Released on 13 JUNE 2018, Please upgrade your installation.

Sphinx PHP Fatal error: Uncaught Error:

A place to talk about anything related to ShopClass theme in general. This is not the place to ask support questions.
Post Reply
technicalplay
Beginner
Posts: 15
Joined: Tue Apr 09, 2019 10:43 pm
Has thanked: 4 times

Sphinx PHP Fatal error: Uncaught Error:

Post by technicalplay » Wed Apr 17, 2019 4:50 pm

After following the Sphinx configuration helper: adding a comment to the config.php as suggested, and adding that file sphinx.conf with its contents, I get the below bugs after clicking on the categories or search buttons all bring me to a totally white page noting in them.

Code: Select all

[17-Apr-2019 18:46:05 Europe/Madrid] PHP Warning: mysqli::real_connect(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused") in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 115
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Warning: mysqli::query(): invalid object or resource mysqli
in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 98
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Fatal error: Uncaught Error: Call to a member function fetch_assoc() on null in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php:156
Stack trace:
#0 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php(134): SphinxQLClient->fetch(2, NULL, NULL)
#1 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQL.php(127): SphinxQLClient->fetchAll()
#2 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphSearch.php(907): SphinxQL->fetchAll()
#3 /home/givemeke/public_html/oc-includes/osclass/classes/Plugins.php(34): tfc_ajax_suggest()
#4 /home/givemeke/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook('ajax_tfc-sugges...')
#5 /home/givemeke/public_html/oc-includes/osclass/controller/ajax.php(240): osc_run_hook('ajax_tfc-sugges...')
#6 /home/givemeke/public_html/index.php(117): CWebAjax->doModel()
#7 {main}
thrown in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 156
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Warning: mysqli::real_connect(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused") in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 115
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Warning: mysqli::query(): invalid object or resource mysqli
in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 98
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Fatal error: Uncaught Error: Call to a member function fetch_assoc() on null in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php:156
Stack trace:
#0 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php(134): SphinxQLClient->fetch(2, NULL, NULL)
#1 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQL.php(127): SphinxQLClient->fetchAll()
#2 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphSearch.php(907): SphinxQL->fetchAll()
#3 /home/givemeke/public_html/oc-includes/osclass/classes/Plugins.php(34): tfc_ajax_suggest()
#4 /home/givemeke/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook('ajax_tfc-sugges...')
#5 /home/givemeke/public_html/oc-includes/osclass/controller/ajax.php(240): osc_run_hook('ajax_tfc-sugges...')
#6 /home/givemeke/public_html/index.php(117): CWebAjax->doModel()
#7 {main}
thrown in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 156
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Warning: mysqli::real_connect(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused") in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 115
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Warning: mysqli::query(): invalid object or resource mysqli
in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 98
[17-Apr-2019 18:46:05 Europe/Madrid] PHP Fatal error: Uncaught Error: Call to a member function fetch_assoc() on null in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php:156
Stack trace:
#0 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php(134): SphinxQLClient->fetch(2, NULL, NULL)
#1 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQL.php(127): SphinxQLClient->fetchAll()
#2 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphSearch.php(907): SphinxQL->fetchAll()
#3 /home/givemeke/public_html/oc-includes/osclass/classes/Plugins.php(34): tfc_ajax_suggest()
#4 /home/givemeke/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook('ajax_tfc-sugges...')
#5 /home/givemeke/public_html/oc-includes/osclass/controller/ajax.php(240): osc_run_hook('ajax_tfc-sugges...')
#6 /home/givemeke/public_html/index.php(117): CWebAjax->doModel()
#7 {main}
thrown in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 156
[17-Apr-2019 18:46:06 Europe/Madrid] PHP Warning: mysqli::real_connect(): (HY000/2003): Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused") in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 115
[17-Apr-2019 18:46:06 Europe/Madrid] PHP Warning: mysqli::query(): invalid object or resource mysqli
in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 98
[17-Apr-2019 18:46:06 Europe/Madrid] PHP Fatal error: Uncaught Error: Call to a member function fetch_assoc() on null in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php:156
Stack trace:
#0 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php(134): SphinxQLClient->fetch(2, NULL, NULL)
#1 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQL.php(127): SphinxQLClient->fetchAll()
#2 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphSearch.php(547): SphinxQL->fetchAll()
#3 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/CWebSphSearch.php(393): SphSearch->doSearch()
#4 /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/CWebSphSearch.php(552): CWebSphSearch->doModel()
#5 /home/givemeke/public_html/oc-includes/osclass/classes/Plugins.php(34): WebThemes->{closure}()
#6 /home/givemeke/public_html/oc-includes/osclass/helpers/hPlugins.php(34): Plugins::runHook('before_search')
#7 /home/givemeke/public_htm in /home/givemeke/public_html/oc-content/themes/shopclass/includes/sphinx/SphinxQLClient.php on line 156

User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Sphinx PHP Fatal error: Uncaught Error:

Post by tuffadmin » Thu Apr 18, 2019 12:35 pm

Is Sphinx is installed at your server?
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

technicalplay
Beginner
Posts: 15
Joined: Tue Apr 09, 2019 10:43 pm
Has thanked: 4 times

Re: Sphinx PHP Fatal error: Uncaught Error:

Post by technicalplay » Thu Apr 18, 2019 2:48 pm

Probably not. How do I do that?

User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Sphinx PHP Fatal error: Uncaught Error:

Post by tuffadmin » Thu Apr 18, 2019 4:52 pm

Please read the doc at tuffindia.com
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

technicalplay
Beginner
Posts: 15
Joined: Tue Apr 09, 2019 10:43 pm
Has thanked: 4 times

Re: Sphinx PHP Fatal error: Uncaught Error:

Post by technicalplay » Fri Apr 19, 2019 2:31 pm

Hey Tuff I tried to see the doc but couldn't find it. However, seems I must have my hosting provider give Sphinx on server.

Post Reply