Open gherasasmaa opened 8 months ago
Hello @gherasasmaa According to the wiki Dolibarr the mbstring php extension if database is not utf8. Can you confirm it's your case please ? https://wiki.dolibarr.org/index.php?title=Dependencies_and_external_libraries
Bug
The end of the page is missing
And this is the bug reported by PHP
: Uncaught Error: Call to undefined function mb_strlen() in /var/www/dolibarr/htdocs/includes/parsedown/Parsedown.php:170 Stack trace: #0 /var/www/dolibarr/htdocs/includes/parsedown/Parsedown.php(39): Parsedown->lines() #1 /var/www/dolibarr/htdocs/core/lib/parsemd.lib.php(53): Parsedown->text() #2 /var/www/dolibarr/htdocs/core/modules/DolibarrModules.class.php(702): dolMd2Html() #3 /var/www/dolibarr/htdocs/admin/modules.php(704): DolibarrModules->getDescLong() #4 {main} thrown in/var/www/dolibarr/htdocs/includes/parsedown/Parsedown.php on line170
I resolved it by installing the PHP extension sudo apt-get install php-mbstring sudo service apache2 restart
And here is the environment : Dolibarr 18.0.3, PHP 8.2.7, Serveur sous Debian 6.1.66-1
Environment Version
18.0.3
Environment OS
Debian 6.1.66-1
Environment Web server
Apache/2.4.57
Environment PHP
8.2.7
Environment Database
No response
Environment URL(s)
htdocs/admin/modules.php?mainmenu=home
Expected and actual behavior
No response
Steps to reproduce the behavior
No response
Attached files
No response