Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9.4
-
Fix Version/s: None
-
Component/s: Lesson
-
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:
- Updated 28-04-2009 ***
-
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
| This issue has been marked as being related by: | ||||
| MDL-18952 | Importing files to Question bank DON'T WORK from "Import from file upload..." and WORKS from "Import from file already in course files..." |
|
|
|
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.