Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Error in link #351

Closed
spartaelcid opened this issue Nov 2, 2018 · 8 comments
Closed

Error in link #351

spartaelcid opened this issue Nov 2, 2018 · 8 comments

Comments

@spartaelcid
Copy link

Hello,

when i try yo click the image " 2moon" in the top left they return this error:
USER ERROR
Message: Call to undefined function mb_strlen()
File: /includes/libs/Parsedown/Parsedown.php
Line: 144
URL: http://207.180.231.117:8000/game.php?page=changelog
PHP-Version: 7.0.32-0ubuntu0.16.04.1
PHP-API: cli-server
2Moons Version: 1.8.git
Debug Backtrace:
#0 /includes/libs/Parsedown/Parsedown.php(39): Parsedown->lines(Array)
#1 /includes/pages/game/ShowChangelogPage.class.php(35): Parsedown->text('### v1.8.0/tJan/n...')
#2 /game.php(57): ShowChangelogPage->show()
#3 {main}

is not a major error, just minor :D

@jkroepke
Copy link
Owner

jkroepke commented Nov 3, 2018

Looks like you habe not install the php-mbstring extension

@spartaelcid
Copy link
Author

mmm i do all step for the install, but i check it !

@lilmnm-kamikaze-
Copy link

The php-mbstring is a php exstension. Which is not provided in the repo. You need to install or enable it in your server’s php.ini file. A quick google search will do you the trick

@jkroepke
Copy link
Owner

jkroepke commented Nov 3, 2018

@lilmnm-kamikaze-
Copy link

Looks like it but look for one for your php version. Look on php.net. It will have better info

@jkroepke
Copy link
Owner

jkroepke commented Nov 3, 2018

PHP-Version: 7.0.32-0ubuntu0.16.04.1

The ubuntu sources are good in this case. There i no need to source the sources directly from php.net

@lilmnm-kamikaze-
Copy link

I was pointing him there if he had a php version other than php7

@spartaelcid
Copy link
Author

hello,

i check it, i fix it simply adding as suggested the package in question with the command:

sudo apt-get install php7.0-mbstring

Thanks!

@jkroepke jkroepke closed this as completed Nov 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants