-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
4.1
-
None
-
MOODLE_401_STABLE
When I try to install a new Moodle 4.1 version via admin/cli/install.php, the installation breaks with an error message NO_DEBUG_DISPLAY. Our Linux environment isn't able to download the language package from the internet, in Moodle 3.9 this wasn't a problem during the installation, only a warning was shown in the logfile. Now the installation breaks.
....
_____ | || |
/___/.- .-. .-. ..| || | .---.
| | _ _ |/ _ \/ _ \/ _ || |/ __ \
* | | | | | || || || || || || || || |__/
|| || ||___/___/___|||_____)
Moodle 4.1 (Build: 20221128) command line installatieprogramma
PHP Fatal error: Uncaught Error: Undefined constant "NO_DEBUG_DISPLAY" in /var/www/moodle/lib/weblib.php:3270
Stack trace:
#0 /var/www/moodle/lib/filelib.php(1633): debugging()
#1 /var/www/moodle/lib/componentlib.class.php(511): download_file_content()
#2 /var/www/moodle/lib/componentlib.class.php(458): component_installer->get_all_components_md5()
#3 /var/www/moodle/lib/componentlib.class.php(390): component_installer->get_component_md5()
#4 /var/www/moodle/lib/componentlib.class.php(285): component_installer->need_upgrade()
#5 /var/www/moodle/lib/componentlib.class.php(804): component_installer->install()
#6 /var/www/moodle/lib/componentlib.class.php(665): lang_installer->install_language_pack()
#7 /var/www/moodle/admin/cli/install.php(463): lang_installer->run()
#8 {main}
thrown in /var/www/moodle/lib/weblib.php on line 3270
Fatal error: Uncaught Error: Undefined constant "NO_DEBUG_DISPLAY" in /var/www/moodle/lib/weblib.php:3270
Stack trace:
#0 /var/www/moodle/lib/filelib.php(1633): debugging()
#1 /var/www/moodle/lib/componentlib.class.php(511): download_file_content()
#2 /var/www/moodle/lib/componentlib.class.php(458): component_installer->get_all_components_md5()
#3 /var/www/moodle/lib/componentlib.class.php(390): component_installer->get_component_md5()
#4 /var/www/moodle/lib/componentlib.class.php(285): component_installer->need_upgrade()
#5 /var/www/moodle/lib/componentlib.class.php(804): component_installer->install()
#6 /var/www/moodle/lib/componentlib.class.php(665): lang_installer->install_language_pack()
#7 /var/www/moodle/admin/cli/install.php(463): lang_installer->run()
#8 {main}
thrown in /var/www/moodle/lib/weblib.php on line 3270
- duplicates
-
MDL-69071 CLI installer triggers debugging if langpack download fails (Fatal error in PHP 8.0)
-
- Closed
-