The Arcive of vBulletin Modifications Site. |
|
Some basic questions to sphinx Details »»
|
|||||||||||||||||||||||||
The forum runs now with the usual vbulletin search engine, but I'd like to know how I can setup sphinx search again ![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Code:
ERROR: invalid token in /usr/local/sphinx/etc/vbulletin-sphinx.php line 1 col 1. |
|
#3
|
||||
|
||||
|
It is the #! path to php line and this line is the same as it was before when it was working. Furthermore, in the path to this directory there is a php file. First thing after looking at this error message was that I looked if the vbulletin-sphinx.php file was okay, and it is. Why is it a invalid "token" error?
|
|
#4
|
|||
|
|||
|
Personally I just ran the vbulletin-sphinx.php script once and saved its output to a file. I don't see the point of calling PHP every time the indexer is run just to generate the same config file.
|
|
#5
|
||||
|
||||
|
You are lucky, I cannot get it to run at all.
Quote:
|
|
#6
|
|||
|
|||
|
check that you edited the $myforumpath in vbulletin-sphinx.php, not the example $myforumpath path like i did.... doh
|
|
#7
|
||||
|
||||
|
The problem is indeed somewhere in the cronjob. Had the same issue Thorsten is reporting in a client's website (he is running litespeed web server). I am trying to look into the delta.sh file to see what could be causing this.
The token error means the PHP path on top is wrong... weird that at first it was running and now it is not running anymore! |
|
#8
|
||||
|
||||
|
Just a short notice, it may not be because of the litespeed web server, I am running a stock directadmin (that is something like plesk or cpanel) 64bit configuration with apache etc. I have software raid1 but other than that my configuration is pretty usual. The high load is pretty strange as I have an i7 8GB with a less than one million post forum with usual less than 300 users online.
|
|
#9
|
||||
|
||||
|
Thorsten, may I ask you if you are running suphp or suexec to run php?
|
|
#10
|
||||
|
||||
|
I am not so familiar with that, but here is what I found: I have seen mod_suexec on php-info. I did not see suphp on php-info.
|
![]() |
|
|