# |
Oct 14th 2019, 18:13 |
david |
no changes |
# |
Oct 14th 2019, 18:10 |
dereuromark |
I actually do, it is documented as "skeleton task" |
# |
Oct 14th 2019, 18:10 |
david |
thank you, I'll try |
# |
Oct 14th 2019, 18:09 |
ricksaccous |
that's one way of doing it lol |
# |
Oct 14th 2019, 18:09 |
graziel |
if yes then check if there are any changes in skeleton app |
# |
Oct 14th 2019, 18:09 |
ricksaccous |
yeah |
# |
Oct 14th 2019, 18:09 |
graziel |
yup if something breaks i just create new app and check if it works there |
# |
Oct 14th 2019, 18:09 |
david |
clone new cakephp app and copy bin to my app, for example? |
# |
Oct 14th 2019, 18:09 |
ricksaccous |
i have to manually do it (kind of) @dereuromark probably has some plugin for that or something, lol |
# |
Oct 14th 2019, 18:08 |
david |
updates? |
# |
Oct 14th 2019, 18:08 |
david |
oh, I see. How do you manage that updated? |
# |
Oct 14th 2019, 18:08 |
ricksaccous |
and if you haven't updated those chances are you forgot to update other essential things |
# |
Oct 14th 2019, 18:07 |
ricksaccous |
the bin/files |
# |
Oct 14th 2019, 18:07 |
ricksaccous |
i mean |
# |
Oct 14th 2019, 18:07 |
graziel |
it gets updated sometimes and ppl forget/dont know they need to update their files manually |
# |
Oct 14th 2019, 18:07 |
ricksaccous |
yeah if you've updated cake but haven't updated the bin/bake files that could be the problem |
# |
Oct 14th 2019, 18:07 |
graziel |
by app skeleton he ment https://github.com/cakephp/app |
# |
Oct 14th 2019, 18:06 |
david |
does* |
# |
Oct 14th 2019, 18:06 |
david |
the shell do all the work |
# |
Oct 14th 2019, 18:05 |
david |
only the shell |
# |
Oct 14th 2019, 18:05 |
david |
i mean, the plugin has no effective code |
# |
Oct 14th 2019, 18:05 |
david |
the shell takes the files, rename them, and copy them to my app |
# |
Oct 14th 2019, 18:05 |
david |
the plugin is an app skeleton |
# |
Oct 14th 2019, 18:04 |
graziel |
can you post your plugin code somewhere? |
# |
Oct 14th 2019, 18:03 |
david |
yes, @ricksaccous |
# |
Oct 14th 2019, 18:03 |
david |
sorry, CmsSection is the name of the plugin |
# |
Oct 14th 2019, 18:03 |
ricksaccous |
is your application skeleton up to date? |
# |
Oct 14th 2019, 18:03 |
david |
Application.php has $this->addPlugin('CmsSection'); |
# |
Oct 14th 2019, 18:02 |
david |
yes |
# |
Oct 14th 2019, 18:02 |
admad |
You have loaded the plugin in application right? |
# |
Oct 14th 2019, 18:02 |
admad |
Then cake shouldn't have problem finding it and issue is something else. |
# |
Oct 14th 2019, 18:01 |
david |
yes, it is |
# |
Oct 14th 2019, 18:01 |
admad |
Is your plugin listed in vendor/cakephp-plugins.php? |
# |
Oct 14th 2019, 17:59 |
graziel |
and by extension also cake |
# |
Oct 14th 2019, 17:59 |
graziel |
doesnt matter autoload needs to know where to look for classes |
# |
Oct 14th 2019, 17:58 |
david |
I have baked it, but my plugin is not a plugin from composer |
# |
Oct 14th 2019, 17:57 |
graziel |
thats why bake is better it does it for you |
# |
Oct 14th 2019, 17:57 |
graziel |
to autoload section |
# |
Oct 14th 2019, 17:56 |
graziel |
"MyPlugin\\": "./plugins/MyPlugin/src/" |
# |
Oct 14th 2019, 17:56 |
graziel |
also if you didnt change composer.json you need to add |
# |
Oct 14th 2019, 17:56 |
david |
no changes... after dump-autoload |