Alright so here is whats goin on. I am trying to make a page that will allow my players to add themselves to the whitelist. The code is set up how it should be but its just not working! Its making me crazy lol. All ports are open and double checked on both ends.
Here is my php code for my website:
Whitelist_handle.php:
<?php require('JSONAPI.php'); $user = $_SESSION['user']; $email = $_SESSION['email']; //this is for later when I make it actually add them to the whitelist. For now im just trying to run a simple command to my server. //It should do "/say test" on my server. But it wont! $obj = new JSONAPI('ip', 20059, 'uname', 'pass', salt); $obj->call("runConsoleCommand", array("say test")); echo "The test ran."; ?>Any help would be great! I honestly dont know what is causing this error. It was working pre 1.6 =/ I have the latest build of JSONAPI
EDIT: I also get no errors on my console. I do however see this:
07:00:00 [SEVERE] Reached end of stream for /108.175.158.213 07:00:04 [SEVERE] Reached end of stream for /108.175.158.213 07:00:39 [SEVERE] Reached end of stream for /67.43.7.19 07:08:09 [SEVERE] Reached end of stream for /108.175.158.213 07:10:08 [SEVERE] Reached end of stream for /67.43.7.19 07:22:19 [SEVERE] Reached end of stream for /67.43.7.19 07:27:06 [SEVERE] Reached end of stream for /174.100.93.19 07:27:51 [SEVERE] Reached end of stream for /67.43.7.19 07:34:07 [SEVERE] Reached end of stream for /108.175.158.213 07:34:27 [SEVERE] Reached end of stream for /67.43.7.19 07:35:28 [SEVERE] Reached end of stream for /108.175.158.213 07:36:01 [SEVERE] Reached end of stream for /67.43.7.19 07:43:49 [SEVERE] Reached end of stream for /108.175.158.213 07:44:54 [SEVERE] Reached end of stream for /67.43.7.19Now the 108.175.158.213 is my web server. The other IPs idk. From what I understand with 1.6 when a client or something else pings/checks the status of the server it sends this. So IDK if it is messin with JSONAPI.