Error writing to database

Error writing to database

by Blanca Rodríguez -
Number of replies: 6
Whenever I try to upload a new user, I get this warning 

I didn't use to get it, I have already uploaded like 11 users 

Does anyone know what this is about?

Attachment error1.png
Average of ratings: -
In reply to Blanca Rodríguez

Re: Error writing to database

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Switch on Debugging (<< that's a link).  Do it again. Hopefully you should see some additional messages. Let us know what they are.

We're hoping this will give a clue to the underlying problem.

In reply to Howard Miller

Re: Error writing to database

by Blanca Rodríguez -
In reply to Blanca Rodríguez

Re: Error writing to database

by Alex Sandu -

"id_alumno_pts" - missing default value in the SQL table "mdl_user" or value sent on submit

In reply to Blanca Rodríguez

Re: Error writing to database

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

There's no such field as id_alumno_pts in the mdl_user table. Well, there isn't in unmodified Moodle anyway.

So.... how did that field get there on your installation?

Average of ratings: Useful (1)