Adding Survey to Learning Path #6097
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
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.
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:
ORM\Column(name="c_lp_item_id"
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.…