Log message #4113909

# At Username Text
# Feb 3rd 2018, 04:14 savant sab: should be $this->loadHelper(‘Froala.Froala’);
# Feb 3rd 2018, 04:14 savant @cpierce one interesting thing there is the forward-slash followed by a back-slash
# Feb 3rd 2018, 04:13 savant hi bakers!
# Feb 3rd 2018, 02:43 sab route was correct, instead of public $helpers = array('Froala.Froala'); it was $this->helpers = array('Froala.Froala');
# Feb 3rd 2018, 01:34 sab the plugin route is not workig correctly
# Feb 3rd 2018, 01:34 sab aw..
# Feb 3rd 2018, 01:28 sab I want to use the froala plugin, once activated, it says FroalaHelper not found. The plugin route works at least for css and js includes. Any Ideas what do look up next?
# Feb 3rd 2018, 01:24 meder n/m, this is expected.
# Feb 3rd 2018, 01:24 sab Does someone know the froala plugin?
# Feb 3rd 2018, 01:24 meder wait. it didn't save - it kept the id it autoincremented briefly before the save failed.
# Feb 3rd 2018, 01:22 meder how come my transactional which has a ->save() and returns false from the function ( to imply a rollback ) keeps that saved record?
# Feb 2nd 2018, 23:48 cpierce i make it myself but it won't write to it
# Feb 2nd 2018, 23:48 cpierce i've given the permission of portal\tmp to everyone and it will not create the cache\persistent folder
# Feb 2nd 2018, 23:47 cpierce any help on this would be great
# Feb 2nd 2018, 23:47 cpierce `Warning (512): C:\inetpub\portal\tmp\cache\persistent/\ is not writable [CORE\src\Cache\Engine\FileEngine.php, line 437]`
# Feb 2nd 2018, 21:35 cpierce :slightly_smiling_face:
# Feb 2nd 2018, 21:35 cpierce ->select()
# Feb 2nd 2018, 20:47 madrid9989 just to add 1 extra 'virtual' field to the end
# Feb 2nd 2018, 20:47 madrid9989 I rather not have to include all fields
# Feb 2nd 2018, 20:47 madrid9989 like Articles.*
# Feb 2nd 2018, 20:46 madrid9989 Is it possible to use a wildcard with ->select() ?
# Feb 2nd 2018, 20:24 madrid9989 ok got it, thanks
# Feb 2nd 2018, 20:24 madrid9989 Can anyone advise on why using contain(['Authors'=>['Articles'=>['Comments']]) works but contain(['Authors'=>['Articles'=>['fields'=>['Articles.id', 'Articles.author_id'], 'Comments') does not?
# Feb 2nd 2018, 19:59 madrid9989 ok, I'll try that now
# Feb 2nd 2018, 19:36 saeideng try this ``` 'Authors.Articles.Comments' => function ($q) { return $q-> // your condition } ```
# Feb 2nd 2018, 19:28 saeideng count of `[` = 4 count of `]` = 1
# Feb 2nd 2018, 19:18 madrid9989 Can anyone advise on why using contain(['Authors'=>['Articles'=>['Comments']]) works but contain(['Authors'=>['Articles'=>['fields'=>['Articles.id', 'Articles.author_id'], 'Comments') does not?
# Feb 2nd 2018, 17:56 cpierce and how to troubleshoot and find why
# Feb 2nd 2018, 17:56 cpierce https://www.dropbox.com/s/qxqulu33k323nlo/Screenshot%202018-02-02%2011.56.22.png?dl=0 anyone know why i'd be getting this on windows install with IIS?
# Feb 2nd 2018, 17:06 urowe thanks hmic, I'll try
# Feb 2nd 2018, 16:53 madrid9989 I have an associated model in my 'contain', and the ->find query does return the associated record, however when I add the 'fields'=> with all field names in the associated model, the associated records do not get included in ->find. I need to include all fields as well as 1 extra 'virtual field' like 'myfield'=>'SUM(1+1)' How do I accomplish this?
# Feb 2nd 2018, 16:39 abed Talk. Think. Reflect. SLEEP.
# Feb 2nd 2018, 16:38 abed all you do is paste things like a robot
# Feb 2nd 2018, 16:38 abed Now go to sleep
# Feb 2nd 2018, 16:38 abed ok?
# Feb 2nd 2018, 16:38 abed No one cares about you
# Feb 2nd 2018, 16:38 abed slackebot: shut up
# Feb 2nd 2018, 16:29 hmic make sure the files are owned by the webserver user, not anything else
# Feb 2nd 2018, 16:29 hmic - which is a bad setup to start with
# Feb 2nd 2018, 16:29 hmic so 777 needed likely
# Feb 2nd 2018, 16:28 hmic urowe: webserver running different user than your shell user is