Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Not a bug
-
Affects Version/s: 1.9.1
-
Fix Version/s: None
-
Component/s: Backup
-
Labels:None
-
Environment:backing up and restoring the course
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
I see this bug with Moodle 1.9 running on PHP5.2.6/ Apache version 1.3.41 (Unix). My database is MySQL version 5.0.51a-community. I have tried this on more than one install of moodle and would be happy to provide the zipped file. Here us what I see with debugging on:
? Creating temporary structures
? Deleting old data
? Creating XML file
o Writing header
o Writing general info
o Writing course data
? Course info
Notice: unserialize() [function.unserialize]: Error at offset 0 of 6 bytes in /home/ajarn/public_html/class/backup/lib.php on line 534
Notice: unserialize() [function.unserialize]: Error at offset 0 of 6 bytes in /home/ajarn/public_html/class/backup/lib.php on line 534
Notice: unserialize() [function.unserialize]: Error at offset 0 of 6 bytes in /home/ajarn/public_html/class/backup/lib.php on line 534
? Blocks
? Sections
________________________________________
<p align="center"><img title="banner" height="75" alt="banner" hspace="0" src="http://www.psuemba.info/class/file.php/4/graphics/banner.jpg" width="550" border="0" /></p>
changed to
<p align="center"><img title="banner" height="75" alt="banner" hspace="0" src="$@FILEPHP@$/graphics/banner.jpg" width="550" border="0" /></p>
________________________________________
? line 2240 of backup/backuplib.php: call to debugging()
? line 448 of backup/backuplib.php: call to backup_encode_absolute_links()
? line 1021 of backup/backuplib.php: call to full_tag()
? line 2850 of backup/backuplib.php: call to backup_course_sections()
? line 60 of backup/backup_execute.html: call to backup_execute()
? line 135 of backup/backup.php: call to include_once()
o Writing users info
o Writing categories and questions
o Writing scales info
o Writing groups info
o Writing groupings info
o Writing groupings-groups info
o Writing events info
o Writing gradebook info
o Writing modules info
? Forums
? Labels
? Resources
________________________________________
? <table cellspacing="0" cellpadding="3" border="0"><tbody> <tr> <td nowrap="true"><a Xonmouseover="function onmouseover(event) { window.status = " Xonclick="function onclick(event) { void do_toggle(" Xonmouseout="function onmouseout(event) { window.status = " href="https://webct.pdx.edu/SCRIPT/actg511dp_W08/scripts/designer/doc_tree.pl?1015885643+START_homepage#"></a> <b><label for="webct1_1086042481"><b>Week 1</b> </label></b><input type="hidden" name="content_title1" /> </td> </tr> <tr> <td nowrap="true"><a Xonmouseover="function onmouseover(event) { window.status = " Xonclick="function onclick(event) { void do_toggle(" Xonmouseout="function onmouseout(event) { window.status = " href="https://webct.pdx.edu/SCRIPT/actg511dp_W08/scripts/designer/doc_tree.pl?1015885643START+_homepage#"></a> <b><label for="webct2_1086042481"><b>Approach to Week 1</b> </label></b><input type="hidden" name="content_title1" /> </td> </tr> <tr> <td nowrap="true"><img class="alignMiddle" height="11" src="https://webct.pdx.edu/web-ct/en/img/shim.gif" width="11" border="0" /> <label for="webct3_1086042481"><a Xonmouseover="function onmouseover(event) { window.status = " Xonclick="function onclick(event) { void top.update_breadcrumb(" Xonmouseout="function onmouseout(event) { window.status = " href="http://www.psuemba.info/class/file.php/4/Week_01/Win08_Approach_to_Week_1.pdf"><font color="#000000">Approach to Week 1- Winter 2008</font></a> <input type="hidden" name="content_title1" /></label> </td> </tr> <tr> <td nowrap="true"><a Xonmouseover="function
?
?
? Much more of the above ........................................................ then
? line 448 of backup/backuplib.php: call to backup_encode_absolute_links()
? line 56 of mod/resource/backuplib.php: call to full_tag()
? line 2164 of backup/backuplib.php: call to resource_backup_one_mod()
? line 3066 of backup/backuplib.php: call to backup_module()
? line 60 of backup/backup_execute.html: call to backup_execute()
? line 135 of backup/backup.php: call to include_once()
o Course format data
? Copying user files
? Copying course files
? Copying site files used in course
? Zipping backup
This problem was solved by using Linux external zip routine.
This problem was solved by using Linux external zip routine.