Kissaki / MumPI

A Webinterface for Mumble Server. Written in PHP, using Ice middleware.
http://kissaki.github.io/MumPI/
Other
104 stars 30 forks source link

Weird issue with ServerInterface.php line 185 after reinstalling working VPS image #43

Closed nicolasjoly closed 10 years ago

nicolasjoly commented 10 years ago

My MumPI worked perfectly with 1.2.8. I wanted to fiddle around with the snapshots and it doesn't seem to work even if I use a new .php made from slice2php. The MumPI page appears and I can log in, but the server List from the admin page doesn't show any server (the server table is empty).

Kissaki commented 10 years ago

Does your PHP/Webserver log any errors?

nicolasjoly commented 10 years ago

Seems like the error is located in MumPI/classes/ServerInterface.php on line 185. I commented out the line and now everything works. I don't know what happens, but I reinstalled a VPS image of a known working 1.2.8 MumPI server and had the exact same problem. I don't know if it hooks to something related to the IP or MySQL DB (since it's a Cloud VPS, the IP changes and I think the mysql admin password changes too).

Kissaki commented 10 years ago

https://github.com/Kissaki/MumPI/blob/73b224f831b818439de504ea117467a565ed53dd/classes/ServerInterface.php#L185 ? Could you provide the error?

nicolasjoly commented 10 years ago

Exactly that. Here's the error from /var/log/apache2/error.log : [Tue Aug 26 17:10:44.891805 2014] [:error] [pid 1303] [client xxxxMY_IPxxxx:51941] PHP Fatal error: Uncaught exception ::Murmur::InvalidSecretException\n{\n}\n thrown in /var/www/html/MumPI/classes/ServerInterface.php on line 185, referer: http://xxxxMY_VPS_IPxxxx/MumPI/admin/?page=login&action=dologin

Kissaki commented 10 years ago

The error message is very specific about that it tries to connect with an invalid ice secret. So the icesecret read and/or write password does not match the icesecret password you specified in MumPIs settings file settings.inc.php.

nicolasjoly commented 10 years ago

Ok I fixed my problem by commenting icesecretread. I had both icesecretread and icesecretwrite on with the same password.