RESTORE: Info Object Missing from Session

RESTORE: Info Object Missing from Session

by Ted Sorrells -
Number of replies: 7

Frequently, I have problems restoring Courses.  I get this error:

"info object missing from session"

Verbose debugging adds this PHP error:

Notice: Undefined property: object::$info in /var/www/nexlearn/public_html/backup/restore_form.html on line 8

I've tried different combinations of data (with/without User Data, etc.) with the same results. 

Your help is greatly appreciated!

Ted

Average of ratings: -
In reply to Ted Sorrells

Re: RESTORE: Info Object Missing from Session

by Johannes Fuchs -
hello,

i have the same problem with some courses in 1.8 and actual 1.9.2+, have you found a solution?

regards,
hannes
In reply to Johannes Fuchs

Re: RESTORE: Info Object Missing from Session

by Johannes Fuchs -
i now tested different backups and restores...
without saving user roles a backup is restorable!!!

have you also non-standard roles in your course?


Average of ratings: Useful (1)
In reply to Johannes Fuchs

Re: RESTORE: Info Object Missing from Session

by Micky Fokken -

I'm on 1.9, and am experiencing this issue.  I also have custom roles.  I unchecked all boxes during the backup and the restore of that backup still doesn't work.

It gives the error message:  "info object missing from session"

For now, I'll create a course from scratch and copy the HTML and resources.  However, I need to find a way to get 1,500 users from one course to another.  Backup and restore used to be the preferred method for me... 

In reply to Micky Fokken

Re: RESTORE: Info Object Missing from Session

by Micky Fokken -

It seems to work from Firefox.  The error only occurs in IE.  It's late and I'll see if I can test more to verify tomorrow.

In reply to Micky Fokken

Re: RESTORE: Info Object Missing from Session

by Micky Fokken -

Verified again.  Does NOT work in IE 8, but DOES work in Firefox 4.

In reply to Micky Fokken

Re: RESTORE: Info Object Missing from Session

by Micky Fokken -

My bad - - I restored the groups, but the groups are empty, without users.

I've done this before.  I don't know why it's not working now.

Micky

In reply to Micky Fokken

Re: RESTORE: Info Object Missing from Session

by Micky Fokken -

we fixed it, thanks to my tier 3 admin.  he solves all the really hard questions.  smile

 

1. Applied fix outlined in Moodle issue MDL-21640
http://tracker.moodle.org/browse/MDL-21640

that means a function upgrade_backup_db in moodle/backup/lib.php was
modified.
line:
require_once ("$CFG->dirroot/backup/version.php"); // Get code
versions
was changed to:
require ("$CFG->dirroot/backup/version.php"); // Get code versions

2. Increased max_allowed_packet in /etc/my.cnf configuration file
max_allowed_packet = 64M