chamilo / chamilo-lms

Chamilo is a learning management system focused on ease of use and accessibility
https://chamilo.org
GNU General Public License v3.0
798 stars 480 forks source link

Bug lors création catégorie de cours #5167

Closed andre0ani closed 8 months ago

andre0ani commented 8 months ago

Page blanche lors de la création d'une catégorie de cours.

Comment le reproduire Pour le reproduire, il faut: Il faut aller dans l'administration sur les catégories de cours puis en ajouter une : main/admin/course_category.php?category=&action=add

Captures d'écran Capture inutile, c'est une page blanche.

Bureau (à compléter au mieux):

**Serveur

Contexte additionnel Message d'erreur PHP :+1: Fatal error: Uncaught Error: Call to undefined function html_filter() in /chamilo/elearning/main/inc/lib/course_category.lib.php:191 Stack trace: #0 /chamilo/elearning/main/admin/course_category.php(61): CourseCategory::addNode('ESSAI7', 'essai7', 'TRUE', '') #1 {main} thrown in /chamilo/elearning/main/inc/lib/course_category.lib.php on line 191

jgnosolored commented 8 months ago

Hi @andre0ani

It is advisable to search Chamilo's Github repository (html_filter) and check if there are commits with the same topic

https://github.com/chamilo/chamilo-lms/issues/4916 - Course categories creation breaks

Check here:

https://github.com/chamilo/chamilo-lms/pull/4927/commits/48f192df355262034ef186870b1d53a47e5dfdc5

It was resolved. You can apply the patch to your installation by modifying the line in the main/inc/global.inc.php file

andre0ani commented 8 months ago

Hi @jgnosolored I'm sorry I didn't look for it and thank you very much for the quick reply, it's all good.