Log message #4218622

# At Username Text
# 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
# Dec 13th 2019, 15:08 damiano hello friends, i need to implement a website with a control panel that must be "protected" from fraudolent logins (i mean login credentials sharing etc)... what system could i implement to increse the security of the panel? the customer sells montly subscsriptions so they must blocks account that share credentials. Is there something IP based to implement? or a more clever solution ?
# Dec 13th 2019, 15:04 ricksaccous 2000 euros? how does that even work?
# Dec 13th 2019, 15:03 ricksaccous 20.000.000 euros?
# Dec 13th 2019, 15:03 ricksaccous i actually don't even know what that translates to
# Dec 13th 2019, 15:02 ricksaccous "You may be fined for up to €20mm or 4% of your worldwide turnover (revenue), whichever is greater." What is 20mm?
# Dec 13th 2019, 15:01 ricksaccous just reading these rules is making me nauseous
# Dec 13th 2019, 15:01 ricksaccous ewwwwww
# Dec 13th 2019, 14:59 alexmax @ricksaccous FYI I found this: https://www.gdpreu.org/faq/
# Dec 13th 2019, 14:55 ricksaccous @scuadra https://www.php.net/manual/en/function.number-format.php go wild
# Dec 13th 2019, 14:54 ricksaccous oh
# Dec 13th 2019, 14:54 scuadra something like feedback
# Dec 13th 2019, 14:54 scuadra it's user mark
# Dec 13th 2019, 14:54 ricksaccous if they are i'd recommend $this->Number->currency();
# Dec 13th 2019, 14:53 ricksaccous @scuadra are those prices?
# Dec 13th 2019, 14:53 ricksaccous just reread and that's pretty normal
# Dec 13th 2019, 14:53 ricksaccous oh wait
# Dec 13th 2019, 14:53 ricksaccous @scuadra that's pretty weird, i don't think i've had that happen to me
# Dec 13th 2019, 14:53 ricksaccous I suppose Facebook has to comply, but they are a big target, would it even be worth pursuing a little guy?
# Dec 13th 2019, 14:52 ricksaccous does GDPR work across the pond? would they really try to file a lawsuit against an American company because one person from the EU signed up and we didn't delete every single record associated with them when they wanted us to?
# Dec 13th 2019, 14:51 challgren I guess its the easiest way to comply :P
# Dec 13th 2019, 14:51 ricksaccous lol
# Dec 13th 2019, 14:50 challgren One company I consult for just restricted it so everyone outside the US is blocked from accessing it
# Dec 13th 2019, 14:50 ricksaccous i actually had to watch a video on GDPR and i don't remember half the stuff since it was last year lol
# Dec 13th 2019, 14:50 slackebot the reason for this behavior? In Cake 2 I don't have this issue.
# Dec 13th 2019, 14:50 scuadra Hello. I don't know if this is really a CakePHP question but I'll ask. In version 3.7 I have a field `overall_mark` which is of type decimal(4,2). In the database I have values like 5.00, 7.00, 7.25, 8.71, etc. However when I echo that field in my template and it is 3.00, 5.00 or so the output is always integer (for example 3 instead of 3.00). When I try `printf('%.2f', $row['overall_mark'])` I get 3.004 in my template. Anyone aware what's
# Dec 13th 2019, 14:49 ricksaccous yeah I think so
# Dec 13th 2019, 14:49 challgren Names have to be encrypted?????
# Dec 13th 2019, 14:48 ricksaccous lol yeah, sometimes it's handy to be able to store people's names and stuff, especially when you have to query by them, but i guess europeans will find workarounds
# Dec 13th 2019, 14:43 challgren As an american GDPR sounds like a giant PITA
# Dec 13th 2019, 14:38 ricksaccous i suppose you'd really have to dissect the actual law and not the intended policies
# Dec 13th 2019, 14:38 ricksaccous just a curious guy