Skip to content

Adding Survey to Learning Path #6097

Answered by chatonito
benjamj-ctrl asked this question in General
Discussion options

You must be logged in to vote

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.…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@benjamj-ctrl
Comment options

@Clone784
Comment options

Answer selected by benjamj-ctrl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants