-
Notifications
You must be signed in to change notification settings - Fork 903
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
Error 500 #47
Comments
Did you forget to move the protected folder to be web accessible? Should be in the same dir as www. Also set permissions for www-data or whatever user the webserver/php is. |
I’ve stuck protected in htdocs with the rest of the front end now, however now index.php is showing nothing at all, just a blank page.
|
@milezteg actually the protected folder can sit outside of the www directory such as in /var (one directory back in Linux environments) and as long as the www-data user and group own it, it should work fine. He could also just set it to read from the www directory though by editing a few files. |
yep, see #58 Gotta set it that your using your own database, sphinx search, and comment out the two lines I specify in #58 and then you can click deploy and you'll be greeted by the default index. The reason for this is that isohunt removed the config.json information from their site (or moved it) and its causing issues with new Openbay deployments. |
@iShariefi that's alright, The database I was talking about was like this Replacing that information with what you need to set, the rest like cache and logging you can leave on. |
The default database that is suppose to come with this (the one it goes to if you leave database and sphinx on) currently doesn't work as Isohunt moved or removed the config.json that was suppose to be on their site which would have then set your database and sphinx configuration to use theirs however without that file you get the error you got above. My best guess to why they did this was probably someone broke into their public database that was serving all the replicas now spawning up all over the place. |
@tranquilitycal All right, thanks... Or can you give me any tutorial link where I can learn how to create a database (specifically for using in openbay) and deploy in this installation? I've been searching, but still unable to find the proper one. I'm determined to make this website work, whatever it takes. And as my godaddy hosting will not allow this, can you tell me what kinda hosting should I get for this? Thanks again... |
GoDaddy should work, as long as you don't host copyrighted material you should be fine, at the moment I don't know any good hosts at this moment. As far as setting up the databases you might wanna take a look at stuff like phpbb3/MyBB (Forum software written in PHP which use MySQL databases) I am lacking a tutorial link which would be great help to you right now but there should be a few good links online just search like. Creating MySQL databases in CPanel and you might find what your looking for. |
@tranquilitycal All right mate, diving into it, will be back after I create the db... |
Alrighty, I just reopened my pull request and made the edits to add a note that tells new installers that the default "On" is broken at current moment and I edited the DefaultController.php in there too. |
hmm, That is very odd, Looks like the protected dir might not be fully owned by the www-data user or whatever user you have set to serve web data. chown -R protected www-data:www-data should fix it. |
in #35 someone provided some css fixes. Do I need to do those? my protected dir permission is 7 5 5. are you talking about changing this? |
The css fixes are suppose to be if your using a subdirectory but it might be worth a shot. |
In cpanel where do I go to apply chown? |
Well in the case of doing it with cpanel then the user permissions should already be set. Where is your protected dir currently? |
and everything else is inside infernalbay I changed protected's permission to 7 7 5 as well |
do you have a way to place it outside of the www directory? Looking at a few of the files from the index and such it looks like it goes to /../ which tells it to go to the root (www) directory then go back one to something like /var/ (in my case /var/www/index.php and then /var/protected/) EDIT: Code snippet from index.php $yii = DIR . '/../protected/vendor/yiisoft/yii/framework/' . (YII_DEBUG ? 'yii.php' : 'yiilite.php'); |
You could try, since its symlinked to your home directory, if it doesn't work I'll just do a side branch and edit all the lines that say "/../" to just go to /protected |
And I changed the css path, should I revert the change? |
yes |
all right. |
yeah I'll check |
Hi @tranquilitycall, I believe you can help me how to set-up Sphinx for Openbay in Windows. Do you a simple tutorial for that. Please help. |
On install, using MAMP
rename(/Applications/MAMP/protected/installer/controllers/../../../www/installer.php,/Applications/MAMP/protected/installer/controllers/../../../www/installer-disabled.php): No such file or directory
The text was updated successfully, but these errors were encountered: