Bake doesn't produce index.ctp


#1

Hi!
I use early cake3 and
./cake bake all efm_sztuks
doesn’t produce index.ctp. Beside this, makes everything else.
Any ideas?


#2

What output do you get on the console?


#3

lot of color text, but no red. (I haven’t copy) I read this and it seems that it doesn’t event try to create index.ctp (no tries, no error).
I will copy it next time.


#4

I return to make work with Cake. Here is console output, there is no index.

jarek@trasownik:~/blachy/bin$ ./cake bake all wl2_tests

Welcome to CakePHP v3.1.10 Console

App : src
Path: /var/www/htdocs/laser/blachy/src/
PHP : 5.6.32

Bake All

One moment while associations are detected.

Baking table class for Wl2Tests…

Creating file /var/www/htdocs/laser/blachy/src/Model/Table/Wl2TestsTable.php
Wrote /var/www/htdocs/laser/blachy/src/Model/Table/Wl2TestsTable.php

Baking entity class for Wl2Test…

Creating file /var/www/htdocs/laser/blachy/src/Model/Entity/Wl2Test.php
Wrote /var/www/htdocs/laser/blachy/src/Model/Entity/Wl2Test.php

Baking test fixture for Wl2Tests…

Creating file /var/www/htdocs/laser/blachy/tests/Fixture/Wl2TestsFixture.php
Wrote /var/www/htdocs/laser/blachy/tests/Fixture/Wl2TestsFixture.php
Bake is detecting possible fixtures…

Baking test case for App\Model\Table\Wl2TestsTable …

Creating file /var/www/htdocs/laser/blachy/tests/TestCase/Model/Table/Wl2TestsTableTest.php
Wrote /var/www/htdocs/laser/blachy/tests/TestCase/Model/Table/Wl2TestsTableTest.php

Baking controller class for Wl2Tests…

Creating file /var/www/htdocs/laser/blachy/src/Controller/Wl2TestsController.php
Wrote /var/www/htdocs/laser/blachy/src/Controller/Wl2TestsController.php
Bake is detecting possible fixtures…

Baking test case for App\Controller\Wl2TestsController …

Creating file /var/www/htdocs/laser/blachy/tests/TestCase/Controller/Wl2TestsControllerTest.php
Wrote /var/www/htdocs/laser/blachy/tests/TestCase/Controller/Wl2TestsControllerTest.php

Baking view view template file…

Creating file /var/www/htdocs/laser/blachy/src/Template/Wl2Tests/view.ctp
Wrote /var/www/htdocs/laser/blachy/src/Template/Wl2Tests/view.ctp

Baking add view template file…

Creating file /var/www/htdocs/laser/blachy/src/Template/Wl2Tests/add.ctp
Wrote /var/www/htdocs/laser/blachy/src/Template/Wl2Tests/add.ctp

Baking edit view template file…

Creating file /var/www/htdocs/laser/blachy/src/Template/Wl2Tests/edit.ctp
Wrote /var/www/htdocs/laser/blachy/src/Template/Wl2Tests/edit.ctp
Bake All complete.
jarek@trasownik:~/blachy/bin$


#5

Yes, and you do not have any error message. Go to cakephp’s github page and create an issue.