Best practice forum (Archived)

הדיון בפורום זה הוסר

 
? ?
Re: dmlwriteexception error
על ידי ? ? בתאריך 23/02/2015, 16:33
 

Hi Craig,

The error message is saying there is a 'sameh' field in the mdl_user table that is set to NOT NULL and has no default value set, but is not mentioned in the INSERT query.

But there is no such field in a normal installation of Totara. Are there any local code customisations or third-party modules installed on this instance, and have you checked the definition of the mdl_user table to make sure that field is not present?

Also have you looked into using the Totara Sync tool to import users? If the user data is already stored in an external system it may suit your needs better than the Moodle upload users functionality.