ZF-Commons / ZfcUser

A generic user registration and authentication module for ZF2. Supports Zend\Db and Doctrine2. (Formerly EdpUser)
BSD 3-Clause "New" or "Revised" License
497 stars 343 forks source link

Creating user doesn't work on zfcUser 3.0 #668

Closed stijnhau closed 7 years ago

stijnhau commented 7 years ago

Statement could not be executed (HY000 - 1364 - Field 'user_id' doesn't have a default value)

riceri commented 7 years ago

Hi, in the ZF3 version of ZfcUser they have change the name of user_id to id. So update your user table and it will work.

stijnhau commented 7 years ago

They haven't. At least i still see refference to user8id in the code like in the databse scheme

riceri commented 7 years ago

Sorry, what version did i upgrade to that forced that change then...

stijnhau commented 7 years ago

the dev-master ;)

riceri commented 7 years ago

Just noticed that it was you who did that commits :)

stijnhau commented 7 years ago

Yes buit thats opther branch and has n,othing to do wioth this. Restarted server and is working now so closed.