franga2000 / BungeeStatus

A PHP powered website to show players the status of your BungeeCord network
GNU General Public License v2.0
9 stars 7 forks source link

Admin page doesn't work when adding server #19

Open Talamar1 opened 8 years ago

Talamar1 commented 8 years ago

When adding servers, it doesn't update the servers.json file, even worse, when you manually configure the file and then go back to the admin page to edit something, it blanks the file out completely.

franga2000 commented 8 years ago

Could you post a link to your site?

Talamar1 commented 8 years ago

http://mc.alphinia.info/status/

Talamar1 commented 8 years ago

What is in there now was all manually edited.

franga2000 commented 8 years ago

When you load the admin page, does it detect the servers that are already there?

Talamar1 commented 8 years ago

if I manually add the servers and load the admin page it sees them. If I edit anything on the page and save, it creates the config.json file but purges the content of the servers.json.

franga2000 commented 8 years ago

I'm not sure why this would happen, but I'll be releasing a complete rewrite in about 2 weeks so if you don't need this fixed immediately, you can test the new version when it comes out.

Talamar1 commented 8 years ago

No worries, I just did a manual config and it works.