The link in this block is pointing to .../moodle/mod/hotpot/view.php?id=3
It should be .../moodle/mod/hotpot/report.php?hp=3
actually, to me the link looks OK, so I am a little puzzled ...
The link in the "recent activity" block should appear the same as the link to that activity in the main course, and they should both use "id" (which is the id in the "course_module" table) not "hp" (the id in the "hotpot" table)
Would it be possible to send a screen shot, or let me have access to the course so I can see it first hand?
Also, could you say what version of Moodle, and what version of the HotPot module you are using?
The first link is correct: it points to the exercise.
The second link gets added after a student makes the test.
Clicking it gives the 'course module id was incorrect' error.
Moodle 1.5.2 + (2005060222)
$module->version = 2005031418
$module->release = 'v2.0.8'
From what you way, it looks like link that is added after a student takes a test is wrong. I will investigate and report back.
Please note that the same error message is displayed when following a HotPot quiz link in the Moodle Features Demo recent activity block.
The link in the recent activity block is http://moodle.org/mod/hotpot/view.php?id=5 whereas the activity link is http://moodle.org/mod/hotpot/view.php?id=4231
Thanks for investigating and a big THANK YOU for the HotPot module.
I have fixed the relevant script, "lib.php", in the Moodle CVS (I think ). You could wait a couple of days and download it from there, but because I know you'll be wanting to try it out ASAP, I have attached a copy to this message.
Thanks again for reporting this!
Martin D. should add your name to the list of 'Particularly helpful Moodlers'.
Since converting to 1.52 we've seen a
Course Module ID was incorrect when selecting a news item from our index page at www.tapuniversity.com Is the solution the same, changing 'id' to 'hd'? We would appreciate any insight or direction.
|Course Module ID was incorrect|
are you sure the symptoms are the same? The error message appears if you have HotPot v2.0.8, when you click on a link to a recently attempted quiz in the "Recent activity" side menu.
If that is your situation, you should download and install the most recent stable version of the HotPot module:
If you are getting this error somewhere else, please give more details
all the best
Thanks for the followup -- it was faster then my reply to your reply.
I actually get it on the index.php page when clicking on a site news message to see the 'entire message'. This occurs with messages created in Moodle 1.46 and coverted over as well as with messages created in 1.52.
You said the page was "index.php". Do you mean the very top page of your Moodle site?
Could you possible send the URL of your site to me (gordon at kanazawa hyphen gu dot ac dot jp) so that I can see it for myself?
meny thanks in advance
I had a look at your site. The links you are talking about are on the site page, and are links to forums, such as:
- text: Discuss this topic
- url: /mod/forum/discuss.php?d=999
These links are not connected with the HotPot module, so changing "d" to "hp" is unlikely to fix anything
I looked at the forum index on your site, /mod/forum/index.php?id=1, and clicked on the link to the "Site news" forum, /mod/forum/view.php?f=5. The site news index was displayed OK, but I got the "Course module ID was incorrect" error for when clicked on a link for ANY of the discussion threads. I fear the "forum_discussions" table for your site has got messed up somehow.
I am not familiar with how forums work, so I suggest you ask about the error on the forum for the "Forum module",
as the folks over there are more likely to be able to help you
all the best
I'm sorry Ferdi. There's not enough information, so I can't help you.
Try turing on Moodle debugging: Site administration -> Development -> Debugging
That may tell you at least what part of Moodle is generating the error.
After i go to "Administration > Server > Debugging" I Turn on "Display debug messages" and then appears this message :
"Notice: Undefined property: object::$lastname in /.../Peternakan/elearning/theme/aardvark_green/profileblock.php on line 7"