Comments (4)
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. :)
- http://university.utest.com/writing-quality-bug-reports-and-utest-etiquette/
- http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
from cakephp-user-tools.
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.
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.
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)
- Issues encountered during setup HOT 4
- Validation issue in request_password HOT 1
- Setup Help HOT 5
- when request password: (The email is already in use) HOT 1
- Something wrong in quick start tutorial? HOT 5
- won't update last activity HOT 3
- Does this plugin support multiple user roles? HOT 1
- Register error: Undefined variable: userEntity HOT 7
- actionMap error HOT 13
- Advice on configuration HOT 2
- Weird redirects HOT 6
- Using controller instead of component HOT 5
- debugKit conflict HOT 4
- how to catch events? HOT 1
- getParam used in UserToolComponent.php HOT 3
- User tools behaviour config email HOT 1
- question about prefix routing HOT 2
- Login not possible after register HOT 1
- Not sending emails HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakephp-user-tools.