Best practice forum (Archived)

该论坛讨论已删除

 
该论坛帖子已被删除
2015年02月23日 Monday 16:02
该论坛帖子的内容已被删除,无法再访问。
??
Re: dmlwriteexception error
?? 发表于 2015年02月23日 Monday 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.