ztizzlegaming / CSGOWinBig

Open-source Counter-Strike: Global Offensive jackpot betting website.
MIT License
169 stars 104 forks source link

Chat messages have parts that show up as 'Undefined' #185

Closed JohnnyGBigg closed 8 years ago

JohnnyGBigg commented 8 years ago

I set up the script and everything is working. I then input a chat message into the database. It loaded and when I checked the website this happened:

However, the chat message is not undefined. I am able to set it up and send chat messages, but the user's info is undefined. Any help?

JohnnyGBigg commented 8 years ago

It seems to be an error in either update.php or the script.js file. It's more likely the update.php file not being able to get the user's info to put out in a json string to read.

JohnnyGBigg commented 8 years ago

Forgot the change the function in default.php to return the steam api key. Woopsies