Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing modules in the modules config section #27241

Open
gherasasmaa opened this issue Dec 28, 2023 · 1 comment
Open

Missing modules in the modules config section #27241

gherasasmaa opened this issue Dec 28, 2023 · 1 comment
Labels
Bug or PR need more information This bug or PR needs more information (answer to a question or more accurate description) Bug This is a bug (something does not work as expected)

Comments

@gherasasmaa
Copy link

Bug

The end of the page is missing

image

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

@gherasasmaa gherasasmaa added the Bug This is a bug (something does not work as expected) label Dec 28, 2023
@altairis-tof
Copy link
Contributor

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

@altairis-tof altairis-tof added the Bug or PR need more information This bug or PR needs more information (answer to a question or more accurate description) label Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug or PR need more information This bug or PR needs more information (answer to a question or more accurate description) Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants