Moodle

Importing questions files to Lessons don't work

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Component/s: Lesson
  • Labels:
  • Environment:
    Moodle 1.9.4+ build 20090422, PHP 5.2.8, MYSQL 5.0.67, WINDOWS 2003 SERVER, IIS WEB SERVER
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

When importing question files previously exported from Question Bank to Lessons in any format like MOODLE XML, trying to import using option "Import questions" that ask for FILE FORMAT and request a FILE UPLOAD option DON'T WORK looking like file not uploaded and a message showing this: "File could not be read, or was empty. Error occurred during processing!".

This results in questions can't be imported from files in Lessons.

      • Updated 28-04-2009 ***
        Just discovered what's happening: Looks like not taken TEMP variable enviroment properly and using a ¿default? one where Web Server user don't have write permissions to upload file:

TEMP and TMP variables are pointting to "C:\TEMP" and discovered that it's training to write in "C:\WINDOWS\TEMP" so getting error "Cannot read import file (or file is empty) An error occurred during import processing".

¿Perhaps an error taken environment?

Issue Links

Activity

Hide
Martin Dougiamas added a comment -

Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.

Show
Martin Dougiamas added a comment - Reassigning this to moodle.com for the time being, since Mark Nielsen is not maintaining Lesson any more. Please comment/vote/patch any crucial bugs that affect you for 2.0 to help us prioritise fixes for the upcoming release.
Hide
Charles Fulton added a comment -

This is essentially the same issue as MDL-18952 but will need to be fixed separately.

Show
Charles Fulton added a comment - This is essentially the same issue as MDL-18952 but will need to be fixed separately.
Hide
Sam Hemelryk added a comment -

Thanks Charles, I've triaged this now and assigned to Rosie as she's been fixing our lesson issues recently.
Rosie, I've marked this issue with the patch label so that it gets into our next sprint. Charles has recently fixed an identical issue in the Question import code.

Cheers
Sam

Show
Sam Hemelryk added a comment - Thanks Charles, I've triaged this now and assigned to Rosie as she's been fixing our lesson issues recently. Rosie, I've marked this issue with the patch label so that it gets into our next sprint. Charles has recently fixed an identical issue in the Question import code. Cheers Sam

People

Dates

  • Created:
    Updated: