Newcomer1989 / TSN-Ranksystem

A PHP Bot that assigns time based server groups on TeamSpeak3.
https://ts-ranksystem.com
GNU General Public License v3.0
144 stars 60 forks source link

500 Server Error #237

Closed BlackFishMaker closed 7 years ago

BlackFishMaker commented 7 years ago

Hey i installed your bot and i put in all the info and everything but once i try to start it it takes a really really long time to load and just shows me a grey background after i try to reload the page i get a 500 server error. After some time i can reload the page and it works again but i still cant start the bot. I feel like it might be a permission problem but i dont know which of the folders need what permissions.

Shad86 commented 7 years ago

Hello,

you usually should start the ranksystem with the right webuser and not as root. On apache2 mostly the default webuser is www-data.

Then you usually get on the install process the needed permissions for the folders, they are:

chmod 777 -R avatars/ icons/ logs/ update/ other/dbconfig.php

regards

Shad86

BlackFishMaker commented 7 years ago

I redid all the folder permissions but it still doesnt work but what do you mean with webuser? I log into the webinterface with the user i create after the installing process right?

Shad86 commented 7 years ago

Thats correct but the folders need also rights for the webuser (that the webuser can execute things) as said above and also as described here:

https://ts-n.net/ranksystem.php#install

BlackFishMaker commented 7 years ago

Alright so i gave permissions to the default webuser and reinstalled the whole thing gave all folders permissions again and set everything up again but its still not working :(

bykidi commented 7 years ago

@BlackFishMaker try to run using root just for test

BlackFishMaker commented 7 years ago

it says "operation not permitted" im using namecheap to host it and they also replaced the www-data by another variable but i changed it to what they said would be the equivalent maybe that could be the problem?

bykidi commented 7 years ago

@BlackFishMaker seems like your hoster is not allowing you to execute the php files for some security reasons...

BlackFishMaker commented 7 years ago

i specifically checked they do allow all the permissions that are listed as requirements. but i guess that will probably be the problem, can you recommend any hosters? i only need to host the bot on it nothing else

Shad86 commented 7 years ago

If you have to much troubles, you can ask for a sponsored hosting directly from the owner: https://ts-n.net/ranksystem.php#support

Today he is already offline, so you have to contact him over the contact form.

regards

Shad86

BlackFishMaker commented 7 years ago

Oh thanks i didnt even see that i thought they would only sponsor with 40 or more active users ill contact him tomorrow for sure thanks for all the help!

bykidi commented 7 years ago

@BlackFishMaker good luck!