# |
Dec 13th 2019, 16:27 |
damiano |
oh i am talking about 4.x and there is still discussions on 2.4 :) i think i was going to fast |
# |
Dec 13th 2019, 16:27 |
ricksaccous |
or whatever latest 2.x is |
# |
Dec 13th 2019, 16:26 |
ricksaccous |
because you read the migration notes for each version/etc |
# |
Dec 13th 2019, 16:26 |
ricksaccous |
or are you migrating in small version jumps |
# |
Dec 13th 2019, 16:26 |
ricksaccous |
why not just make the jump to 2.8 |
# |
Dec 13th 2019, 16:24 |
sean.kelly |
Curiously, the problem seems to be in 2.4.10 itself. If I deploy a raw (sorry, wrong terminology for this group—an "unmodified") Cake app, I gt the same problem. Going to 2.4.9 is fine, though. |
# |
Dec 13th 2019, 16:24 |
sean.kelly |
@ricksaccous … tried that earlier—big mistake! Going piecemeal resulted in a lot more sanity. Thanks though! ;) |
# |
Dec 13th 2019, 16:20 |
damiano |
thank you! |
# |
Dec 13th 2019, 16:20 |
damiano |
yeah ok |
# |
Dec 13th 2019, 16:20 |
storkovo |
you will not have to “start it again”, don’t worry :) Right now, you want something you know, is pretty well documented, does have support, and is released as stable version - to get your app out of the door first. |
# |
Dec 13th 2019, 16:18 |
damiano |
@storkovo yes you are right i think, i just asked because it is a new project and i hope it will be online for a long time, so starting again in 3 months it is a waste of time ...but, ok, i will go with 3.8 |
# |
Dec 13th 2019, 16:16 |
storkovo |
yes - and I insist that you do not want to mess with these new approaches (unknown to you ATM) while they are unstable |
# |
Dec 13th 2019, 16:15 |
damiano |
now there are plugins, policies etc.. |
# |
Dec 13th 2019, 16:15 |
damiano |
@storkovo ok but for example i read that for authentication / authorization everything is changed |
# |
Dec 13th 2019, 16:13 |
storkovo |
honestly, in measures of 2months projects, I think migration 3=>4 will be piece of cake - build your app with 3.x without usage of deprecated things, and you will be good with smooth transition to 4.x later |
# |
Dec 13th 2019, 16:13 |
damiano |
should i rewrite everything... ? |
# |
Dec 13th 2019, 16:12 |
damiano |
no? |
# |
Dec 13th 2019, 16:12 |
damiano |
i read it is not backward compatible, so it sounds dangerous :) |
# |
Dec 13th 2019, 16:11 |
damiano |
i know, but i am saying that i would avoid rewrite everything from zero if it iwll be released in ex. 3 months |
# |
Dec 13th 2019, 16:11 |
damiano |
break |
# |
Dec 13th 2019, 16:11 |
storkovo |
release = when it is done |
# |
Dec 13th 2019, 16:11 |
damiano |
does it brek everything? |
# |
Dec 13th 2019, 16:11 |
damiano |
@storkovo hmm and what about it will be released? |
# |
Dec 13th 2019, 16:10 |
damiano |
i do not use other plugin, just the "base setup" |
# |
Dec 13th 2019, 16:10 |
storkovo |
then 4.x it is bad idea |
# |
Dec 13th 2019, 16:10 |
damiano |
i know nothing about humidity of Madagscar :) but i can say that the project should be live in about 2 months |
# |
Dec 13th 2019, 16:09 |
storkovo |
depends (on project deadline, opensource plugins you want to use, seniority of developers, humidity above Madagascar etc.) |
# |
Dec 13th 2019, 16:09 |
damiano |
the last RC has been released so i think the 4.x will be available early |
# |
Dec 13th 2019, 16:08 |
damiano |
no? |
# |
Dec 13th 2019, 16:08 |
damiano |
so it is pointless starting with 3.8 ? |
# |
Dec 13th 2019, 16:08 |
damiano |
i read that 4.x is not backward compatible with 3.x |
# |
Dec 13th 2019, 16:05 |
damiano |
Guys, make any sense start new project with cake 4? is it too early? |
# |
Dec 13th 2019, 15:49 |
ricksaccous |
anyway sorry for not being helpful, good luck |
# |
Dec 13th 2019, 15:48 |
ricksaccous |
unless you've been working on it since a while back then i understand heh |
# |
Dec 13th 2019, 15:47 |
ricksaccous |
@sean.kelly should have just jumped to 3 man |
# |
Dec 13th 2019, 15:26 |
ivo |
Nvm, I found it, seems like I need to use the -s option to specify a path. Weird how this is not changeable in the datasource config where the docs reference me to. |
# |
Dec 13th 2019, 15:17 |
slackebot |
$this->call('Plugin1.AssetsSeed'); $this->call('Plugin1.IconsSeed'); $this->call('Plugin1.ThirdSeed'); } }``` |
# |
Dec 13th 2019, 15:17 |
ivo |
Hi guys, I've recently started creating migrations in my project which uses multiple databases. I'm trying to run a migration for a cake Plugin using the Cakephp Migrations feature (https://book.cakephp.org/migrations/2/en/index.html). I'm trying to use the feature 'calling a seeder from another seeder', which makes use of the call() method. This is my DatabaseSeed ```class DatabaseSeed extends AbstractSeed { public function run() { |
# |
Dec 13th 2019, 15:10 |
slackebot |
`FileLog`, then I get another "Could not load class" but this time for the caching engine. I can patch that, but then there's _another_ one after that. Anyone recall what might've changed from 2.3→2.4 that makes classes suddenly not found? |
# |
Dec 13th 2019, 15:10 |
slackebot |
CORE/Cake/Log/LogEngineCollection.php line 43 → LogEngineCollection::_getLogger(string) CORE/Cake/Log/CakeLog.php line 199 → LogEngineCollection->load(string, array) APP/Config/bootstrap.php line 102 → CakeLog::config(string, array) CORE/Cake/Core/Configure.php line 94 → include(string) CORE/Cake/bootstrap.php line 171 → Configure::bootstrap(boolean) APP/webroot/index.php line 90 → include(string)``` If I go back to |
# |
Dec 13th 2019, 15:10 |
sean.kelly |
Hi folks, I've been upgrading an ancient CakePHP 1.1 application; I just went from 2.3 to 2.4 and I'm stymied by a change to what I think is related to class discovery. CakePHP 2.4 says to use `Cache::config('default', array('engine' => 'File'));` instead of `FileLog` as the `Log` is supposed to be implicit. Except that gives me a stack trace during setup: ```Could not load class File Error: An Internal Error Has Occurred. Stack Trace |