1.19 upgrade - can't edit quizzes

aotu

Hello,

After upgrading to 1.19, I am no longer able to edit quizzes. After completing the edit form (any question type) and hitting save, I receive the page:

Error: "The website encountered an unexpected error. Please try again later."

There are no errors in the PHP log, do you have any idea how to debug this?

Thanks

Gavin

axel

Hi

Don't you have any Apache log?

 

aotu

Hi, Nothing is logged to Apache when the page fails (nothing in PHP logs either)
axel

And in Drupal log (Reports -> Recent log messages) ?

You must have some logs somewhere.

Check in PHP settings that you did not disable log messages.

aotu

Hey Axel, In reports/dblog upon submitting the changed to an 'cloze question', I receive 2 identical errors...below: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '5-804' for key 'PRIMARY': INSERT INTO {quiz_cloze_node_properties} (nid, vid, learning_mode) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 5 [:db_insert_placeholder_1] => 804 [:db_insert_placeholder_2] => 0 ) in ClozeQuestion->saveNodeProperties() (line 31 of /Applications/MAMP/htdocs/profiles/opigno_lms/modules/contrib/cloze/cloze.classes.inc).