Closed (fixed)
Project:
Quiz
Version:
7.x-4.0-alpha12
Component:
Code - Short/long answer
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Dec 2012 at 13:12 UTC
Updated:
4 Oct 2013 at 12:01 UTC
I have a quiz module I have upgraded from a 6.x to 7.x where the first version I used was alpha9.
Comments
Comment #1
gouky10 commentedHello,
I had the same error, so I verificated the code of update and I noticed that there is a function that is used only for drupal 6 updates, it is in line 145 of /quiz/questions_types/short_answer/short_answer.install:
Besides I noticed that the correct function is in the same file, it is in line 137
In order to know more about the diference I recomend you to view: db_add_field/7 and db_add_field/6. hook_update_N/7 is useful too.
To solve the problem I only comment the first function and run the update.php I hope it could help you.
Regards from Perú.
Comment #2
carneymo commentedTo confirm, #1 worked for me. Commenting out the function seemed to have resolved the issue.
Comment #3
akeemw commentedRemoving that function worked for me as well.
Comment #4
sivaji_ganesh_jojodae commentedWith respect to 7.x branch short_answer_update_6401() is no longer there in short_answer.install