Comments (9)
My problem is solved. aco table is populated successfully using AclExtras plugin.
The reason behind the problem:-
Code of Controller files for example "DecisionsController.php" if was inside just then AclExtras was not able to find these files. When put code inside , then everything was fine.
from acl_extras.
Does that controller exist?
from acl_extras.
Yeah, the controller exists.. it was implemented following the tutorial on cakephp site
from acl_extras.
It looks like the shell can't find it for some reason then.
from acl_extras.
It worked well from Cake 2.1 to Cake 2.3.. I think something has changed in Cake 2.4
from acl_extras.
Any clue?
from acl_extras.
Not really.
from acl_extras.
aco_update now prints this line:
PHP Notice: Constant DS already defined in /var/www/www.site.org/lib/Cake/Console/ShellDispatcher.php on line 84
then prints the code of the controller it says it doesn't exist and the error above
from acl_extras.
Received following error with Cake 2.10.9 version when I ran ./Console/cake AclExtras.AclExtras aco_sync though I have DecisionsController in app/Controller.
I could not find a solution for this problem in this thread
Error: Class DecisionsController does not exist
#0 /conundrum/gotd_vX/app/Plugin/AclExtras/Lib/AclExtras.php(235): ReflectionClass->__construct('DecisionsContro...')
#1 /conundrum/gotd_vX/app/Plugin/AclExtras/Lib/AclExtras.php(272): AclExtras->_getCallbacks('DecisionsContro...')
#2 /conundrum/gotd_vX/app/Plugin/AclExtras/Lib/AclExtras.php(167): AclExtras->_checkMethods('DecisionsContro...', 'Decisions', Array, NULL)
#3 /conundrum/gotd_vX/app/Plugin/AclExtras/Lib/AclExtras.php(119): AclExtras->_updateControllers(Array, Array)
#4 /conundrum/gotd_vX/app/Plugin/AclExtras/Lib/AclExtras.php(106): AclExtras->aco_update(Array)
#5 /conundrum/gotd_vX/app/Plugin/AclExtras/Console/Command/AclExtrasShell.php(64): AclExtras->aco_sync(Array)
#6 /conundrum/gotd_vX/lib/Cake/Console/Shell.php(459): AclExtrasShell->aco_sync()
#7 /conundrum/gotd_vX/lib/Cake/Console/ShellDispatcher.php(219): Shell->runCommand('aco_sync', Array)
#8 /conundrum/gotd_vX/lib/Cake/Console/ShellDispatcher.php(66): ShellDispatcher->dispatch()
#9 /conundrum/gotd_vX/app/Console/cake.php(47): ShellDispatcher::run(Array)
#10 {main}
from acl_extras.
Related Issues (20)
- Get rootNode from AuthComponent's settings
- Error: Plugins AclExtras could not found HOT 4
- AclExtrass Warning Error: array_diff(): Argument #1 is not an array and more HOT 8
- switch to packagist and composer for using this plugin HOT 2
- Missing Plugin Persistent Issue HOT 2
- Database connection is missing. HOT 1
- Method implementedEvents does not exist HOT 1
- Error: Plugin AclExtras could not be found HOT 1
- acl extras not found issue HOT 1
- Shell class AclExtrasShell could not be found HOT 8
- ACO creation fails when a plugin has a controller with same name as app itself HOT 1
- Call to a member function node() on a non-object HOT 1
- Error: Class InspectionsController does not exist HOT 4
- Wrong methods found in checkMethods HOT 1
- What about 3.0 ? HOT 5
- Lib update to 2.9.0 breaks acl_extras HOT 5
- Broken backwards compatibility HOT 2
- CakeObject HOT 2
- CakeObject and Object HOT 3
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 acl_extras.