"A required parameter (id) was missing"
On the other hand I did succesfully upload small, individual, files.
when is such error showed? When you try to upload the file or when you try to restore the course? Can you be a bit more detailed (the exact page, some screenshot...)? Does it happen for all your courses or only some of them?
I have the same problem. I´ve made backups of courses in 1.4.4 and 1.4.5. When I restore in Moodle 1.4.5, it works OK, but when I try to restore it in Moodle 1.5, it dotn´s work. See below:
2. I have traced the problem to file size. In principle, the limits in PHP and Apache were adequate, but when I increased them, the problem (sort of) went away. I say "sort of" because now I am timing out before uploading is completed. I bet I can avoid this by FTPing.
1.- Dexter (and probably Dawn) one is about uploading big backup files to Moodle. Sending it over FTP can be a good solution.
2.- Sonia problem seems really different (because it happens once have defined your restore configuration and the process is really going to start). Have you tried to re-install all the backup directory to see if something is missing? Or, if the previous doesn't work, could you tell us what settings are you using to restore such course and, if possible, send me privately the backup file to be able to trace your problem in my test servers...
OK, Eloy. I Have sent to you an email with the link to the backup file.
I've restored your course perfectly in my test server (1.5+ daily version). I've restored it both in "es" and "br" languages to see if it could be a language problem... (is br your language?)
Seeing your attachments, it seems that the page before the error shows you some broken information (image attached) in your server and, perhaps, it could be the cause of the error in the next one.
Can you imagine why your HTML code is wrong in such page? Have you done any modification? Can you send that page compressed in a zip file to see what HTML it's producing...
Interesting!!! the files I have zipped for you, generated in the moment of the problem, when restored, don´t show the errors!
Then, I will send you the same pages screenchot in the moment of the problem. See attachment again!
Thanks very much
Is your server Apache?
Try to add in the file htppd.conf , in the item codification, the ISO pattern, that is the default used by Moodle.
It worked with me, and the problem was solved.
I was just getting ready to post this issue as well. My files are small. My 1.4.3 template file restored, no problem, but my other course which contains data, will not. I also received that exact error when restoring to 1.5. I can however, restore it to a 1.4.3 site.
Any help you can give me is appreciated. I hate to have to rebuild all my courses.
OK! I found out what the issue was. If I uploaded the file from my home computer through Moodle, I got the error, if I FTP'd the file into the backup folder and then restored, it worked. Must be some type of glitch in upload? Anyway, disregard.
Can somebody help me please? I am very new to Moodle so go gently please!
I have set up a course and have been uploading files to it using moodle with no problems other than our upload limit was set at 2m. This has now been changed by the siteground team. However I have tried to upload some files this morning and I keep getting this error - "A required parameter (id) was missing"
Can anyone help?
I do not know what this means, how it happened and how I can solve it.
If the backup file is larger than your max upload, I'd suggest you ftp directly to your moodle site. first note the 'id' for the course concerned > when you're situated in your course check the url in your browser > it reads something like http://yourmoodlesite.com/course/view.php?id=2
the 'id' is the course number. access your cpanel & browse for a folder called moodledata or uploaddata (if using fantastico) > find the folder by the 'id' number for your course eg. '2' > there should be a folder called backupdata contained within this folder (if not, you can create it) > upload your backup zip file to this location > return to the admin block in your moodle course & use the restore function.
Thanks for trying to help.
However I am not trying to upload a backup.zip file. I was simply trying to upload a word doc to a course I have set up. It was working fine one day and not working the next. Don't know what happened.
I know how to use Filezilla for FTP but we do not host the moodle site here on our server so I can not access the files as easily as I would like. I do not seem able to upload to Moodle in this was as I don't see the courses when I connect via FTP. How do I know where to put the files?
Still getting the "a required parameter (id) was missing" message when I try to upload anything.
We upgraded to Moodle 1.8 today but that made no difference.
The upload limit can also be manually changed in the php.ini file. The process is explained here.
With regard to knowing where to ftp your files, as mentioned in my previous post > you need to note the course 'id' > this is the number contained at the end of the url string, when located in the course. in terms of the actual file path, this will vary depending where your moodle site is located on the server & more precisely, where the moodledata folder is situated. the course folder will be located inside the moodledata folder.
alternatively, if you have cpanel access to your remote host, you can browse to your site, locate the 'moodledata' or 'uploaddata' folder & upload your file to the course folder.
In addtion, when I try to delete an activity under a topic, I get bounced out of the course with another message "no action was specified."
These instances seem pervasive does anyone know of a work-around?
The problem as far as i have experienced is due to the 'post_max_size' within the php.ini, the default is usually re-configured to 16Mb this seems to be the default size for any type of file that is being uploaded.
There are 2 ways to fix this problem: -
1. change the php.ini to a higher size
2. ftp the zip file to the 'upload courses' and then do the restore
I have literally just done this in the last 5 mins so i know that it works.
Hope this helps.
For example, to set post_max_size to 50 megabytes, the value should be '50M' NOT '50MB'!
If you include the 'B' it all stops working properly and you'll start getting the 'requirement parameter (id) is missing' error, as well as other strange things happening.
Server 2003 running IIS.
I was just covering the obvious base. I think the next server limitation is going to be outside of Moodle.
But also, "Don't forget to restart your webserver, after you alter higher mentioned variables!!"