[29-Jun-2016 12:23:07 UTC] Starting ManiaControl...
[29-Jun-2016 12:23:07 UTC] Checking for minimum required PHP-Version 5.4 ... 5.4 OK!
[29-Jun-2016 12:23:07 UTC] Checking for installed MySQLi ... FOUND!
[29-Jun-2016 12:23:07 UTC] Checking for installed cURL ... FOUND!
[29-Jun-2016 12:23:07 UTC] Checking for installed Zlib ... FOUND!
[29-Jun-2016 12:23:07 UTC] Loading ManiaControl v0.163 ...
[29-Jun-2016 12:23:07 UTC] PHP Fatal error: Uncaught TypeError: Argument 1 passed to ManiaControl\ErrorHandler::handleException() must be an instance of Exception, instance of Error given in /home/imgs/Desktop/ManiaControl-master/core/ErrorHandler.php:407
Stack trace:
#0 [internal function]: ManiaControl\ErrorHandler->handleException(Object(Error))
#1 {main}
thrown in /home/imgs/Desktop/ManiaControl-master/core/ErrorHandler.php on line 407
[29-Jun-2016 12:23:07 UTC] [PHP ERROR]: Uncaught TypeError: Argument 1 passed to ManiaControl\ErrorHandler::handleException() must be an instance of Exception, instance of Error given in /home/imgs/Desktop/ManiaControl-master/core/ErrorHandler.php:407
Stack trace:
#0 [internal function]: ManiaControl\ErrorHandler->handleException(Object(Error))
#1 {main}
thrown
File&Line: /home/imgs/Desktop/ManiaControl-master/core/ErrorHandler.php: 407
[29-Jun-2016 12:23:07 UTC] PHP Fatal error: Uncaught Error: Call to undefined function ManiaControl\Utils\mb_convert_encoding() in /home/imgs/Desktop/ManiaControl-master/core/Utils/Formatter.php:206
Stack trace:
#0 /home/imgs/Desktop/ManiaControl-master/core/Utils/Formatter.php(199): ManiaControl\Utils\Formatter::utf8('Error')
#1 /home/imgs/Desktop/ManiaControl-master/core/ErrorHandler.php(147): ManiaControl\Utils\Formatter::utf8(Array)
#2 /home/imgs/Desktop/ManiaControl-master/core/ErrorHandler.php(395): ManiaControl\ErrorHandler->handleError(1, 'Uncaught TypeEr...', '/home/imgs/Desk...', 407, Array, true)
#3 [internal function]: ManiaControl\ErrorHandler->handleShutdown()
#4 {main}
thrown in /home/imgs/Desktop/ManiaControl-master/core/Utils/Formatter.php on line 206
Php error wtf ?
Moderators: Jocy, Wabbitface, steeffeen, NADEO
Php error wtf ?
Launchin' ManiaControl and have this :
Re: Php error wtf ?
apparently Argument 1 is wrong?
If you don't show what you did in more detail, nobody will be able to help you.
Did you compare your settings with settings mentioned in tutorials or example configuration?
Does your dedicated server also run without Maniacontrol (check the basics first...)?
If you don't show what you did in more detail, nobody will be able to help you.
Did you compare your settings with settings mentioned in tutorials or example configuration?
Does your dedicated server also run without Maniacontrol (check the basics first...)?
Re: Php error wtf ?
has it been working before? what did you change?
it can't find the PHP function mb_convert_encoding
it can't find the PHP function mb_convert_encoding
if you changed your PHP configuration beforehand or if this has been your first try to start ManiaControl, make sure that the extension 'mbstring.so' is (still) enabled[29-Jun-2016 12:23:07 UTC] PHP Fatal error: Uncaught Error: Call to undefined function ManiaControl\Utils\mb_convert_encoding() in /home/imgs/Desktop/ManiaControl-master/core/Utils/Formatter.php:206
-
- Nadeo
- Posts: 601
- Joined: 14 Jun 2010, 16:15
- Manialink: maniahome
- Location: In front of your hood with one lap late
Re: Php error wtf ?
Are you using PHP 7 ?
Since PHP 7 Errors handling has changed cf. http://php.net/manual/en/language.errors.php7.php
Since PHP 7 Errors handling has changed cf. http://php.net/manual/en/language.errors.php7.php
Also known as: satanasdiabolo
Re: Php error wtf ?
he's using php 5.4
again, it's not about some kind of error handling but about a missing PHP function which is usually compiled-in[29-Jun-2016 12:23:07 UTC] Checking for minimum required PHP-Version 5.4 ... 5.4 OK!
Re: Php error wtf ?
Didn't change anything to php. I've php7.1. I take ManiaControl and only change the server.xml with my conf. (mysql etc...).
I'm gonna see for the functions, thx !
FIX : Ok reinstalling PHP change the errors !
I'm gonna see for the functions, thx !
FIX : Ok reinstalling PHP change the errors !
Re: Php error wtf ?
now i've connection interrupted during handskhake
Re: Php error wtf ?
does the log say 'PHP version 7.1' now? (maybe the log output isn't correct because it said 5.4 though that could have been because of the seemingly corrupt installation)
'connection interrupted during handshake' basically says that ManiaControl couldn't connect at all, so your server isn't reachable from the machine on which you're running MC
check the ports of your maniaplanet server, its machine's firewall and the ports in the MC configuration
'connection interrupted during handshake' basically says that ManiaControl couldn't connect at all, so your server isn't reachable from the machine on which you're running MC
check the ports of your maniaplanet server, its machine's firewall and the ports in the MC configuration
Re: Php error wtf ?
if i can connect to my server the mania can too ? :p
Re: Php error wtf ?
not necessarily, the maniaplanet clients use different ports than server controllers
Especially because the maniaplanet server config might prevent controller connections from other locations than localhost, are you running ManiaControl on the same machine as the maniaplanet server?
Especially because the maniaplanet server config might prevent controller connections from other locations than localhost, are you running ManiaControl on the same machine as the maniaplanet server?
Who is online
Users browsing this forum: No registered users and 0 guests