Answer the question
In order to leave comments, you need to log in
How to solve problem with authclient vk for yii2?
I use the extension https://github.com/dektrium/yii2-user/blob/master/... for authorization via vkontakte. I did everything according to the description, but at the end when I click on the VK icon after "access permission" the following error is displayed
Database Exception - yii\db\Exception
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'bastaui2_testanidor.social_account' doesn't exist
The SQL being executed was: SELECT * FROM `social_account` WHERE (`provider`='vkontakte') AND (`client_id`=206932338)
Error Info: Array
(
[0] => 42S02
[1] => 1146
[2 ] => Table 'bastaui2_testanidor.social_account' doesn't exist
It seems that the user_id token should be written to the database like this, help me how to write them down, what should I do next ?? Where to register them in the controller and in models?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question