Closed futureman2007 closed 3 years ago
I found the solution. And after googleing this issue i found, that noone has a solution for it posted. They fixed the problem but they don´t told the way how to fix it. So i will provide the answer: As of https://stackoverflow.com/questions/1216274/unable-to-call-the-built-in-mb-internal-encoding-method the error is thrown, because mbstrings are not a default part of PHP.
To fix the issue on Linux, install the extensions for PHP: sudo apt-get install php7.0-mbstring or sudo apt-get install php7.2-mbstring
after that you need to restart your webserver. When using apache2 (like me) on Ubuntu18LTS+: sudo systemctl reload apache2 sudo systemctl restart apache2
Now everything should work fine.
bug report
Digging in the logfiles: After the login or register button was clicked in the webpage, the following php exception was thrown: Call to undefined function mb_internal_encoding() in /var/www/travianz/GameEngine/Session.php:5\nStack trace:\n#0 /var/www/travianz/GameEngine/Account.php(32): include_once()\n#1 /var/www/travianz/anmelden.php(20): include('/var/www/travia...')\n#2 {main}\n thrown in /var/www/travianz/GameEngine/Session.php on line 5, referer: http://81.169.203.197/