Adding Survey to Learning Path #6097
Replies: 1 comment
-
Google Translate The following is missing from your app/configuration.php file marked with arrows: In a SQL query add: --> ALTER TABLE c_survey_answer ADD COLUMN c_lp_item_id INT(11) DEFAULT 0; then go edit the file: ---> // Edit src/Chamilo/CourseBundle/Entity/CSurveyAnswer.php and place an "@" on the line that says: It should look like this: @Orm\Column(name="c_lp_item_id" Do the same with the file -->ALTER TABLE c_survey_invitation ADD COLUMN c_lp_item_id int(11) DEFAULT 0; // Edit src/Chamilo/CourseBundle/Entity/CSurveyInvitation.php and add a '@' character in front of 'ORM\Column(name="c_lp_item_id"once you make these changes in your app/configuration.php file, the error shown will disappear. Explanation: I hope I have helped,
|
Beta Was this translation helpful? Give feedback.
-
I updated the config to enable me to add a Survey to the learning path as I would like a student to completed the survey to update.
The config is updated as per (image below) and I have alerted the tables as per instructions.
below I manage to add the survey to the learning path

When i preview the survey i get the following Error:

Any help in this matter will be highly appreciated.
I am running Chamilo 1.11.28 on XAMPP with PHP 7.4
Beta Was this translation helpful? Give feedback.
All reactions