Log message #4202606

# At Username Text
# Sep 11th 2019, 08:46 neon1024 …or know a tool which could parse one it’s outputs into something more visually appealing
# Sep 11th 2019, 08:45 neon1024 Anyone know if Psalm can generate a nice HTML?
# Sep 11th 2019, 08:44 neon1024 When I set the cookie lifetime using the ini setting here, it reduced the timeout to mere minutes. Removing it has fixed my session timeout
# Sep 11th 2019, 08:44 slackebot <neon1024>
# Sep 11th 2019, 08:44 neon1024 @johnwayne I just added a timeout config for my session
# Sep 11th 2019, 08:38 dereuromark session and especially cookie life time increase
# Sep 11th 2019, 08:36 johnwayne Morning, is there any way to increase time for automatic logout during inactivity time? Now, if the user is `15+` min is inactive, he is automatically logged out and getting info `You are not authorized to access that location`
# Sep 11th 2019, 08:18 neon1024 @val `save()` returns the entity, so you’d get the id from the entity `$entity->get('id')`
# Sep 11th 2019, 08:15 neon1024 Morning all :wave:
# Sep 11th 2019, 07:42 javier.villanueva if($this->ModalName->save($newEntity) { $id = $newEntity->id; }
# Sep 11th 2019, 07:13 valerij.bancer Hi, what is the alternative to `getLastInsertID()` model method in 3.x?
# Sep 11th 2019, 06:43 alexdd55976 morning all
# Sep 11th 2019, 05:17 admad @rchavik thanks for the heads up
# Sep 11th 2019, 05:03 javier.villanueva morning all
# Sep 11th 2019, 02:17 admad You can read the manual :slightly_smiling_face:
# Sep 11th 2019, 00:57 arai.mio.i Hi. I think `saveMany` method will issue insert query _n_ times. When I want to issue `bulk insert` SQL, what I can do is to use query builder?
# Sep 10th 2019, 20:25 hollistergraham123 Thanks so much man
# Sep 10th 2019, 20:25 hollistergraham123 I didn’t know about the preserving key
# Sep 10th 2019, 20:24 hollistergraham123 That makes sense
# Sep 10th 2019, 20:21 ndm @hollistergraham123 Because you have duplicate keys, use `toList()` or `toArray(false)` instead. See also the note at the bottom of https://book.cakephp.org/3.0/en/core-libraries/collections.html#expanding-collections
# Sep 10th 2019, 20:17 chrisshick I am pretty sure ANS.1 XD
# Sep 10th 2019, 20:13 chrisshick i know it returns binary
# Sep 10th 2019, 20:12 chrisshick This isn't much of a cakephp question, but i thought i would ask here: does anyone know what format the openssl_sign function returns? like ANS.1, P1363 etc
# Sep 10th 2019, 20:02 hollistergraham123 Why does that result in [1,6] as the output
# Sep 10th 2019, 20:02 hollistergraham123 public function test() { $test = new Collection([1]); $new = $test->prepend([5,6]); $this->set([ ‘data’ => $new->toArray(), ‘_serialize’ => [‘data’] ]); }
# Sep 10th 2019, 19:31 biffco and why composer is in local?
# Sep 10th 2019, 19:30 biffco i used composer but i didnt set anything
# Sep 10th 2019, 19:30 biffco hi, how the hell uninstall and reinstall cakephp to a correct path?
# Sep 10th 2019, 18:27 ricksaccous subquery magic worked
# Sep 10th 2019, 17:42 ricksaccous https://stackoverflow.com/questions/30241975/how-to-limit-contained-associations-per-record-group
# Sep 10th 2019, 17:20 ricksaccous but not sure if there is a better way
# Sep 10th 2019, 17:20 ricksaccous I'm planning on just putting a fk in the main model that belongsTo the hasMany and using app logic to update it
# Sep 10th 2019, 17:20 ricksaccous anyone have any experience turning a hasMany into a hasOne based on least recent entry fulfilling certain conditions?
# Sep 10th 2019, 17:19 ricksaccous why is the limit ignored in the query?
# Sep 10th 2019, 17:18 ricksaccous on leftJoinWith
# Sep 10th 2019, 16:01 dereuromark :slightly_smiling_face:
# Sep 10th 2019, 16:01 dereuromark Doing the anti composer way sure is not proper.
# Sep 10th 2019, 15:59 neon1024 I guess that’s developers for you!
# Sep 10th 2019, 15:59 neon1024 I bet most people think most other people are ‘doing it wrong’
# Sep 10th 2019, 15:58 neon1024 “Proper” is there such a thing
# Sep 10th 2019, 15:32 challgren Sweet PDU failure!