dieonar / MyMumb-Panel

Web based application for murmur server managment
GNU General Public License v3.0
13 stars 9 forks source link

Can not login #14

Closed invisan closed 9 years ago

invisan commented 9 years ago

When i try to login i only get the message Unable to connect, Please check your login information. Login Info and Server are correct though. This happens if i use the specified login or if i try with the settings set to false.

Ice Secret in the config and the Server are the same.

Im Using Ice-3.5.1 on Ubuntu 14.04 Trusty.

This is what my /var/log/apache2/error.log looks like.

[Tue Aug 04 22:21:01.812697 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineClass() expects exactly 8 parameters, 6 given in /var/www/mumblewi/inc/Murmur.php on line 591, referer: http://localhost/mumblewi/?login [Tue Aug 04 22:21:01.812755 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineProxy() expects parameter 1 to be object, null given in /var/www/mumblewi/inc/Murmur.php on line 593, referer: http://localhost/mumblewi/?login [Tue Aug 04 22:21:01.812774 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineException() expects exactly 5 parameters, 4 given in /var/www/mumblewi/inc/Murmur.php on line 616, referer: http://localhost/mumblewi/?login [Tue Aug 04 22:21:01.812788 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineException() expects exactly 5 parameters, 4 given in /var/www/mumblewi/inc/Murmur.php on line 640, referer: http://localhost/mumblewi/?login [Tue Aug 04 22:21:01.812801 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineException() expects exactly 5 parameters, 4 given in /var/www/mumblewi/inc/Murmur.php on line 664, referer: http://localhost/mumblewi/?login [Tue Aug 04 22:21:01.812815 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineException() expects exactly 5 parameters, 4 given in /var/www/mumblewi/inc/Murmur.php on line 688, referer: http://localhost/mumblewi/?login [Tue Aug 04 22:21:01.812828 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineException() expects exactly 5 parameters, 4 given in /var/www/mumblewi/inc/Murmur.php on line 712, referer: http://localhost/mumblewi/?login [Tue Aug 04 22:21:01.812841 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineException() expects exactly 5 parameters, 4 given in /var/www/mumblewi/inc/Murmur.php on line 736, referer: http://localhost/mumblewi/?login ............. [Tue Aug 04 22:21:01.813188 2015] [:error] [pid 10886] [client 127.0.0.1:47569] PHP Warning: IcePHP_defineOperation() expects exactly 9 parameters, 8 given in /var/www/mumblewi/inc/Murmur.php on line 1211, referer: http://localhost/mumblewi/?login

dieonar commented 9 years ago

did you use "icesecretread=" in your murmur config ini?

invisan commented 9 years ago

No its not set.

Config looks like this.

http://pastie.org/private/yapkegxtotxu52mang9ga

Edit:

Looks like i found at least half of a solution. I created a custom Murmur.php from the murmur_1.2.5.ice which was also one of the solutions for MAP which i tried to use also. Unfortunately MAP still has some big bugs. I dont get the Errors in the log anymore. When i try to login now though it redirects me from my normal directory localhost/mumblewi to localhost/mumbl while the correct path would be localhost/mumblewi/mumble I already changed that in the index.php now though. Unfortunately the design looks a bit buggy now though.

You should rather allow variable Server Paths in the config then hardcoded Path and assuming that MyMumbPanel is located in the root directory of the Apache.

dieonar commented 9 years ago

Yeah, it's a good point, I will do changes this weekend

invisan commented 9 years ago

No need to already did it. Will upload it later today when im back home. One thing i couldnt do which would be quite usefull is the ability to change the Port of the Server later on.

invisan commented 9 years ago

My Fork is updated now. If you want to merge it with yours go ahead and look at the changes and see if its working out for you :-) Im also working on a more detailed overview for the Servers currently. X/Y Slots in Use as an example.

dieonar commented 9 years ago

Yeah, thanks i will give a look this weekend, thanks anyways ;)