Go Back   vb.org Archive > vBulletin Modifications > Premium Modifications > vBulletin Open Source Products > Sphinx
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Installation Assistance Details »»
Installation Assistance
Version: , by Banana Banana is offline
Developer Last Online: Aug 2020 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-13-2011 Last Update: Never Installs: 0
 
No support by the author.

I've been installing Sphinx as per the installation instructions here: http://www.vbulletin.com/forum/showt...-configuration

All goes well until step 13:
13. Run the main.sh cron using:
Quote:
/usr/local/sphinx/cron-multisite/main.sh --config /usr/local/sphinx/sites/mysite1.com/etc/vbulletin-sphinx-mysite1.php
Where I get the following error
Quote:
[root@www cur]# which php
/usr/bin/php
[root@www cur]# php -v
PHP Warning: Module 'gd' already loaded in Unknown on line 0
PHP 5.2.10 (cli) (built: Jun 21 2009 10:41:24)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.3.1, Copyright (c) 2002-2009, by ionCube Ltd., and
with XCache v1.2.2, Copyright (c) 2005-2007, by mOo

[root@www cur]# /usr/local/sphinx/cron-multisite/main.sh --config /usr/local/sphinx/sites/xxxxxx.org/etc/vbulletin-sphinx.php
using config file '/usr/local/sphinx/sites/xxxxxx.org/etc/vbulletin-sphinx.php'...
Sphinx 0.9.9-id64-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff

using config file '/usr/local/sphinx/sites/xxxxxx.org/etc/vbulletin-sphinx.php'...
PHP Warning: Module 'gd' already loaded in Unknown on line 0
ERROR: error executing '/usr/bin/php' in /usr/local/sphinx/sites/xxxxxx.org/etc/vbulletin-sphinx.php line 1 col 1.
FATAL: failed to parse config file '/usr/local/sphinx/sites/xxxxxx.org/etc/vbulletin-sphinx.php'

Sphinx 0.9.9-id64-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff
This error repeats itself many times.

Here's my edit to the config file

Code:
[root@www cur]# head -20 /usr/local/sphinx/sites/xxxxxx.org/etc/vbulletin-sphinx.php
#!/usr/bin/php
<?php

/*
Set $myforumroot to the absolute path to your forum directory.
Example:

*/

$myforumroot = '/var/www/vhosts/xxxxxx.org/httpdocs/forums';

/*########## DO NOT TOUCH ANYTHING BELOW THIS LINE ##########*/

error_reporting(0);
ob_start();
chdir($myforumroot);
require_once('./global.php');

//print_r($vbulletin->config[MasterServer]);
(domain name substituted by xxxxxx)

Help appreciated. Thanks

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-13-2011, 03:17 PM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this is related to the version of Sphinx you are running. It was developed with Sphinx 0.9.8 and you have Sphinx 0.9.9.
Reply With Quote
  #3  
Old 02-13-2011, 03:28 PM
Banana Banana is offline
 
Join Date: Oct 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really? Sphinx 0.9.9 wouldn't be backward compatible???!
Reply With Quote
  #4  
Old 02-13-2011, 08:41 PM
PitchouneN64ngc's Avatar
PitchouneN64ngc PitchouneN64ngc is offline
Senior Member
 
Join Date: Aug 2002
Location: France
Posts: 515
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some users have tested with Sphinx 0.9.9 and it failed.
Reply With Quote
  #5  
Old 08-10-2011, 04:13 AM
kerplunknet kerplunknet is offline
 
Join Date: Jul 2002
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this really true? Unbelievable.
Reply With Quote
  #6  
Old 08-10-2011, 04:14 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I couldn't get it to run on Sphinx 0.9.9 so I gave up on it.
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 03:32 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04399 seconds
  • Memory Usage 2,249KB
  • Queries Executed 19 (?)
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)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (5)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete