Log message #4186878

# At Username Text
# May 20th 2019, 09:26 kgb.acct.personal Thanks neon
# May 20th 2019, 09:26 kgb.acct.personal Ah. So it's what enables `contain` in model.
# May 20th 2019, 09:20 neon1024 `$ExamplesTable->find()->contain(['Tutorials'])`
# May 20th 2019, 09:20 neon1024 If you’re using Cake 3, then `contain()` is an ORM method in the Query class
# May 20th 2019, 09:19 kgb.acct.personal It's built-in on Cake 3, but not on Cake 2? So I may have to define it?
# May 20th 2019, 09:18 neon1024 It’s so helpful, it was included in the core for Cake 3
# May 20th 2019, 09:17 neon1024 @kgb.acct.personal For Cake 2? Yes, it’s very helpful
# May 20th 2019, 09:15 kgb.acct.personal ELI5: What is ContainableBehavior? Is it really necessary?
# May 20th 2019, 07:31 dereuromark of course, in the Backend if you run a 3.x version. otherwise just run it with -v and log the output into a file. > log.txt
# May 20th 2019, 06:36 nils @dereuromark regarding the Queue-plugin, is it possible to check if the worker is running? I added the crontab settings as in the documentations, but the jobs haven't been triggered.
# May 20th 2019, 04:40 admad @maymeow using a middleware or Controller:: afterFilter () callback
# May 19th 2019, 20:55 waan can't open webset in xammp
# May 19th 2019, 20:40 maymeow how can i modify header on each response? (i need add header of each response)
# May 19th 2019, 11:51 ndm I did things manually for quite some time, but with larger navigations, things started to become really annoying, so I took the time to create a plugin for it: https://github.com/icings/menu
# May 19th 2019, 02:21 gonnbe1106 Thanks @waspinator I will try everything. I am gonna report the result here later.
# May 19th 2019, 02:19 waspinator if that works, then there is an issue with your cakephp configuration, or php connector. otherwise its something to do with mysql
# May 19th 2019, 02:18 waspinator try connecting to your mysql using https://www.sequelpro.com/
# May 19th 2019, 02:12 gonnbe1106 I did. I can log in mySQL as root from terminal, and wrote on Datasources, but nothing has chanaged.
# May 19th 2019, 02:08 waspinator okay, so try root as the user
# May 19th 2019, 02:08 slackebot <gonnbe1106>
# May 19th 2019, 02:07 waspinator after clicking on `cake_youtube_db` there should be a `Privileges` tab. make sure your user is listed there
# May 19th 2019, 02:06 gonnbe1106 User name is root and i did not touch password of this, so it might be root. I try to change this password as root. However I think it will be the same..
# May 19th 2019, 02:04 slackebot <gonnbe1106>
# May 19th 2019, 01:59 waspinator can you log into myphpadmin using those credentials? and do you see `cake_youtube_db` listed in the tree?
# May 19th 2019, 01:58 waspinator have you created your database?
# May 19th 2019, 01:58 waspinator hmm, it looks like MAMP might actually use 8889
# May 19th 2019, 01:55 gonnbe1106 yes...
# May 19th 2019, 01:54 waspinator same error?
# May 19th 2019, 01:53 gonnbe1106 I did, but it did not work.....
# May 19th 2019, 01:51 waspinator 3306 is the default mysql port
# May 19th 2019, 01:51 waspinator that's just the UI and separate from your mysql server
# May 19th 2019, 01:50 gonnbe1106 Thanks. I will. By the way MYPHPAdmin's Server is localhost:8889.
# May 19th 2019, 01:46 waspinator try port 3306
# May 19th 2019, 01:35 slackebot <gonnbe1106>
# May 19th 2019, 01:32 gonnbe1106 sorry, I am very new to CakePHP. I tried to connect with MySQL but got this error message. ``` ```
# May 19th 2019, 00:55 waspinator can you retrieve results in an entity? I need to set a virtual field based on data from another table
# May 18th 2019, 19:54 niel45 but if anyone has advise on preventing form label from being inflected, I would really appreciate that :-)
# May 18th 2019, 19:54 niel45 n/m I figured it out.
# May 18th 2019, 19:44 niel45 Using the FormHelper, is there a way to specify that a select option is the 'selected' entry?
# May 18th 2019, 15:45 neon1024 Why is it `$controller->getRequest()` but `$controller->viewBuilder()`
# May 18th 2019, 15:41 neon1024 I quite like the idea of working it out in the View Cell using a private method, but I’m not too sure what you’d set to the template which wouldn’t need lots of conditional checks, or for you to build the whole nav, say as an array, and use `Hash::get` or similar