Ban Management

Ban Management

193k Downloads

Invalid Response

CarlosRpenguin opened this issue ยท 20 comments

commented

Im having problems adding a server to the web end. The plugin is giving me no errors and im running version 4.0 of the plugin on minecraft 1.2.5 but its just giving me this.
http://prnt.sc/av889k

commented

My guess is such an old version is not supported anymore.

commented

Unfortunately v4 is no longer supported. Are the database and the website hosted on the same server? Try 127.0.0.1 instead of localhost. Also, I wouldn't use root with MySQL, it's a security concern.

commented

Yes, They are on the same computer, I have tried 127.0.0.1, localhost, and my public ip. Also yes I know not to use root I was just using for testing.

commented

What does the web page display when you attempt to add a server? Your original screenshot doesn't show any messages, just the form.

commented

http://imgur.com/9xPecpC < this is all it does.

commented

Can you open your browser network console? Right click the page, click "Inspect" in Chrome, or "Inspect Element" in Firefox. Click the "Network tab. Try adding the server again. You should see a request go through. Click on it, and paste the response here.

commented

HTTP/1.0 500 Internal Server Error
Date: Fri, 22 Apr 2016 11:24:56 GMT
Server: Apache
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
X-Frame-Options: SAMEORIGIN
Content-Length: 0
Connection: close
Content-Type: text/html; charset=UTF-8

commented

Can you paste the content of response tab too please?

commented

http://imgur.com/mvjhxYz Im guessing this is what u mean?

commented

Yes. In that case, take a look at your webserver logs. It should give some indication as to what the problem is.

commented

I dont see anything in the access and error logs about it.

commented

Thats not it, I just restarted the server and did /bminfo and now it doesnt even say he is banned on the server...

commented

Switched to external SQL server, but its not making the tables i need. What Do I put into the warnings and kicks slots on the website?

commented

Try enabling PHP errors, either set display_errors to 1 in your php.ini file, or add the following to the top of index.php

ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
commented

Okay i set "display_errors" to On, now what would you like me to do?

commented

Restart your webserver. Try adding a server again. Check the output in your browser console, and check your server logs.

commented

Nope nothing, its not throwing errors, its not giving me a response. And it doesn't tell me whats wrong

commented

Okay, so I have manged to connect the sql to a external web server and it added it fine. But I just test banned someone and its not updating on the site.

commented

updates do not happen immediately. just wait a few minutes to let the system update itself.

commented

@CarlosRpenguin It'll be the table names for kicks and warnings.