Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2017, 01:19 PM
fodbrothers fodbrothers is offline
 
Join Date: Aug 2013
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Changing the Select Search Implementation from DB Search to Sphinx Search

Select Search Implementation
from
DB Search
to
Sphinx Search

so when I select Sphinx Search and click go the website goes down but still able to access the admin cp
so I go to
maintenance / general update tools
and Rebuild Search Index
hoping this would sort the website out.
but the website is still down and has the following
A System Error has occured.
The software is experiencing a systems error.

You should attempt to repeat your last action. If this error occurs again, please contact the site administrator.

many help would be grateful
Reply With Quote
  #2  
Old 01-03-2017, 03:53 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://vbmods.rocks/blogs/vbulletin-5-tips-and-tricks/532-how-to-enable-debug-mode-in-vbulletin-5-for-selected-ip-addresses-only" target="_blank">Enable debug mode</a> to see the detailed error message.
Reply With Quote
  #3  
Old 01-03-2017, 05:35 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely your connection to Sphinx is failing, the site will fall over if it does as vB5 relies on search working.
Reply With Quote
  #4  
Old 01-04-2017, 04:31 PM
fodbrothers fodbrothers is offline
 
Join Date: Aug 2013
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is what I get when I enable debug



PHP Code:
Error :API Error
Controller
search
Method
getInitialResults
Error
(s): 
array (
  
=> 
  array (
    
=> 'sphinx_not_configured',
  ),
  
=> 
  array (
    
=> 'exception_trace',
    
=> '## /volume2/web/films.hopto.org/core/packages/vbsphinxsearch/core.php(78) Exception Thrown 
#0 /volume2/web/films.hopto.org/core/packages/vbsphinxsearch/core.php(63): vBSphinxSearch_Core->connect(Array)
#1 /volume2/web/films.hopto.org/core/vb/search/core.php(33): vBSphinxSearch_Core->__construct()
#2 /volume2/web/films.hopto.org/core/vb/api/search.php(115): vB_Search_Core::instance()
#3 /volume2/web/films.hopto.org/core/vb/api/search.php(215): vB_Api_Search->getSearchResult(\'{"channel":"2",...\', 0)
#4 [internal function]: vB_Api_Search->getInitialResults(Array, \'999\', \'1\', \'0\')
#5 /volume2/web/films.hopto.org/core/vb/api/wrapper.php(129): call_user_func_array(Array, Array)
#6 [internal function]: vB_Api_Wrapper->__call(\'getInitialResul...\', Array)
#7 [internal function]: vB_Api_Wrapper->getInitialResults(Array, \'999\', \'1\', \'0\')
#8 /volume2/web/films.hopto.org/includes/api/interface/collapsed.php(198): call_user_func_array(Array, Array)
#9 /volume2/web/films.hopto.org/includes/vb5/template/runtime.php(506): Api_Interface_Collapsed->callApi(\'search\', \'getInitialResul...\', Array, false, true)
#10 /volume2/web/films.hopto.org/includes/vb5/template.php(324) : eval()\'d code(138): vB5_Template_Runtime::parseData(\'search\', \'getInitialResul...\', Array, \'999\', \'1\', \'0\')
#11 /volume2/web/films.hopto.org/includes/vb5/template.php(324): eval()
#12 /volume2/web/films.hopto.org/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#13 /volume2/web/films.hopto.org/includes/vb5/template.php(346): vB5_Template_Cache->replacePlaceholders(\'\\r\\n\\t\\r\\n\\t\\r\\n\\t\\r\\n\\t\\r\\n\\t...\')
#14 /volume2/web/films.hopto.org/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#15 /volume2/web/films.hopto.org/includes/vb5/template.php(346): vB5_Template_Cache->replacePlaceholders(\'<!-- ##template...\')
#16 /volume2/web/films.hopto.org/includes/vb5/frontend/controller/page.php(245): vB5_Template->render()
#17 [internal function]: vB5_Frontend_Controller_Page->index(1, \'1\', \'1\', \'Home Descriptio...\', 0, \'\', \'Home\', 0)
#18 /volume2/web/films.hopto.org/index.php(84): call_user_func_array(Array, Array)
#19 {main}'
,
  ),
)

