Actions
Bug #6593
closed
course sorter: edit course user category: fatal error
Start date:
20/08/2013
Due date:
% Done:
0%
Estimated time:
Complexity:
Normal
Description
when editing a course user category:
Fatal error: Class 'application\weblcms\CourseType' not found in /home/kmoerman/Code/chamilo-dev/application/weblcms/php/lib/course/course_user_category_form.class.php on line 273 Call Stack: 0.1374 673416 1. {main}() /home/kmoerman/Code/chamilo-dev/index.php:0 0.4057 17381824 2. common\libraries\Application::launch(???, ???) /home/kmoerman/Code/chamilo-dev/index.php:87 0.4155 19128360 3. application\weblcms\WeblcmsManagerSorterComponent->run() /home/kmoerman/Code/chamilo-dev/common/libraries/php/shared/application.class.php:777 0.4361 22001320 4. application\weblcms\WeblcmsManagerSorterComponent->edit_course_user_category() /home/kmoerman/Code/chamilo-dev/application/weblcms/php/lib/weblcms_manager/component/sorter.class.php:56 0.4495 23830304 5. application\weblcms\CourseUserCategoryForm->__construct(???, ???, ???, ???, ???) /home/kmoerman/Code/chamilo-dev/application/weblcms/php/lib/weblcms_manager/component/sorter.class.php:354 0.4627 25297104 6. application\weblcms\CourseUserCategoryForm->setDefaults(???) /home/kmoerman/Code/chamilo-dev/application/weblcms/php/lib/course/course_user_category_form.class.php:42 0.4659 25301288 7. application\weblcms\CourseUserCategoryForm->get_course_type_array(???) /home/kmoerman/Code/chamilo-dev/application/weblcms/php/lib/course/course_user_category_form.class.php:252
Files
Updated by Anonymous over 10 years ago
update:
this happens only when the usercategory is first created. When a course is added, the editor works. Even when the category is subsequently emptied, the editor still keeps working.
Updated by Anonymous over 10 years ago
- Status changed from New to Bug resolved
resolved: included class import in preamble
use application\weblcms\course_type\CourseType;
Actions