Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 2.0
-
Fix Version/s: None
-
Environment:Linux Centos 4, MySQL, PHP 5.2.10, Moodle 2.0 Build: 20101214
-
Database:MySQL
-
Difficulty:Moderate
-
Affected Branches:MOODLE_20_STABLE
Description
I was trying to add a new scorm activity, using the same file with a different name (current.zip and current_new.zip, for example), from a repository I have, but moodle doesn't allow me deploy the package (see attached screenshot)
I checked the "files" table and both files have the same contenthash, what I suspect may be the problem.
This issue was also reported here http://moodle.org/mod/forum/discuss.php?d=164323 but with a different approach (backup)
I'm experiencing the same problem upgrading a 1.9.10+ (Build: 20110112) site to version 2.0.3+ (Build: 20110511).
I traced it down to a file called D:\MoodleData\filedir\91\b7\91b75477f04e8186413828618bd9e09e2c2203ca which is a 81,068 KB file! I don't know what it is!
My PHP PHPErrors.log file has this info:
[16-May-2011 08:56:22] Default exception handler: Incorrect pool file content 91b75477f04e8186413828618bd9e09e2c2203ca. Debug:
I don't have any scorm content in any of my courses.
These related 'Using Moodle' forum discussions don't have any workable solutions: http://moodle.org/mod/forum/discuss.php?d=172909
http://moodle.org/mod/forum/discuss.php?d=163074
- line 1062 of \lib\filestorage\file_storage.php: file_pool_content_exception thrown
- line 810 of \lib\filestorage\file_storage.php: call to file_storage->add_file_to_pool()
- line 337 of \lib\db\upgradelib.php: call to file_storage->create_file_from_pathname()
- line 360 of \lib\db\upgradelib.php: call to upgrade_migrate_files_course()
- line 98 of \lib\db\upgradelib.php: call to upgrade_migrate_files_course()
- line 593 of \lib\db\upgrade.php: call to upgrade_migrate_files_courses()
- line 1382 of \lib\upgradelib.php: call to xmldb_main_upgrade()
- line 273 of \admin\index.php: call to upgrade_core()
I don't have any scorm content in any of my courses. These related 'Using Moodle' forum discussions don't have any workable solutions: http://moodle.org/mod/forum/discuss.php?d=172909 http://moodle.org/mod/forum/discuss.php?d=163074