Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

Error message in a link #4

Open
wants to merge 57 commits into
base: master
Choose a base branch
from
Open

Error message in a link #4

wants to merge 57 commits into from

Conversation

manolomt
Copy link

Hello Matt... I've installed this block on differents serves (Moodle 1.9) and I allways get the same error when clicking on the link that is on the name of each group: A pop-up window with the error message 'Course module is incorrect'.

The url in the pop-up has this format:
/mod/assignment/submissions.php?id=undefined&userid=undefined&mode=single&offset=0

Is there a quick way to override this link?
Thanks in advance for your time...

I have another problem I have not been able to solve: Strange characters are displayed when there is a tilde (aacute accent) or ñ (é instead of é, ñ instead of ñ...). The web server, database and all the tables are in UTF-8 ... The other blocks and modules that are installed are displayed correctly.

I tried to use the functions 'utf_decode', 'str_replace' or 'stripslashes', but nothing changes ... What am I doing wrong?
Thank you very much for your time.

… in assignment, forum and journal get_course_unmarked() functions.

CONTRIB-1620 fixed by altering how the module directory path is saved and read so that $CFG->dirroot is not stored.
…e. Some changes to coding style to facilitate this and general readability as well.
… remove hardcoded javascript for the modules broke a lot of things. Javascript for each module is now in a separate file, loaded at the start and the functions are referenced later as needed.
…d in the settings e.g. swapping '1' for '$this->mainobject->modulesettings['assignment']->id'
…_parent_node() which may or may not solve the sporadic issue with some instances of IE.
…mpt showed up multiple time.s Now the username only shows up once, with a count after it if there are multiples. Also small code cleanups.
… only performs DB lookups for the courses when needed no longer has hardcoded reference to the module names. Also other small code fixes.
…hat modules can append arguments to the ajax request using an optional javascript function. Also code cleanups.
…hether students are in a course, not an enormous IN() clause, which chould avoid DB limits for very large courses. Also fixed javascript for displaying config options and ending alter pop up functions when the pop up is closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants