isohuntto / openbay

Other
3.53k stars 903 forks source link

no torrent results #127

Closed rlenferink closed 5 years ago

rlenferink commented 9 years ago

i have this script running on my website, but i can't search for torrents, it returns a 404 error also when i go to 'browse torrents' no torrents will appear.

i use the remote database of isohunt

do you guys know how i can fix it ?

if you want a live view of the site, click here


a clean install of the open bay script can be found here. this one doesn't work either

TPBT-OFFICIAL commented 9 years ago

Its probably just the remote SPHINX server offline don't worry if its not working in some hours then there may be a problem! turn debug mode on in /protected/config/debug.php

rlenferink commented 9 years ago

i have this problem for approximately 4 days right now. turning debug mode on says:


CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] Can't connect because the target machine actively refused it.


there is also a problem with the sphinx module. that's probably because there isn't a connection with the database.

first it worked all fine, didn't change anything, and it isn't working anymore.

Lacedaemon commented 9 years ago

Installed for the first time last night, and I too am having the same issue. Can anyone with their own database and Sphinx server confirm if theirs is working?

At first I thought I did something wrong, as I had permissions issues at the start, but now at least I know it isn't just me.

nitmir commented 9 years ago

Mine is working. As said on the sphinx conf page, you need a least sphinx 2.1.9, beware that the one packaged on debian/ubuntu is 2.0.4 and openbay won't work with it. Moreover, you need to give to openbay conf the sphinx port corresponding to its sql interface (the one corresponding to the sphinx conf listen = 3306:mysql41, you probably want to use an other port (like 9306) if you are running mysql on the same server)

rlenferink commented 9 years ago

@nitmir if i use the remote database, do i still have to setup sphinx?

ghost commented 9 years ago

@Lacedaemon I got it working with my own sphinx and db, check http://vk.al/ but...dont know how to fix the /browse section not showing results at all. basically, on my website, it looks like this: http://i.imgur.com/4DIafLb.png while I would like to look like: http://i.imgur.com/tOtaUL6.png If someone would like to help...will be much appreciated. thank you.

nitmir commented 9 years ago

@rlenferink nope, you don't have to, there also a remote sphinx instance. You just need sphinx if you want to use your own database.

rlenferink commented 9 years ago

alright, then i think the remote sphinx instance isn't working, because my recent torrents are working fine, but when i search something it isn't working