vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Sphinx (https://vborg.vbsupport.ru/forumdisplay.php?f=265)
-   -   Installation Assistance (https://vborg.vbsupport.ru/showthread.php?t=258816)

Banana 02-13-2011 12:38 PM

Installation Assistance
 
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

PitchouneN64ngc 02-13-2011 03:17 PM

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.

Banana 02-13-2011 03:28 PM

Really? Sphinx 0.9.9 wouldn't be backward compatible???!

PitchouneN64ngc 02-13-2011 08:41 PM

Some users have tested with Sphinx 0.9.9 and it failed.

kerplunknet 08-10-2011 04:13 AM

Is this really true? Unbelievable.

Boofo 08-10-2011 04:14 AM

I couldn't get it to run on Sphinx 0.9.9 so I gave up on it.


All times are GMT. The time now is 06:59 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.00947 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete