Skip to content
This repository has been archived by the owner on Nov 7, 2020. It is now read-only.

Can't initialize database #23

Open
ghost opened this issue Oct 11, 2013 · 0 comments
Open

Can't initialize database #23

ghost opened this issue Oct 11, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 11, 2013

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants