New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browse not working, #2
Comments
Hey, Looks like there is an error with .htaccess Yours truly, Isohunt.to team. Join us on facebook https://www.facebook.com/isohuntto, twitter On Fri, Dec 19, 2014 at 11:18 PM, dynamitedj notifications@github.com
|
I'm the Root account for the cpanel server so its no issue looking at the Apache, but i've checked htaccess and i cannot find anything relating to /browse, there is also no browse folder for /src/www/ where it is trying to find, should it not be trying to call the browse from your database server instead of mine? i can try alternative hosting however the secondary server does not have PDO/PDO-MYSQL instaled as it is for Dev Testing of Web Scripts. |
Try enabling the debug flag in protected/config/debug.php and see if you get any more info. |
I have bolded the Red Lines from the debug page, if you want the Direct Link i can provide that @GreySyntax PHP notice Array to string conversion /home/dynamite/public_html/proxy/src/protected/models/LTorrent.php(423) 411 ->option('ranker', 'SPH04')
|
Looks like your sphinx config is incorrect, check the searchd listen section is correct |
@dynamitedj was the issue fixed by recent commits? |
i'm waiting to find out, i've logged out of my server for now but will update tomorrow and let you know as i've been up 40 hours and i'm flagging so not with it, don't want to risk completely messing it up. |
i'll have to install Sphinx and try to get it working with CPanel |
I have the same issue. My hosting does not have sphinx, and i'm unable to browse and search. |
After getting sphinx to behave, the browse and search pages have started working for me. I think this may actually be a non-issue |
The issue could be with the provided sphinx config. |
I would be great if they had some sort of mechanism that allowed falling back to MySQL. This would put the script working, even in hosts without Sphinx. |
I've installed Sphinx but its still failing for me, wondering if it is a problem with Config now, i've manually changed to my Sphinx instead of the default Sphinx and still getting the same thing, wondering now... |
http://openbay.com.nu/ GOOD! |
@tuneniitoo what Sphinx are you running? are you running your own or are you running the default config? i'm on a dedicated server with full root access i have Sphinx installed locally and it is still not working as it should be |
Ok, so i've got Sphinx somewhat working, but now i'm getting errors galore, please remember this is a CPANEL server, i've altered the conf slighly to listen on 3312 and 3307:mysql41 now when i click browse i instantly get the 404 error rather than a delay, i'm also getting warnings and a fatal error on sphinx boot. ---- QUOTE --- using config file '/root/local/etc/sphinx.conf'... ---- END QUOTE ---- Any ideas? |
Tried that but i'm using the Conf that was in the download, unless i've missed something else.... any other ideas? |
Hi, same for me, 404 everywhere except for the "Recent torrents".
Sphinx seems to be working now, but I'm still getting 404 errors .... |
On openbay/src/protected/runtime/application.log I get that strange error : SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: NO) This is not normal. I don't use the root account for mysql. Here is my config.php :
Is it a bug ? |
I followed all the instructions and such but I still cant get the search to work, just try to search on there and you'll see what I mean |
Is there a way to get openbay working ? I'm stuck on this 404 error. |
@src386 Just turn debug mode on in protected/config and then try browsing again. That should give you an error to work from. |
Thanks. Yeah because I DON'T WANT TO USE ROOT ! |
This is the error I am getting 👎 DbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 1064 unknown local index 'opbtorrents' in search request. The SQL statement executed was: SELECT count(*) FROM opbtorrents ORDER BY weight() DESC, id DESC LIMIT 0, 20 |
Just wanted to make the comment that if the example-sphinx.conf file is using 3306, then you can basically assume it's f-ed up. Mysql uses 3306. That number should definitely be 9306, for a default configuration. (EDIT: I might be wrong, still researching.) I'm struggling through the same issues. @src386- Apparently on debian mysql defaults to not allowing web access. You have to enable it, and then give permissions to the connecting user (root or whoever you choose to use.) see https://rtcamp.com/tutorials/mysql/remote-access/ @GreySyntax- Would you mind posting the sphinx.conf you used that seems to be working? |
See above
BUT FIRST : Whats the output of
?! |
root@FaZe:/var/www/openbay/src/www/themes/oldpiratebay/views/layouts# dpkg -l | grep "sphinxsearch" |
Cooool ! 2.2.6 is very OK. So on... ...you can copy/paste the above /etc/sphinxsearch/sphinx.conf. Fill in only your DB-host/user/pass/database...
|
but I gave a different database name.. and what did you say ? so i'll keep the sphinx toggle at using theirs itself ? |
|
Okay |
How much time will this 'adding source' part take? |
Do you use the *.sql from the package here [github.com] ? Seconds... What definitely do you mean with "adding source" ? Insert the table I hope. |
Yeah.. I used this one : isohuntto/openbay-db-dump#9 |
Inside of
only four datasets for testing ! 👍 |
What? Its okay right? will it work?? |
|
Adding the database to mysql |
OK. Using "/[pathto]/openbay-master/src/protected/data/schema.mysql.sql" only costs seconds. |
Its all workin for me now :) Thanks a lot @bernd-stromberg |
Fine !! Wait... |
This is what I did : go to the console of the server in root and type "mysql -p" and put the mysql passwd |
@TheChiefCoC , come to the IRC ? |
Tell me the room... |
http://webchat.freenode.net #hacking-lab |
Nick : bernd-stromberg |
Yup I saw u |
@Fazelesswhite sorry i didnt come back , i got busy, i can help you now if needed. |
its okay, you can come on IRC? http://webchat.freenode.net #hacking-lab |
If anyone is interested, message from DynDNS : |
If you want to install openbay on FreeBSD, I wrote a guide : I think there are similare guides for debian / ubuntu. |
@src386 I got it working on debian all thanks to @bernd-stromberg |
Is it possible to get up and running without using sphinx? |
I've got the site and everything up and running however, when i click to search or even Browse torrents i just get a shit happens error message, any ideas what could have gone wrong? i've re-installed several times but still getting the same problem.
The text was updated successfully, but these errors were encountered: