Giter VIP home page Giter VIP logo

Comments (9)

reetak18 avatar reetak18 commented on May 31, 2024 1

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.

markstory avatar markstory commented on May 31, 2024

Does that controller exist?

from acl_extras.

HelLViS69 avatar HelLViS69 commented on May 31, 2024

Yeah, the controller exists.. it was implemented following the tutorial on cakephp site

from acl_extras.

markstory avatar markstory commented on May 31, 2024

It looks like the shell can't find it for some reason then.

from acl_extras.

HelLViS69 avatar HelLViS69 commented on May 31, 2024

It worked well from Cake 2.1 to Cake 2.3.. I think something has changed in Cake 2.4

from acl_extras.

HelLViS69 avatar HelLViS69 commented on May 31, 2024

Any clue?

from acl_extras.

markstory avatar markstory commented on May 31, 2024

Not really.

from acl_extras.

HelLViS69 avatar HelLViS69 commented on May 31, 2024

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.

reetak18 avatar reetak18 commented on May 31, 2024

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)

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.