Answer the question
In order to leave comments, you need to log in
How to get rid of registration error?
it was necessary to drop the project and rewrite the database from pgsql to phpmyadmin . After such machinations, everything would be fine only when registering it gives an error, but the user is still added, tried everything .... maybe someone had it?
PS sql and mysql I know like my five.
Answer the question
In order to leave comments, you need to log in
We open the logs in the debug panel and check:
- first of all, requests, if there are any doublings, redirects, etc. Any muck that will create duplication.
- we climb into the logs themselves (probably post registration request) and go through the calls, checking whether everything is logical.
As an option, I can assume that a record is created using the database, and then yii is still trying.
Probably, the rights are assigned twice, so the first time it works fine and everything works, and the second time an error occurs. But it's impossible to say for sure without the registration handler code.
In any case, since the "already exists" error occurs, then the record is there and everything should work, which is observed.
It is said that the error is in rbac . Says the entry already exists. Since you are using PhpManager, the database is, in theory, nothing to do with it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question