Log message #4173960

# At Username Text
# Jan 17th 2019, 11:34 asdfghj thanks!!
# Jan 17th 2019, 11:34 asdfghj ok so the type in the buildschema is not very important for modeless forms
# Jan 17th 2019, 11:33 asdfghj yes sure neon1024
# Jan 17th 2019, 11:32 neon1024 @ashish_onmobile https://book.cakephp.org/3.0/en/installation.html#permissions
# Jan 17th 2019, 11:32 neon1024 @asdfghj It’s probably more to do with the FormHelper being able to detect the type of form input perhaps?
# Jan 17th 2019, 11:31 asdfghj i mean...i must set a type
# Jan 17th 2019, 11:31 asdfghj so i thought it was mandatory no?
# Jan 17th 2019, 11:31 neon1024 Don’t beg. It’s unbecoming
# Jan 17th 2019, 11:31 asdfghj neon1024 i do not care about it but in the modeless doc i see there is that method
# Jan 17th 2019, 11:28 ashish_onmobile Please help
# Jan 17th 2019, 11:28 ashish_onmobile I dont know how to fix.
# Jan 17th 2019, 11:27 ashish_onmobile because tmp folder get access via apache and via shell too
# Jan 17th 2019, 11:27 ashish_onmobile any feedback for this
# Jan 17th 2019, 11:27 ashish_onmobile i tried to use this one
# Jan 17th 2019, 11:26 ashish_onmobile sudo chown -R ubuntu:www-data tmp chmod -R 775 tmp
# Jan 17th 2019, 11:26 neon1024 Use chmod and chown
# Jan 17th 2019, 11:26 neon1024 Your cron is probably running as a different user
# Jan 17th 2019, 11:26 ashish_onmobile how to set the proper permissoin
# Jan 17th 2019, 11:26 neon1024 It’s just file system permissions
# Jan 17th 2019, 11:26 ashish_onmobile when i run cron job in the
# Jan 17th 2019, 11:25 ashish_onmobile some time i see this issue
# Jan 17th 2019, 11:25 ashish_onmobile SplFileInfo::openFile(/var/www/html/tmp/cache/models/myapp_cake_model_default_users): failed to open stream: Permission denied in [/var/www/html/vendor/cakephp/cakephp/src/Cache/Engine/FileEngine.php, line 396]
# Jan 17th 2019, 11:25 neon1024 I’ve never done a modelless form so probably the worst person to talk about it :P
# Jan 17th 2019, 11:25 ashish_onmobile Need some help
# Jan 17th 2019, 11:25 ashish_onmobile Hi Friends
# Jan 17th 2019, 11:25 neon1024 So why do you even care about the schema?
# Jan 17th 2019, 11:24 asdfghj model
# Jan 17th 2019, 11:24 asdfghj neon1024 marshalled? it has no modle
# Jan 17th 2019, 11:21 neon1024 Depends what you’re expecting to happen
# Jan 17th 2019, 11:21 neon1024 Just like using _ids
# Jan 17th 2019, 11:21 neon1024 Well yeah I guess right, because each id would be a new entity when marshalled right?
# Jan 17th 2019, 11:20 asdfghj ok
# Jan 17th 2019, 11:20 asdfghj neon1024 integer for multiple ids?
# Jan 17th 2019, 11:18 joris_ I think we'll just go with app_local then
# Jan 17th 2019, 11:16 neon1024 Yeah, if I remember we had some issues with cli vs web, but it was my colleagues who sorted that out, so I don’t know what thier solution was
# Jan 17th 2019, 11:15 joris_ I did some quick testing while a simple .env file takes 0.24ms to load, loading app_local only takes 0.024ms
# Jan 17th 2019, 11:14 joris_ @neon1024 previously we set the variables in the VirtualHost config but they were not set when using cli which made that cumbersome
# Jan 17th 2019, 11:11 neon1024 Oh schema, yes, I’m probably wrong with array as a type then. You’d probably want integer
# Jan 17th 2019, 11:10 neon1024 There is a section on this in the book, https://book.cakephp.org/3.0/en/core-libraries/form.html
# Jan 17th 2019, 11:05 asdfghj k
# Jan 17th 2019, 10:57 neon1024 Well why does it matter, you’re not marshalling your data for a database anyway