Log message #4115447

# At Username Text
# Feb 8th 2018, 03:58 newbie_cakie can anyone offer me some assistance?
# Feb 8th 2018, 03:58 newbie_cakie i have a question about setting up cakephp production server on centOS7 (apache)
# Feb 8th 2018, 03:58 newbie_cakie hello?
# Feb 8th 2018, 02:07 amit Hey @jesusfigueroahernande are you there ?
# Feb 8th 2018, 02:02 amit I am uploading images but the problem is the file is upload and when I save the file name in the db I am getting validation error So I want to upload the image only after validation successfully
# Feb 8th 2018, 01:54 jesusfigueroahernande Hola @amit
# Feb 8th 2018, 01:52 amit Hi @jesusfigueroahernande
# Feb 7th 2018, 22:26 amit ok
# Feb 7th 2018, 22:12 maymeow @amit tried already :slightly_smiling_face: thanks
# Feb 7th 2018, 22:12 amit Hey @maymeow you ca add the method in ModelTable.php file and it will work.
# Feb 7th 2018, 22:07 maymeow i want they can be possible to call with `$this->Model->myFunction()` in controllers
# Feb 7th 2018, 22:06 maymeow where can i add my onw function to models??? Model.php or ModelTable.php???
# Feb 7th 2018, 22:00 amit Anyone around
# Feb 7th 2018, 21:51 amit So I want to upload the image only after validation successfully
# Feb 7th 2018, 21:51 amit I am uploading images but the problem is the file is upload and when I save the file name in the db I am getting validation error
# Feb 7th 2018, 21:50 amit Hi All
# Feb 7th 2018, 21:42 spencdev Can you gist your controller?
# Feb 7th 2018, 21:33 blackjccl File uploaded https://cakesf.slack.com/files/U5V7HDBHC/F96LKLB8X/create_folder_a_root.php / https://slack-files.com/T053DPNCM-F96LKLB8X-979032f7fe
# Feb 7th 2018, 21:32 blackjccl I was doing well
# Feb 7th 2018, 21:32 blackjccl a query as I do to create a folder in the root
# Feb 7th 2018, 21:31 blackjccl Hello guys
# Feb 7th 2018, 21:07 ank068 A var_dump of $this->Flash in AppController gives bool(false).. Does that help in any way?
# Feb 7th 2018, 20:58 ank068 Do i need to impost the FlashComponent?
# Feb 7th 2018, 20:28 narendravaghela is there any example on that?
# Feb 7th 2018, 20:28 narendravaghela I am facing an issue with https://github.com/FriendsOfCake/cakephp-upload when there is belongsToMany relation beetween models
# Feb 7th 2018, 20:16 alysson-azevedo I mean, the `parent::__construct($request, $response, $eventManager, $viewOptions);` would be called before assigning a new $response, right?
# Feb 7th 2018, 20:15 alysson-azevedo ?
# Feb 7th 2018, 20:15 alysson-azevedo How this piece of code (https://github.com/cakephp/cakephp/blob/master/src/View/SerializedView.php#L49-L53) woud be if it was using `$response = $response->withType('html');`
# Feb 7th 2018, 20:00 ank068 This is actually the main index page of my website. It is in the AppController in the initialize function
# Feb 7th 2018, 19:59 spencdev and if so, what function?
# Feb 7th 2018, 19:59 spencdev @ank068 where are you using loadComponent? The controller?
# Feb 7th 2018, 19:57 ank068 i have loadcomponent for Flash but i am still getting this "Error: Call to a member function success() on boolean"
# Feb 7th 2018, 19:52 mikesmoniker Can anyone tell me when CakeFest tickets usually go on sale?
# Feb 7th 2018, 19:00 spencdev Me neither, I’ve never actually thought it was worth the time haha
# Feb 7th 2018, 19:00 diego182 color*
# Feb 7th 2018, 19:00 diego182 maybe you could change the collor? i know you can change the color but never messed with it
# Feb 7th 2018, 18:59 spencdev But holdling ctrl usually does the trick
# Feb 7th 2018, 18:59 spencdev Yeah, it’s always hard to tell with PhpStorm. I have difficulty telling apart the blue from the purple
# Feb 7th 2018, 18:58 diego182 its a good idea to use a IDE with Intelligent code completion, it helps preventing this kind of errors
# Feb 7th 2018, 18:57 spencdev I’ve found that every time I get that error, I’ve made a typo in one of the function names... Worked for me so far.
# Feb 7th 2018, 18:56 diego182 that happens, sometimes right after ask something i figure out what was wrong lol