Restore gives A required parameter (sesskey) was missing

Restore gives A required parameter (sesskey) was missing

by Kelvin Burton -
Number of replies: 8
I am trying to restore a backup of a course from moodlecommons.org (http://moodlecommons.org/course/view.php?id=7).

I created a course and from the course I selected restore and tried to upload the file that contains the course - backup-moodletraining_May21_2008.zip

When it has started the upload I get the message "A required parameter (sesskey) was missing".

I am using a new install of Moodle 2.0 beta 4.

I am new to Moodle but have many years of sysadmin experience.
Average of ratings: -
In reply to Kelvin Burton

Re: Restore gives A required parameter (sesskey) was missing

by Rich Biel -
Hey Kevin,

I am in the same boat as you. I get the same error when I am trying to restore a course from a different server. I am using Moodle 1.9.9 and am trying to find out the version of Moodle I created a learning module for Science 10 for one of my graduate classes.
In reply to Rich Biel

Re: Restore gives A required parameter (sesskey) was missing

by Kelvin Burton -
Rich,

Did you ever get it to work?

In reply to Kelvin Burton

Re: Restore gives A required parameter (sesskey) was missing

by Rich Biel -
Hi Kevin,

I just signed up for Moodle commons. Great site. I just let my graduate class at UBC (Masters in educational Technology) know about it. I plan on posting the link to our Ning site.

Say could you let me know how to download the zipped file for some of those courses? I would love to offer the cyber safety and digital photography course this fall.

I am logged in but can't seem to find the link to download.

Rich
In reply to Rich Biel

Re: Restore gives A required parameter (sesskey) was missing

by Glenys Hanson -
Hi Rich,

Right click on the backup zip file and select "Save link as" in the dropdown menu.

Cheers,
Glenys
Attachment 2010-08-14_10.26.46.png
In reply to Kelvin Burton

Re: Restore gives A required parameter (sesskey) was missing

by Dom Royko -
Picture of Plugin developers

Thread is old, but this is the second time I've stumbled across it.  And since it does not have a solution to the original problem, thought I'd add what worked for me.

 My restore file was on the large side, and the following clue was in my php_error.log file:

[13-May-2013 12:33:34] PHP Warning:  POST Content-Length of 9712515 bytes exceeds the limit of 8388608 bytes in Unknown on line 0

The solution was to increase the post_max_size in my php.ini file (mine is located in /etc/php5/apache2/php.ini).  And restart the apache server.

post_max_size = 12M
;post_max_size = 8M

Obviously the "required parameter" error message is a bit misleading.

Hope that helps.

Average of ratings: Useful (1)
In reply to Dom Royko

Re: Restore gives A required parameter (sesskey) was missing

by Simon Bryan -

Also the upload_max_filesize may need increasing and don't forget to restart Apache

In reply to Simon Bryan

Re: Restore gives A required parameter (sesskey) was missing

by Sumanta Ghosh -

Thanks for this tip.

It works just perfect. both 

post_max_size

and 

upload_max_size needed to be changed.


Thanks,

Sumanta

In reply to Dom Royko

Re: Restore gives A required parameter (sesskey) was missing

by Evan Donovan -

I can confirm that this still resolves the issue in Moodle 3.0.