# |
Apr 3rd 2019, 08:20 |
dereuromark |
me |
# |
Apr 3rd 2019, 08:19 |
birdy247 |
is anyone using cakebox for development? |
# |
Apr 3rd 2019, 08:19 |
birdy247 |
Mornin |
# |
Apr 3rd 2019, 07:49 |
neon1024 |
Morning all :wave: |
# |
Apr 3rd 2019, 06:48 |
roel |
Hello everyone, Currently I am using the Translate Behavior to save translations for my entities. When ever I save an entity which has no translations (yet), it will save that record with a `NULL` value in my "default" table and it will set the actual value in the translationsTable. I would like the value to be stored in the "default" table and only the translations in the translations table. Thanks in advance. |
# |
Apr 3rd 2019, 06:32 |
conehead |
It is the tool I used: https://github.com/cakephp/upgrade |
# |
Apr 3rd 2019, 06:30 |
dereuromark |
use my upgrade tool. it contains also vital tasks like skeleton. |
# |
Apr 3rd 2019, 06:24 |
conehead |
Well I guess that won't be the only problem ;) |
# |
Apr 3rd 2019, 06:19 |
kgb.acct.personal |
Make sure you have app/Config/bootstrap.php file |
# |
Apr 3rd 2019, 06:17 |
conehead |
Any hints what the proper way is to upgrade CakePHP to the latest version? |
# |
Apr 3rd 2019, 06:17 |
slackebot2 |
commands. To at first it looks like it has run successfully. Then I ran upgrade skeleton. No errors here. I think CakePHP itself has not been updated, so I updated it via composer (to 3.7), but then I get the following error: ```Warning: include(Cake/bootstrap.php): failed to open stream: No such file or directory in /app/webroot/index.php on line 104``` |
# |
Apr 3rd 2019, 06:17 |
conehead |
Good morning everyone! Can anyone tell if the upgrade tool (https://book.cakephp.org/3.0/en/upgrade-tool.html) is still working? Already managed to upgrade successfully to version 2.10.15 and now the next step would be to upgrade to cake 3. Downloaded the tool, installed it and executed it. Mostly got warnings (?) like these ``` *** Upgrade step AppUses *** ErrorHandler is not in the implicit class map ``` And afterwards a lot of move |
# |
Apr 2nd 2019, 22:20 |
liaogz82 |
does anyone tries using dephpugger with cakephp? |
# |
Apr 2nd 2019, 20:08 |
challgren |
https://book.cakephp.org/3.0/en/orm/table-objects.html#beforesave |
# |
Apr 2nd 2019, 20:08 |
challgren |
@maymeow have your behavior attached and then override the beforeSave in your table |
# |
Apr 2nd 2019, 20:08 |
maymeow |
how to use multiple `beforeSave()` some from behavior and one right in model ? |
# |
Apr 2nd 2019, 20:00 |
challgren |
nm |
# |
Apr 2nd 2019, 20:00 |
challgren |
How do I get to the 3.next book? |
# |
Apr 2nd 2019, 19:10 |
ricksaccous |
hehe |
# |
Apr 2nd 2019, 19:10 |
challgren |
woem @ricksaccous |
# |
Apr 2nd 2019, 18:05 |
ricksaccous |
meow |
# |
Apr 2nd 2019, 18:05 |
ricksaccous |
mewo |
# |
Apr 2nd 2019, 15:28 |
flashios09 |
> If you have time to help I’d appreciate it. sure :slightly_smiling_face: |
# |
Apr 2nd 2019, 15:27 |
flashios09 |
i can’t wait for the alpha release :heart_eyes: |
# |
Apr 2nd 2019, 15:26 |
markstory |
If you have time to help I'd appreciate it. |
# |
Apr 2nd 2019, 15:26 |
markstory |
I'm planning on doing some testing with the appskeleton this week to prepare for the upcoming alpha release. |
# |
Apr 2nd 2019, 15:26 |
markstory |
Not sure. I would start poking around in the plugin and see why it isn't starting up |
# |
Apr 2nd 2019, 15:22 |
flashios09 |
i can’t find it and there is no error in `logs/error.log` |
# |
Apr 2nd 2019, 15:21 |
flashios09 |
and what do you think about the `debug_kit.sqlite` ? |
# |
Apr 2nd 2019, 15:19 |
markstory |
or one of the other hooks |
# |
Apr 2nd 2019, 15:19 |
markstory |
inside your application's bootstrap method. |
# |
Apr 2nd 2019, 15:19 |
markstory |
you'd have to move the `Plugin::isLoaded()` logic *after* you load the plugin |
# |
Apr 2nd 2019, 15:18 |
markstory |
yes |
# |
Apr 2nd 2019, 15:16 |
flashios09 |
ah ok, so that’s why `Plugin::isLoaded('DebugKit')` inside *bootstap.php* returns `false` and inside the `Pages/home.php` returns `true` |
# |
Apr 2nd 2019, 15:13 |
valerij.bancer |
@admad thanks |
# |
Apr 2nd 2019, 15:12 |
markstory |
addplugin() was added in 3.5ish? |
# |
Apr 2nd 2019, 15:12 |
markstory |
nope |
# |
Apr 2nd 2019, 15:11 |
admad |
Make your test class use LocatorAwareTrait |
# |
Apr 2nd 2019, 15:10 |
valerij.bancer |
Hi, how to load tables in tests using standalone ORM https://github.com/cakephp/orm? |
# |
Apr 2nd 2019, 15:09 |
flashios09 |
i thought that the `$this->addPlugin()` is for the cake2 |
# |
Apr 2nd 2019, 15:08 |
markstory |
There is no `Plugin::load()` in 4.x, you have to use addPlugin() in your application class. |