Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-10-13 20:11:55

porntube
Member
Registered: 2010-10-05
Posts: 38

Related Movies not showing??

no related Movies showing on my site??

sphinx running:

Sphinx 2.0.1-id64-beta (r2792)
Copyright (c) 2001-2011, Andrew Aksyonoff
Copyright (c) 2008-2011, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file '/etc/sphinx/sphinx.conf'...
indexing index 'videos'...
WARNING: collect_hits: mem_limit=0 kb too low, increasing to 26624 kb
collected 93 docs, 0.0 MB
collected 216 attr values
sorted 0.0 Mvalues, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 93 docs, 18791 bytes
total 0.041 sec, 457959 bytes/sec, 2266.52 docs/sec
total 406 reads, 0.000 sec, 0.2 kb/call avg, 0.0 msec/call avg
total 11 writes, 0.001 sec, 17.5 kb/call avg, 0.1 msec/call avg
rotating indices: succesfully sent SIGHUP to searchd (pid=29122).

My settings for related Movies:

Show related videos = yes
related Categors = no
Complex(Sphinxsearch)
Limit = 100
per page = 10

i use the config file from here: Install Sphinx for Adult Script Pro
anyone knows what's wrong??

Offline

#2 2011-10-14 08:40:40

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Related Movies not showing??

I will update the documentation for sphinx. You need to add a few more lines to the sphinx configuratation and then restart sphinx. Updating now.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-10-14 14:55:42

porntube
Member
Registered: 2010-10-05
Posts: 38

Re: Related Movies not showing??

ok i use your updated file but now comes an Error when i want restart:

ERROR: unknown key name 'GROUP_CONCAT' in /etc/sphinx/sphinx.conf line 19 col 22.
FATAL: failed to parse config file '/etc/sphinx/sphinx.conf'

what is now wrong??

Offline

#4 2011-10-14 19:01:22

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Related Movies not showing??

I have no idea. Never saw that error before. Please email me ssh root access and i will check and fix tomorrow. Could be possible that there is a space needed after v.video_id AS video, but i'm not sure.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#5 2011-10-14 20:52:42

porntube
Member
Registered: 2010-10-05
Posts: 38

Re: Related Movies not showing??

hmm when i use the old form it runs without errors so the problem comes after your changes to RC4?
i use it on Cent OS5.7

Offline

#6 2011-10-14 22:34:46

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Related Movies not showing??

CENTos is based on debian.
Which version are you running ?


sgt-halfsize-banner.jpg

Offline

#7 2011-10-14 22:36:40

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Related Movies not showing??

Centos is not based on debian. Its based on RHEL. Probably almost the same as rhel, but free.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#8 2011-10-14 22:37:57

Coscast
Member
From: Germany
Registered: 2010-10-03
Posts: 546

Re: Related Movies not showing??

OK. Overpowered. Be real: What is NOT based on DEB ?!


sgt-halfsize-banner.jpg

Offline

#9 2011-10-14 22:50:41

porntube
Member
Registered: 2010-10-05
Posts: 38

Re: Related Movies not showing??

first i have run:

Sphinx 2.0.1-id64-beta (r2792)

after the config file update and the error i remove the beta and install the last stable:

Sphinx 0.9.9-release (r2117)

but the error comes allways:

ERROR: unknown key name 'GROUP_CONCAT' in /etc/sphinx/sphinx.conf line 19 col 22.
FATAL: failed to parse config file '/etc/sphinx/sphinx.conf'

this is line 19 before update:          GROUP_CONCAT(DISTINCT t.name SEPARATOR ' ') AS tags \
this is line 19 after update  :          GROUP_CONCAT(DISTINCT t.name SEPARATOR ' ') AS tags \

for me it looks same?!

so it can only be an error/problem in line 18

befor update:         v.rating, v.total_views, v.duration, \
after update:         v.rating, v.total_views, v.duration, v.video_id AS video, \

Offline

#10 2011-10-15 15:26:32

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Related Movies not showing??

Please email me ssh root access. I dont know exactly what the problem is. Is there a space after v.video_id AS video,?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#11 2011-10-15 15:41:49

porntube
Member
Registered: 2010-10-05
Posts: 38

Re: Related Movies not showing??

the line is exactly why i post it in my last post
i sent you an mail

Offline

#12 2011-10-16 12:26:33

porntube
Member
Registered: 2010-10-05
Posts: 38

Re: Related Movies not showing??

anyone new of this problem?

Offline

#13 2011-10-16 14:38:50

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Related Movies not showing??

Fixed. I dont know what the problem was, i actually only added:

v.video_id AS video,

Restarted searchd and also reloaded with indexer, just to see if it works.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#14 2011-10-16 15:12:34

porntube
Member
Registered: 2010-10-05
Posts: 38

Re: Related Movies not showing??

Hmm i think it works!

Thanks.
but i dont understand this the 2 config files are absolutly same?!
but ok it runs and this is good.

Thanks again.

Offline

#15 2011-10-17 06:45:19

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Related Movies not showing??

I do not know, like i said i only added what was missing. Probably you forgot a space or , (happens to me all the time when i code and then i search hours for a comma and i cant find it).

@Coscast: redhat, slackware, archlinux are not based on debian. Ubuntu, Mint and other distributions are based on debian. I used to like debian, but now i use archlinux on my desktop/laptop and centos (mostly because most clients use centos) on my servers. Debian was considered the most stable and secure linux distribution like 3-5 years ago, i dont know how its now, lost track to linux since i moved from server administration to php.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#16 2012-09-12 02:23:10

ptsguy
Member
Registered: 2012-08-06
Posts: 135

Re: Related Movies not showing??

symtab wrote:

Fixed. I dont know what the problem was, i actually only added:

v.video_id AS video,

Restarted searchd and also reloaded with indexer, just to see if it works.

where did you add this? I am having an issue with sphinx and related videos

Offline

#17 2012-09-13 12:05:52

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Related Movies not showing??

In sphinx.conf.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB