Best practice forum (Archived)

Cette discussion de forum a été supprimée

 
? ?
Re: dmlwriteexception error
par ? ?, Monday 23 February 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.