Log message #4189583

# At Username Text
# Jun 14th 2019, 10:14 berarma I'll use the forums.
# Jun 14th 2019, 10:13 berarma Thanks @steinkel, so there's no mailing list I guess. I think there was one some time ago.
# Jun 14th 2019, 10:11 steinkel @berarma https://cakephp.org/pages/get-involved#getHelp
# Jun 14th 2019, 09:57 berarma OMG, I didn't know there was a forum. I wonder why I never found it on google searches. Isn't it getting indexed?
# Jun 14th 2019, 09:42 berarma Hi. Does CakePHP have a mailling list?
# Jun 14th 2019, 09:33 neon1024 Oh I see, didn’t realise, sorry
# Jun 14th 2019, 09:33 acosonic I'm still on 2 :slightly_smiling_face: but I guess I'll find it
# Jun 14th 2019, 09:33 neon1024 What is not working in that for you?
# Jun 14th 2019, 09:33 neon1024 https://book.cakephp.org/3.0/en/core-libraries/email.html#setting-headers
# Jun 14th 2019, 09:32 acosonic I figured that one, now trying to add list-unsubscribe...
# Jun 14th 2019, 09:32 acosonic @neon1024 yeah both worked
# Jun 14th 2019, 09:30 neon1024 @acosonic I think with the Cake Email class you can use `$Email->emailFormat('both')`
# Jun 14th 2019, 09:26 acosonic somehow
# Jun 14th 2019, 09:26 acosonic also... header(array('List-Unsubscribe' => $url)) I need that
# Jun 14th 2019, 09:04 scuadra @admad thank you
# Jun 14th 2019, 08:58 acosonic hm....
# Jun 14th 2019, 08:58 acosonic https://stackoverflow.com/questions/11565136/cakeemail-send-html-and-plain-text-message-manually
# Jun 14th 2019, 08:56 acosonic https://wiki.apache.org/spamassassin/Rules/MIME_HTML_ONLY
# Jun 14th 2019, 08:55 acosonic but it complains about only html email...
# Jun 14th 2019, 08:55 acosonic https://www.mail-tester.com
# Jun 14th 2019, 08:54 acosonic I'm just trying to get good score on
# Jun 14th 2019, 08:54 acosonic hi everyone, how do I send email both html and text... ?
# Jun 14th 2019, 08:42 dereuromark Also if you cant fuck up things on prod :slightly_smiling_face: I wouldnt do it for API things for example. If you forget to set local stuff you might delete/modify via live API
# Jun 14th 2019, 08:42 dereuromark Joe: for non sensible data yes
# Jun 14th 2019, 08:40 admad @scuadra it probably doesnt like empty image name. I suggest you use name for a 1x1px tranparent png instead
# Jun 14th 2019, 08:36 kgb.acct.personal So, I write prod config in `app.php` then I write dev config in `.env`?
# Jun 14th 2019, 08:35 slackebot1 'data-src' => '/cache/images/products/...whatever']). The first argument is empty and the lazyload get the img src from the data-src attribute. My question is whether is possible to avoid that warning?
# Jun 14th 2019, 08:35 scuadra Hello. In Cake 3.7 I get the following notice: Uninitialized string offset: 0 [CORE/src/View/Helper/UrlHelper.php, line 178]. This is the assetUrl() method. However the warning comes from the image() method in this Helper. What I am trying to do is to use jquery lazyload for images because they are too much and the error probably comes because I use the Html image helper like that: $this->Html->image('', ['class' => 'lazyload card-img',
# Jun 14th 2019, 08:34 dereuromark not the other way around, ever.. ^^
# Jun 14th 2019, 08:34 dereuromark like debug mode off - that should be the default, and locally you enable it
# Jun 14th 2019, 08:34 kgb.acct.personal Putting in `app.php` looks promising
# Jun 14th 2019, 08:34 dereuromark that often simplifies things and keeps mistakes in prod away
# Jun 14th 2019, 08:34 dereuromark they "can" default to prod if you wanted to and only overwrite locally and for tests
# Jun 14th 2019, 08:33 dereuromark for me they would also be ENV then
# Jun 14th 2019, 08:32 kgb.acct.personal Application-wide constants, not sure where to put them
# Jun 14th 2019, 08:31 dereuromark what kind of extra configs? They are either persisted (no pwds, keys, etc) or defaulted to nothing and read from ENV where needed.
# Jun 14th 2019, 08:28 admad why not in app.php itself?
# Jun 14th 2019, 08:28 kgb.acct.personal So, where do I put extra configs? bootstrap.php?
# Jun 14th 2019, 08:27 admad bingo!
# Jun 14th 2019, 08:27 kgb.acct.personal Ah. I see, it's just for emulating environment variables
# Jun 14th 2019, 08:24 dereuromark why not using actual ENV to inject here?