Giter Club home page Giter Club logo

Comments (4)

burzum avatar burzum commented on September 26, 2024

Any ideas?

No, because this file /my/home/dir/src/Controller/UsersController.php is not part of my plugin and I don't know your code...

I assume that you're following the tutorial: You need to load and configure the Auth component in your AppController. Check the CakePHP documentation on how to load components and configure the Auth component.

For future issue tickets please read these links and follow their advice. :)

from cakephp-user-tools.

MrSleeps avatar MrSleeps commented on September 26, 2024

I literally have no code other than your plugin at the moment,

I was following the install from here

https://github.com/burzum/cakephp-user-tools/blob/master/docs/Documentation/Installation.md

and then moved on to here

https://github.com/burzum/cakephp-user-tools/blob/master/docs/Tutorials/Quick-Start.md

Where you mention to edit src/Crontroller/UsersController.php ?

from cakephp-user-tools.

burzum avatar burzum commented on September 26, 2024

Well, you need to have a CakePHP application that is using the plugin. You need to add $this->loadComponent('Auth'); to your AppControllers initialize() method and configure it properly. I'll add that note to the documentation in the develop branch of the plugin.

I highly recommend you to do the complete blog tutorial of the official CakePHP documentation or you won't have much fun with any plugin or anything else in the framework. It covers setting up Auth as well.

If you wish to get a complete walkthrough and personal support to explain you the very basics I don't mind doing that, just not for free. Again, this is not a technical issue of the plugin. You can contact me if you're interested in personal training, but I'll charge a hourly rate for that.

from cakephp-user-tools.

burzum avatar burzum commented on September 26, 2024

I've updated the documentation to make this more clear.

Please see https://github.com/burzum/cakephp-user-tools/blob/develop/docs/Tutorials/Quick-Start.md

from cakephp-user-tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.