G
G
good_beginer2018-05-31 13:45:23
Yii
good_beginer, 2018-05-31 13:45:23

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.
5b0fd22828626056188817.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Maxim Timofeev, 2018-05-31
@good_beginer

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.

U
ukoHka, 2018-05-31
@ukoHka

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.

A
Abdula Magomedov, 2018-05-31
@Avarskiy

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 question

Ask a Question

731 491 924 answers to any question