ToxicRevolution / CSGORankMeWeb

Web interface for Rank Me CSGO Stat tracking plugin
https://Toxicrevolution.net
MIT License
30 stars 10 forks source link

Problems encountered during installation #38

Closed yanaex closed 6 years ago

yanaex commented 6 years ago

Is there a requirement for the php version? Or what php extensions need to be turned on? I get an HTTP 500 error when accessing the domain after uploading a folder, php version 7.0.15

APet74 commented 6 years ago

Is there an Error_log file made, I assume there is some broken syntax when going from your old version to your new version. I can probably fix it if there is some sort of error_log.

yanaex commented 6 years ago

I opened the php error message display, please check Website

APet74 commented 6 years ago

Is there an error_log in the folder that you can send us?

kennyLtv commented 6 years ago

I'm guessing from the error I see on the page you did not use the installer? I have updated our example config to include the missing variables. Please run the installer or take a look at the example config for variables you may be missing.

APet74 commented 6 years ago

Yeah, I would agree you are missing a $table variable ism y guess.

yanaex commented 6 years ago

Well, it should be my configuration problem. I need to go to sleep now and I will leave you a message after you get up. Thank you.

kennyLtv commented 6 years ago

We don't use telegram, we have a keybase group you can join here.

yanaex commented 6 years ago

First, i use cp example.config.php config.php and configure the database information

require_once("control/queryFunctions.php"); require_once("control/class.Player.php"); require_once("control/class.Server.php"); $pageTitle = ''; $weaponsArray = array("m4a1_silencer","m4a1","ak47","awp","knife","usp_silencer","hkp2000","elite","p250","fiveseven","cz75a","deagle","glock","tec9","famas","aug","galilar","sg556","hegrenade","flashbang","smokegrenade","inferno"); $webTitle = ''; $dbh = new PDO("mysql:host=localhost ;dbname=csgo", 'csgo', 'csgocs'); $webURL = ' '; $sbURL = ' '; $title = "rankme";

APet74 commented 6 years ago

needs a $table variable. The $table variable should be the name of the table, usually "rankMe"

yanaex commented 6 years ago

Thank you. I will try it later. Now I need to sleep.