5 posts / 0 new
Last post
aotu
Offline
Last seen: 3 years 6 months ago
Joined: 07/03/2014
1.19 upgrade - can't edit quizzes

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
Offline
Last seen: 43 min 54 sec ago
Staff
Joined: 09/25/2013
Hi

Hi

Don't you have any Apache log?

 

aotu
Offline
Last seen: 3 years 6 months ago
Joined: 07/03/2014
Hi,

Hi,

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

axel
Offline
Last seen: 43 min 54 sec ago
Staff
Joined: 09/25/2013
And in Drupal log (Reports ->

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
Offline
Last seen: 3 years 6 months ago
Joined: 07/03/2014
Hey Axel,

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