Je ne peux plus accéder à Moodle depuis mercredi dernier. Seulement cette page d'erreur. Toujours accessible par FTP. J'ai supprimé le config.php et recommencé l'install même toujours la même erreur sur les 2.
La version est une en 3.11.3+ et l autre en 3.10.7
Merci
La version est une en 3.11.3+ et l autre en 3.10.7
Merci
Bonjour,
Pour avoir plus d'informations sur l'erreur, vous pouvez activer le mode de débogage en ajoutant quelques lignes au fichier config.php. Voir Débogage Dans le fichier config.php
D'autre part, la gestion des blocs peut être différente d'un thème à l'autre. Vous pouvez essayer de modifier le choix du thème aussi via le fichier config.php en ajoutant une ligne, par exemple:
$CFG->theme = 'boost';
Christian
J'ai ajouté le débogage et voici ce que j'obtiens sur la page d'accueil de mes deux plateformes :
Notice: Undefined property: stdClass::$fullname in /home2/dgaveau/public_html/prepafle/lib/outputrenderers.php on line 2850
Error reading from database
Debug info: You must SET PASSWORD before executing this statement
SHOW TABLES LIKE 'mdl\_%'
[NULL]
Error code: dmlreadexception
Stack trace:
line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 701 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1963 of /lib/upgradelib.php: call to mysqli_native_moodle_database->get_tables()
line 203 of /admin/index.php: call to core_tables_exist()
Coding error detected, it must be fixed by a programmer: block_manager has not yet loaded the blocks, to it is too soon to request the information you asked for.
Debug info:
Error code: codingerror
Stack trace:
line 1000 of /lib/blocklib.php: coding_exception thrown
line 373 of /lib/blocklib.php: call to block_manager->check_is_loaded()
line 3980 of /lib/outputrenderers.php: call to block_manager->region_has_content()
line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
line 1396 of /lib/outputrenderers.php: call to include()
line 1326 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2851 of /lib/outputrenderers.php: call to core_renderer->header()
line 1950 of /lib/setuplib.php: call to core_renderer->fatal_error()
line 390 of /lib/setuplib.php: call to bootstrap_renderer->__call()
line ? of unknownfile: call to default_exception_handler()
Notice: Undefined property: stdClass::$fullname in /home2/dgaveau/public_html/prepafle/lib/outputrenderers.php on line 2850
Error reading from database
Debug info: You must SET PASSWORD before executing this statement
SHOW TABLES LIKE 'mdl\_%'
[NULL]
Error code: dmlreadexception
Stack trace:
line 486 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 701 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1963 of /lib/upgradelib.php: call to mysqli_native_moodle_database->get_tables()
line 203 of /admin/index.php: call to core_tables_exist()
Coding error detected, it must be fixed by a programmer: block_manager has not yet loaded the blocks, to it is too soon to request the information you asked for.
Debug info:
Error code: codingerror
Stack trace:
line 1000 of /lib/blocklib.php: coding_exception thrown
line 373 of /lib/blocklib.php: call to block_manager->check_is_loaded()
line 3980 of /lib/outputrenderers.php: call to block_manager->region_has_content()
line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
line 1396 of /lib/outputrenderers.php: call to include()
line 1326 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
line 2851 of /lib/outputrenderers.php: call to core_renderer->header()
line 1950 of /lib/setuplib.php: call to core_renderer->fatal_error()
line 390 of /lib/setuplib.php: call to bootstrap_renderer->__call()
line ? of unknownfile: call to default_exception_handler()
!est-ce qu'il y a eu une mise à jour de Moodle ? Ou un changement de version PHP ? Quelle est la version actuelle de PHP sur ton o2switch ?
Aucune mise à jour de Moodle de ma part.
La version de PHP aujurd'hui sur o2switch est 7.3.30...
La version de PHP aujurd'hui sur o2switch est 7.3.30...
Le message "You must SET PASSWORD before executing this statement" laisse penser qu'il y a un problème de mot de passe pour un utilisateur avec MySQL (peut-être l'utilisateur root?)