Bake can not find the model and controller files

1

I am using cakephp version 2.9, to facilitate I decided to leave all applications with a single core. Until then everything ok, but when using the bake to be faster it does not find the files (model, controller) in the folder of the app that I am working on it is always referring to the core folder. How can I resolve this?

My scenario is php 5.6 installed and set in system path, I use xamp to run apache and mysql!

    
asked by anonymous 09.03.2017 / 20:00

1 answer

1

Cake does not use models or controllers to bake. Correct me if I'm mistaken. What you need, after setting up the database.php file, is to mention the table you want to bake.

In the terminal, in the folder of your application, type the command:

bin/cake bake /*sua tabela*/ all

Remembering that you should already have the table created. I hope I have helped.

    
04.04.2017 / 14:10