Comments (11)
Have you tried using the 2.0 branch? This should already be done there.
from acl_extras.
I have the same problem. I tried using 2.0 branch
from acl_extras.
Ok. The solution is:
- The folder must be: AclExtras undes plugin direcrory
- In bootstrap.php add:
CakePlugin::load('AclExtras');
thanx to jose_zap
from acl_extras.
I am having the same issue. The plugin is unzipped in app/Plugin/AclExtras and it is being loaded in bootstrap.php and I receive "Error: Class AclExtrasShell could not be loaded." when trying to run.
from acl_extras.
Running the shell is a bit different, You need to use cake AclExtras.AclExtras aco_sync
for example. I'll update the readme.
from acl_extras.
I am having this problem and I have done everything mentioned before in this thread. Could someone please review the information below and help me figure out how to make it work? I downloaded the source from https://github.com/markstory/acl_extras/tree/2.0 and followed the instructions there. NOTE: The extracted download does not include a file named AclExtrasShell.php. I included the directory listing for the package downloaded below.
Command Output
[root@fedora app]# ./Console/cake AclExtras.AclExtras aco_sync
Error: Shell class AclExtrasShell could not be found.
#0 /opt/cake/lib/Cake/Console/ShellDispatcher.php(167): ShellDispatcher->_getShell('AclExtras.AclEx...')
#1 /opt/cake/lib/Cake/Console/ShellDispatcher.php(69): ShellDispatcher->dispatch()
#2 /opt/cake/app/Console/cake.php(41): ShellDispatcher::run(Array)
#3 {main}
Config File [bootstrap.php]:
'File')); CakePlugin::load('AclExtras'); ... # # Package Directory Listing: [root@fedora app]# ls -altr Plugin/AclExtras/* -rw-r--r--. 1 root wheel 969 Sep 27 07:26 Plugin/AclExtras/README.md Plugin/AclExtras/vendors: total 12 drwxr-xr-x. 2 root wheel 4096 Sep 27 07:26 shells drwxr-xr-x. 3 root wheel 4096 Sep 27 07:26 . drwxr-xr-x. 4 root wheel 4096 Nov 2 16:25 .. Plugin/AclExtras/tests: total 16 -rw-r--r--. 1 root wheel 433 Sep 27 07:26 test_controllers.php drwxr-xr-x. 3 root wheel 4096 Sep 27 07:26 cases drwxr-xr-x. 3 root wheel 4096 Sep 27 07:26 . drwxr-xr-x. 4 root wheel 4096 Nov 2 16:25 .. [root@fedora app]#from acl_extras.
I am having this problem and I have done everything mentioned before in this thread. Could someone please review the information below and help me figure out how to make it work? I downloaded the source from https://github.com/markstory/acl_extras/tree/2.0 and followed the instructions there. NOTE: The extracted download does not include a file named AclExtrasShell.php. I included the directory listing for the package downloaded below.
Command Output
[root@fedora app]# ./Console/cake AclExtras.AclExtras aco_sync
Error: Shell class AclExtrasShell could not be found.
#0 /opt/cake/lib/Cake/Console/ShellDispatcher.php(167): ShellDispatcher->_getShell('AclExtras.AclEx...')
#1 /opt/cake/lib/Cake/Console/ShellDispatcher.php(69): ShellDispatcher->dispatch()
#2 /opt/cake/app/Console/cake.php(41): ShellDispatcher::run(Array)
#3 {main}
Config File [bootstrap.php]:
'File')); CakePlugin::load('AclExtras'); ... # # Package Directory Listing: [root@fedora app]# ls -altr Plugin/AclExtras/* -rw-r--r--. 1 root wheel 969 Sep 27 07:26 Plugin/AclExtras/README.md Plugin/AclExtras/vendors: total 12 drwxr-xr-x. 2 root wheel 4096 Sep 27 07:26 shells drwxr-xr-x. 3 root wheel 4096 Sep 27 07:26 . drwxr-xr-x. 4 root wheel 4096 Nov 2 16:25 .. Plugin/AclExtras/tests: total 16 -rw-r--r--. 1 root wheel 433 Sep 27 07:26 test_controllers.php drwxr-xr-x. 3 root wheel 4096 Sep 27 07:26 cases drwxr-xr-x. 3 root wheel 4096 Sep 27 07:26 . drwxr-xr-x. 4 root wheel 4096 Nov 2 16:25 .. [root@fedora app]#from acl_extras.
From your app directory when you run ./Console/cake, what is the path to the "core"? If it is not the path of your current app, then you'll need to change that to your current path. You may need to modify your environment variables to do this.
from acl_extras.
Looks like you have the wrong download. A directory containing vendors, is not the 2.0 version, its the 1.x version. From the code tab, use the branch selector to choose 2.0, before downloading the tar/zip file. Alternatively use git to clone the repo and checkout the correct branch.
from acl_extras.
Thanks. I got the correct downlad now. It was the branch selection.
from acl_extras.
if anyone still has problems using absolute path to php.exe, try to use same method
c:\full\path\project\app\Console>cake -app c:\full\path\project\app\ AclExtras.AclExtras aco_sync
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
- ACL not syncing HOT 9
- 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.