Log message #4135436

# At Username Text
# Apr 26th 2018, 09:21 dereuromark ask your laywer :slightly_smiling_face: we are developers
# Apr 26th 2018, 09:21 hmic IamTrying, have them login and check a checkbox to show their consent. you tell them what the data is, what it's used or and so on on this page
# Apr 26th 2018, 09:13 IamTrying i do not have to erase 100,000 thousand contacts right?
# Apr 26th 2018, 09:12 IamTrying So, my client is safe to keep them right?
# Apr 26th 2018, 09:12 IamTrying The end user know the personal data information is kept in my client system. end user stored there information to get benefit when his profile match some requirement (buy/sell)
# Apr 26th 2018, 09:11 dereuromark they have the right to know and remove their data. at least if you are a company :slightly_smiling_face:
# Apr 26th 2018, 09:10 dereuromark not if you ask for consent on it fro each contact
# Apr 26th 2018, 09:08 IamTrying GDPR violation? 1) i have my application user using Cake and MySQL 2) In the database he have 100,000 thousand contacts name,telephone,email,national id number,language he speak,skill 3) keeping it is GDPR violation or not?
# Apr 26th 2018, 09:08 mtr__ i m not quite sure where i can catch the missing controller error, it cant be on the app controller since this one would not be called in this case or?
# Apr 26th 2018, 08:59 mtr__ ?
# Apr 26th 2018, 08:56 saeideng welcome @ghasem
# Apr 26th 2018, 08:56 kareylo Closing it
# Apr 26th 2018, 08:55 mtr__ hmm and where do i catch the error in the app controller?
# Apr 26th 2018, 08:55 kareylo Yes, just seen it's a duplicate too
# Apr 26th 2018, 08:53 dereuromark => https://book.cakephp.org/3.0/en/appendices/3-6-migration-guide.html#disabling-deprecation-warnings
# Apr 26th 2018, 08:53 dereuromark Kareylo: The ticket was unncessary
# Apr 26th 2018, 08:50 neon1024 You’ll want to capture this exception, https://github.com/cakephp/cakephp/blob/f0e61d9b665249eef415e9749e8506e82e53fdc7/src/Http/ControllerFactory.php#L98
# Apr 26th 2018, 08:47 neon1024 You can catch the event in a similar way to Crud
# Apr 26th 2018, 08:47 mtr__ in the docu
# Apr 26th 2018, 08:47 mtr__ i tried to adjust the routes but there is nothing written about this
# Apr 26th 2018, 08:47 neon1024 Morning all
# Apr 26th 2018, 08:46 ghasem Hi. thanks @kareylo
# Apr 26th 2018, 08:46 mtr__ does anyone knows how to disable / reroute the missing controller error on cakephp 3.5
# Apr 26th 2018, 08:46 mtr__ hi there
# Apr 26th 2018, 08:42 kareylo Welcome @ghasem
# Apr 26th 2018, 08:25 kareylo @dereuromark FYI ``` public function view($slug = null, $id = null) { $post = $this->Posts->get($id, [ 'contain' => ['Users', 'Categories'] ]); if ($post->slug !== $slug) { return $this->redirect(['_name' => 'posts:view', '_entity' => $post], 302); } $this->set('post', $post); } ```
# Apr 26th 2018, 08:23 kareylo Ok. Need to disable enableBeforeRedirect
# Apr 26th 2018, 08:21 dereuromark that depends on your code probably.
# Apr 26th 2018, 08:20 kareylo Any idea why I can't make a redirect in 3.6 ?
# Apr 26th 2018, 07:34 lutepluto Thanks for your advices @admad @veeetle . I am gonna try it.:grinning:
# Apr 26th 2018, 07:31 veeetle Also, try getting Xdebug set up. If the bin-tools aren’t there, I bet that’s not configured either. Print-statements will only get you so far.
# Apr 26th 2018, 07:29 veeetle @lutepluto, I highly recommend you read through a chunk of the CakePHP docs, so you get some feeling for best practices, it will save your ass
# Apr 26th 2018, 07:29 admad gonna be a steep learning curve for you if you are new to PHP itself
# Apr 26th 2018, 07:28 admad @lutepluto get if from here https://github.com/cakephp/app/tree/master/bin or just use a proper webserver :slightly_smiling_face:
# Apr 26th 2018, 07:22 lutepluto Hi everyone. I take over a project which is built on CakePHP 3.1, but I'm fresh on both PHP and CakePHP. I just want to know how can I start the CakePHP built-in dev server without bin/cake cause there's no bin folder in the repo. Sorry for this silly question...:disappointed_relieved:
# Apr 26th 2018, 06:54 mendoza.anthony.g Thanks man.
# Apr 26th 2018, 06:54 joshualuckers https://www.startutorial.com/articles/view/preview-email-with-debugkit-in-cakephp-3
# Apr 26th 2018, 06:52 mendoza.anthony.g hi, i have ctp file under Template > Email > html. How can I view it in the browser to test the design?
# Apr 26th 2018, 06:24 saeideng `$post->id`
# Apr 26th 2018, 01:14 saltlake if ($this->Posts->save($post)) { id after saving this post
# Apr 26th 2018, 01:14 saltlake How can I get the id of saved record?