Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9.4
-
Fix Version/s: None
-
Component/s: Block: Sharing cart
-
Labels:None
-
Environment:FreeBSD 7, php 5, mysql, 5. Catalyst GIT version of Moodle 1.9.4+ HEAD
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
Adding any item, whether Resource or Activity, to Sharing cart gives following error:
exception 'SharingCart_Exception' with message 'Zip creation failure' in /usr/local/www/apache22/data/moo-cat/blocks/sharing_cart/shared/SharingCart_Backup.php:224 Stack trace: #0 /usr/local/www/apache22/data/moo-cat/blocks/sharing_cart/shared/SharingCart_Backup.php(211): SharingCart_Backup->createZip() #1 /usr/local/www/apache22/data/moo-cat/blocks/sharing_cart/backup.php(49): SharingCart_Backup->execute() #2 {main}
This is replicatable in my setup. I have the following 3rd party modules installed:
- Attendance
- Book
- OU Wiki
- Feedback
Blocks: - YUI Course Menu (uses AJAX)
Just to point out that ZIP does work fine on my system – course restore functions well.
Also, I looked in sharing_cart/shared/SharingCart_Backup.php and there were some wierd characters embedded in the code:
58 // <E3><82><B3><E3><82><A2><E3><83><A9><E3><82><A4><E3><83><96><E3><83><A9><E3><83>
58 <AA><E3><81><8C>HTML<E3><82><92><E5><87><BA><E5><8A><9B><E3><81><97><E3><81><AA><E3><81><84><E3><82> 58 <88><E3><81><86><E3><81><AB><E3><82><B5><E3><82><A4><E3><83><AC><E3><83><B3><E3><83><88><E3><83><A2> 58 <E3><83><BC><E3><83><89><E3><81><AB><E3><81><99><E3><82><8B>
I'm not sure whether these are deliberate but they occur everywhere throughout files in the shared directory. I checked out the CVS version of sharing_cart and found then same thing. Are these characters meant to be there or is there some sort of virus?