A required parameter (backup_unique_code) was missing

A required parameter (backup_unique_code) was missing

by Gerald Grow -
Number of replies: 3
This is the error message I get when I try to back up a course on 1.8.3+

"A required parameter (backup_unique_code) was missing"

I find numerous references to this error message in the forum files, but no definite cure for the problem.

Does anybody have one?


Average of ratings: -
In reply to Gerald Grow

Re: A required parameter (backup_unique_code) was missing

by Andy Tagliani -
Hi Gerald,

yes and no ... smile

Can you do one thing, please switch on the debugging, post the errors here, i have the same problem some days ago and fix one line in a file. The problem is, i´m not at home at the moment and cant remember what file i did modify. After i fix this one line, it works without any problem!

You find the debugging under website-adminsitration->server->debugging set show all, not try to restore a backupfile and copy the error warnings to here.

Bye Andy
In reply to Andy Tagliani

Re: A required parameter (backup_unique_code) was missing

by Alexander Garkun -
I have the same problem.

$CFG->eaccelerator is set to true but the required functions are not available. You need to have either eaccelerator or turckmmcache extensions installed, compiled with the shmem keys option enabled.
line 29 of lib\eaccelerator.class.php: call to debugging()
line 322 of lib\setuplib.php: call to eaccelerator->eaccelerator()
line 339 of lib\setup.php: call to init_eaccelerator()
line 19 of config.php: call to require_once()
line 6 of backup\backup.php: call to require_once()
Error initialising eaccelerator cache
line 340 of lib\setup.php: call to debugging()
line 19 of config.php: call to require_once()
line 6 of backup\backup.php: call to require_once()


and

A required parameter (backup_unique_code) was missing


but other courses can be buckuped, not this one. error is the same
In reply to Gerald Grow

Re: A required parameter (backup_unique_code) was missing

by Clark Moodler -

"A required parameter (backup_unique_code) was missing"

I've been getting this message in the process of restoring as admin - when restoring to an "existing course" - and on the page of courses to choose from to restore to - if I click on a course BEFORE the page is done loading, I get this error.

If I click on a course AFTER the page is done loading, I do not get this error.

FYI!!!