Log message #4186863

# At Username Text
# 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
# May 18th 2019, 15:38 neon1024 If you have prefixes and active state per controller + action combo, the conditions can get a bit big and fill up the templating with lots of conditional logic which shouldn’t really be in a template
# May 18th 2019, 15:37 neon1024 How do people tackle active state in navigation? Do you check in the templating? Check in the View Cell and pass a var to the front-end? Do you use a helper? Or are you using a super clever navigation package?
# May 18th 2019, 12:34 waspinator https://book.cakephp.org/3.0/en/installation.html#permissions
# May 18th 2019, 10:15 snake-venom what is the right secure permission for tmp and logs folder ?
# May 18th 2019, 08:36 asdf_ hi
# May 17th 2019, 20:12 challgren I’m using MariaDB and Queue dev-master so its not just limited to the 2.x branch
# May 17th 2019, 18:07 a.francazi yet i still get the same problem
# May 17th 2019, 17:49 grzes guys pls code-review my latest little package: https://github.com/kminek/url-id :)
# May 17th 2019, 17:47 admad You wouldn't have to use two method calls like this if were using my Glide plugin :slightly_smiling_face:
# May 17th 2019, 17:43 this.impetus @admad I must have been drooling on that part of the screen. : / ty
# May 17th 2019, 17:42 a.francazi @admad ah ok, i'll see to it. thanks
# May 17th 2019, 17:42 admad @this.impetus the escape options go in the 3rd argument, not in the URL array in 2nd argument
# May 17th 2019, 17:42 this.impetus It's producing a link with the image URL as the link text
# May 17th 2019, 17:41 slackebot => 'Controller', 'action' => 'view', $id ]);```
# May 17th 2019, 17:41 this.impetus Afternoon guys. How do you get the HTML helper to allow an image that's also a link? https://api.cakephp.org/3.7/class-Cake.View.Helper.HtmlHelper.html#_link seems to suggest using `escape` and/or `escapeTitle` keys in the link options, but it's not working for me, here's the code: ```$this->Html->link( $this->Thumb->fit($img->path, ['height' => $img->h, 'width' => $img->w]), ['escapeTitle'=> false, 'escape'=> false, 'controller'