3

Installed Yii 2.0, need to install Yii2.0 User management extension. When I run migrate command it shows the following error. enter image description here

I kept webvimark folder inside vendor folder. If I do anything wrong, please guide me in a right way. Also I had tried by importing the mysql.schema.sql. it didn't work. Sorry If I had asked immature question!!

ABI
  • 1,536
  • 18
  • 38

1 Answers1

0

I guess you have a wrong console app configuration. See whether there is a 'bootstrap' section inside your config/console.php and it has ['gii'] value. You should remove it.

Pavel Bariev
  • 2,546
  • 1
  • 18
  • 21
  • I've commented out the gii inside modules in console.php. Still i'm getting "ReflectionException Class webvimark\modules\UserManagement\components\UserConfig does not exist" – ABI Apr 09 '15 at 07:12
  • Please find "bootstrap" key there. – Pavel Bariev Apr 09 '15 at 10:32
  • you are right I 'just commented out the section that assigns bootstrap to gii module. Now it works thanks – ABI Apr 14 '15 at 12:20