on line 510 in /volume2/web/films.hopto.org/includes/vb5/template/runtime.php
Step 0
showErrorPage() called on line 219 in /volume2/web/films.hopto.org/includes/vb5/applicationabstract.php 
Step 1
handleException() called 
Exception API Error
Controller
search
Method
getInitialResults
Error
(s): 
array (
  
=> 
  array (
    
=> 'sphinx_not_configured',
  ),
  
=> 
  array (
    
=> 'exception_trace',
    
=> '## /volume2/web/films.hopto.org/core/packages/vbsphinxsearch/core.php(78) Exception Thrown 
#0 /volume2/web/films.hopto.org/core/packages/vbsphinxsearch/core.php(63): vBSphinxSearch_Core->connect(Array)
#1 /volume2/web/films.hopto.org/core/vb/search/core.php(33): vBSphinxSearch_Core->__construct()
#2 /volume2/web/films.hopto.org/core/vb/api/search.php(115): vB_Search_Core::instance()
#3 /volume2/web/films.hopto.org/core/vb/api/search.php(215): vB_Api_Search->getSearchResult(\'{"channel":"2",...\', 0)
#4 [internal function]: vB_Api_Search->getInitialResults(Array, \'999\', \'1\', \'0\')
#5 /volume2/web/films.hopto.org/core/vb/api/wrapper.php(129): call_user_func_array(Array, Array)
#6 [internal function]: vB_Api_Wrapper->__call(\'getInitialResul...\', Array)
#7 [internal function]: vB_Api_Wrapper->getInitialResults(Array, \'999\', \'1\', \'0\')
#8 /volume2/web/films.hopto.org/includes/api/interface/collapsed.php(198): call_user_func_array(Array, Array)
#9 /volume2/web/films.hopto.org/includes/vb5/template/runtime.php(506): Api_Interface_Collapsed->callApi(\'search\', \'getInitialResul...\', Array, false, true)
#10 /volume2/web/films.hopto.org/includes/vb5/template.php(324) : eval()\'d code(138): vB5_Template_Runtime::parseData(\'search\', \'getInitialResul...\', Array, \'999\', \'1\', \'0\')
#11 /volume2/web/films.hopto.org/includes/vb5/template.php(324): eval()
#12 /volume2/web/films.hopto.org/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#13 /volume2/web/films.hopto.org/includes/vb5/template.php(346): vB5_Template_Cache->replacePlaceholders(\'\\r\\n\\t\\r\\n\\t\\r\\n\\t\\r\\n\\t\\r\\n\\t...\')
#14 /volume2/web/films.hopto.org/includes/vb5/template/cache.php(134): vB5_Template->render(false)
#15 /volume2/web/films.hopto.org/includes/vb5/template.php(346): vB5_Template_Cache->replacePlaceholders(\'<!-- ##template...\')
#16 /volume2/web/films.hopto.org/includes/vb5/applicationabstract.php(406): vB5_Template->render()
#17 /volume2/web/films.hopto.org/includes/vb5/applicationabstract.php(219): vB5_ApplicationAbstract::showErrorPage(Array, false)
#18 [internal function]: vB5_ApplicationAbstract::handleException(Object(vB5_Exception_Api))
#19 {main}'
,
  ),
)

on line 510 in /volume2/web/films.hopto.org/includes/vb5/template/runtime.php 
Reply With Quote
  #5  
Old 01-04-2017, 06:01 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is your problem.
Quote:
0 => 'sphinx_not_configured',
You cannot just switch to sphinx, you must set up a working [configured] Sphinx service, and then configure vbulletin to connect to it, and use it.
Reply With Quote
Благодарность от:
MarkFL
  #6  
Old 01-04-2017, 06:29 PM
fodbrothers fodbrothers is offline
 
Join Date: Aug 2013
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok I must be understanding this totally wrong.
why dont I start by telling you the problem that I have
ok so I have lots of threads and I have one called "21 jump street - tt1232829"
this is the exact name
yes it is a film website lol

if I search for 21 jump street
i get 0 results
if I search for tt1232829
i get the 1 result which is the correct thread
basically I want to be able to get better results from the search engine in vb

I have found that if i remove 21 and just search jump street.
It finds the results

Is there something wrong with adding a number to the search
Reply With Quote
  #7  
Old 01-16-2017, 06:05 PM
fodbrothers fodbrothers is offline
 
Join Date: Aug 2013
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUMP
Reply With Quote
  #8  
Old 01-22-2017, 10:21 AM
fodbrothers fodbrothers is offline
 
Join Date: Aug 2013
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUMP

please can some one help me with this
Reply With Quote
  #9  
Old 01-29-2017, 12:25 PM
fodbrothers fodbrothers is offline
 
Join Date: Aug 2013
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUMP
Reply With Quote
  #10  
Old 01-30-2017, 03:41 PM
noypiscripter's Avatar
noypiscripter noypiscripter is offline
 
Join Date: Jul 2013
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you configure Sphinx?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06112 seconds
  • Memory Usage 2,270KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete