Best practice forum (Archived)

This forum discussion has been removed

 
This forum post has been removed
Monday, 23 February 2015, 4:02 PM
The content of this forum post has been removed and can no longer be accessed.
? ?
Re: dmlwriteexception error
by ? ? - Monday, 23 February 2015, 4:33 PM
 

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.