Joshua
Joshua

Reputation: 371

Installing CakeDC Users plugin - Error Plugin Users could not be found

Hi all Iam currently trying to install the CakeDC/users plugin using https://github.com/CakeDC/users and have come across an error.

When I run command './Console/cake schema create users --plugin Users' I get the error message:

Error: Plugin Users could not be found. 0 C:\wamp\www\toppin\lib\cake\console\shell.php(376): CakePlugin::load('Users')

I have tried loading both the users and migrations plugins using CakePlugin::loadAll(); and individually using CakePlugin::load('pluginhere');

Any ideas or help would be much appreciated, thanks.

Upvotes: 1

Views: 2684

Answers (2)

Xenon69
Xenon69

Reputation: 51

I had the same issue, solved :

Just go to your 'app' dir, not 'app\Console' and run 'Console\cake schema create users --plugin Users'

It worked fine, I'm using xampp under windows 7

Upvotes: 5

David Yell
David Yell

Reputation: 11855

You are working in your app folder I assume? If you are calling your plugin Users it should be loaded with CakePlugin::load('Users') and then it should be in your app/Plugin/Users folder.

Upvotes: 0

Related Questions