Hi,
Maybe I've stared myself blind on this, but I just can't seem to get it to work. I'm fairly new to CakePHP.
I've put the plugin in the right directory; "app/Plugin/ApiGenerator", with sub-dirs Config, Console, Controller etc.
Now, when trying to run "Console\cake ApiGenerator.ApiIndex initdb" from my app directory, the only thing that happens is that it lists the html- and php-code from a view-file in my project. Nothing else.
When I run just "cake" from my app/Console directory, it list the available shells. ApiIndex is not one of them.
I've put this in bootstrap.php:
"CakePlugin::load('ApiGenerator');"
Any help would be appreciated.
Edit: Figured it out. As always with Linux :p , it was the file permissions. This was a CIFS-mount with wrong permissions in /etc/fstab.
Created by Morten Flydahl, 16th Jan 2013. (originally Lighthouse ticket #109):
Hi, Maybe I've stared myself blind on this, but I just can't seem to get it to work. I'm fairly new to CakePHP.
I've put the plugin in the right directory; "app/Plugin/ApiGenerator", with sub-dirs Config, Console, Controller etc.
Now, when trying to run "Console\cake ApiGenerator.ApiIndex initdb" from my app directory, the only thing that happens is that it lists the html- and php-code from a view-file in my project. Nothing else.
When I run just "cake" from my app/Console directory, it list the available shells. ApiIndex is not one of them.
I've put this in bootstrap.php: "CakePlugin::load('ApiGenerator');"
Any help would be appreciated.
Edit: Figured it out. As always with Linux :p , it was the file permissions. This was a CIFS-mount with wrong permissions in /etc/fstab.