Could not add a new course module

Could not add a new course module

by Luis Pinheiro -
Number of replies: 2

Dear all,

I have moodle 1.9.10 running on windows 2003/Apache.

All seemed fine. I only installed 2 modules:

* Certificates

* Activity Lock.

I worked, but now, out of sudden, I'm getting the following error:

"Could not add a new course module", even when I try to add something as simple as a label.

Any ideas?

Many thanks,

 

L

Average of ratings: -
In reply to Luis Pinheiro

Re: Could not add a new course module

by abend kleider -

I've got a form where some of the controls can't be created until the form data is loaded (they are generated from the course contents, so the 'course' field has to be passed in before I can create them). I use the 'definition_after_data' function to create these fields and then finish by calling the 'add_action_buttons' function to add the 'submit' and 'cancel' buttons after defining these extra fields (I wanted the buttons at the bottom of my form).

Aライン

schillernde Brautkleider

In reply to abend kleider

Re: Could not add a new course module

by Luis Pinheiro -

Thanks, schillernde.

I'm not sure how that applies to my problem, though...

Cheers,

 

L