QUIZ Import

Gaven Ferguson
Forums
I keep getting an error when trying to import an excel file for a quiz. it works on some but not others. It says I cannot do it.
Profile picture for user James Aparicio
James Aparicio

Hi Gaven,

Hi Gaven,

That is because there is something wrong with your excel file.

Inside /profiles/opigno_lms/modules/opigno/opigno_quiz_import_app/tests/fixture you have an example on how the file should be formatted.

Review your file, im sure there is something wrong with it.

 

Best regards

Gaven Ferguson

Quiz upload

I have tried everything but it just wont upload. I have even copied and pasted the content into the quiz field and still doe snot work.
ls4680

Quiz import is importing cached xls file.

I have been trying to import a xls file to a lesson but every time I try to do the import it appears that is creating questions from an old cached import. If I try to use the flush all caches option I get a white screen and must recover from a backup. I have tried renaming the xls to be imported, restarting apache on the server, deleting all files from TMP on the server, using different browser and even importing from a different system. Every import attempt creates a quiz from with questions that appear to be from a previous import more than 1 year ago. How can I clear everything out so I can do an import?
axel

Hi ls4680

Hi ls4680

That's not normal that clearing cache results in a white screen.

There is an issue on your Opigno installation, you should check the Apache error logs when this white screen occurs so that you can precisely know the issue and fix it.

ls4680

HTTP logs

There are the log entries when I click on clear all caches ==> courses.socalvoa.org_access.log <== [Wed May 22 09:35:36.381326 2019] [php7:error] [pid 16282] [client 23.168.0.37:33730] PHP Fatal error: Declaration of RulesConditionalEmptyUI::form(&$form, &$form_state, $options = Array) must be compatible with RulesContainerPluginUI::form(&$form, &$form_state, $options = Array, $iterator = NULL) in /home/scvoa/domains/courses.socalvoa.org/public_html/profiles/opigno_lms/modules/contrib/rules_conditional/includes/rules_conditional.ui.inc on line 39, referer: http://courses.socalvoa.org/ ==> courses.socalvoa.org_access.log <== 23.168.0.37 - - [22/May/2019:09:35:33 -0700] "GET /admin_menu/flush-cache?token=T-z5I435GNIlYHXLO2tRpqdOVELvFrWWk2D3gG4Ovyg&destination=dashboard HTTP/1.1" 500 - "http://courses.socalvoa.org/" "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:66.0) Gecko/20100101 Firefox/66.0"This is the log entry I get when I try to access the site after the clear all caches==> courses.socalvoa.org_error.log <== [Wed May 22 09:39:10.390041 2019] [php7:notice] [pid 15908] [client 23.168.0.37:35418] PHP Notice: Constant DATE_RFC7231 already defined in /home/scvoa/domains/courses.socalvoa.org/public_html/includes/bootstrap.inc on line 258