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.
Re: Restore gives A required parameter (sesskey) was missing
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.
Re: Restore gives A required parameter (sesskey) was missing
Did you ever get it to work?
Re: Restore gives A required parameter (sesskey) was missing
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
Re: Restore gives A required parameter (sesskey) was missing
Right click on the backup zip file and select "Save link as" in the dropdown menu.
Cheers,
Glenys
Re: Restore gives A required parameter (sesskey) was missing
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.
Also the upload_max_filesize may need increasing and don't forget to restart Apache
Re: Restore gives A required parameter (sesskey) was missing
Thanks for this tip.
It works just perfect. both
post_max_size
and
upload_max_size needed to be changed.
Thanks,
Sumanta
Re: Restore gives A required parameter (sesskey) was missing
I can confirm that this still resolves the issue in Moodle 3.0.