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

Can't initialize database #23

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions