Log message #4190276

# At Username Text
# Jun 20th 2019, 08:45 peppejaripappalardo without the matching it is working, but i get a warning for the user, because it is soft deleted
# Jun 20th 2019, 08:44 challgren Try removing the matching part for now and see if your contains are correct.
# Jun 20th 2019, 08:43 peppejaripappalardo @challgren Thanks for your reply, now i dont get the error, but the system do not filter the entity deleted, there is a way to do withTrashed into an entity on a contain?
# Jun 20th 2019, 08:40 challgren try find(‘withTrashed’)
# Jun 20th 2019, 08:38 slackebot1 behaviour is attached to the Table as is required. Someone who can help me?
# Jun 20th 2019, 08:38 peppejaripappalardo Hello, someone who use the Muffin/Trash plugin. I tryng to get the query with trash item, i do this: $query = $this->Volunteers->find()->withTrashed()->all() ->contain(['Users', 'Skills', 'VoluntaryOrganisations'=>['Organisations'=>['Actors']],'Badges']) ->matching('VoluntaryOrganisations.Organisations.Actors')->where($aFilters); But i get this error: Unknown method "withTrashed", but the
# Jun 20th 2019, 08:18 nuzulfikrie hi voycey, thanks, but I didn't use the FormHelper, at first, i *tested other part that used FormHelper* -still - *cake compains on the CSRF token mismatch*
# Jun 20th 2019, 08:16 voycey You need to build the form with the FormHelper and then serialize it to /xx/delete/id - including creating the hidden field with it
# Jun 20th 2019, 08:12 nuzulfikrie support hi all. i have issue with CSRF - cakephp 3.7 , I created html form with hidden input , populate the csrf token inside , form is directed to '/xx/delete/id' but , cake keep on complaining that ,the CSRF token is mismatch . i checked the token value vs the cookie value all match. been at it for hours, what am i missing?
# Jun 20th 2019, 08:12 nuzulfikrie but , cake keep on complaining that ,the CSRF token is mismatch . i checked the token value vs the cookie value all match. been at it for hours, what am i missing?
# Jun 20th 2019, 08:11 nuzulfikrie hi all. i have issue with CSRF - cakephp 3.7 , I created html form with hidden input , populate the csrf token inside , form is directed to '/xx/delete/id'
# Jun 20th 2019, 08:10 scuadra Hello. In Cake 3 which is the preferred migration to named params from Cake 2? I read that Cake 3 still has backwards compatibility to support them but maybe it's better to avoid using them in Cake 3.
# Jun 20th 2019, 07:49 admad it fails even basic email string format matching, doesn't even need MX checking
# Jun 20th 2019, 07:49 admad It's pretty obvious that `dsf564dsf2gmail.com` is an invalid email
# Jun 20th 2019, 07:47 rohit.onus ok I'll check it..
# Jun 20th 2019, 07:45 rohit.onus No, i.e. If i send 5 mail than it will work perfect.. And all other email are also valid
# Jun 20th 2019, 07:44 neon1024 Cake provides an email validation rule, with MX checking
# Jun 20th 2019, 07:44 neon1024 Validate your email addresses before you send
# Jun 20th 2019, 07:44 neon1024 Invalid email
# Jun 20th 2019, 07:42 rohit.onus Hello, I'm sending bulk email using *CakeEmail*, I have 51 user to send mail at a time, But it gives error *Invalid email: dsf564dsf2gmail.com*
# Jun 20th 2019, 01:51 challgren CakePHP 3.7.9 is out https://github.com/cakephp/cakephp/releases/tag/3.7.9
# Jun 19th 2019, 20:58 rightscoreanalysis but no info in the book
# Jun 19th 2019, 20:58 rightscoreanalysis I am guessing I need to do something in the paginator template
# Jun 19th 2019, 20:58 rightscoreanalysis the div is closed and the numbers are rendered outside of the div
# Jun 19th 2019, 20:58 rightscoreanalysis <div class="pagination"> <?= $this->Paginator->options();?> </div>
# Jun 19th 2019, 20:58 rightscoreanalysis for example this doe snot work
# Jun 19th 2019, 20:58 rightscoreanalysis anyone know how I can wrap my paginated number list in a div
# Jun 19th 2019, 19:29 chris-andre @challgren Thanks :slightly_smiling_face: @steinkel I will have I read. Was looking for some article earlier.
# Jun 19th 2019, 19:22 challgren O_o thats new to me!
# Jun 19th 2019, 19:21 steinkel @chris-andre @challgren check https://transloadit.com/ for a piece of the cake they do it for you, allowing you to upload the file directly to the cloud
# Jun 19th 2019, 19:21 challgren The 2 plugins I posted are great
# Jun 19th 2019, 19:20 challgren Yep
# Jun 19th 2019, 19:20 chris-andre I will probably go for local storage for this app, but basicly 1. Upload image 2. Queue processes image 3. Queue update image paths
# Jun 19th 2019, 19:18 challgren https://github.com/FriendsOfCake/cakephp-upload
# Jun 19th 2019, 19:16 challgren And once the image is uploaded I then create another queue job set for 10 minutes in the future to delete the original image off the local server. That way if anyone has cached locations they can still use the image
# Jun 19th 2019, 19:15 challgren User -> Server -> AWS
# Jun 19th 2019, 19:14 challgren So how I have my app configured is the user uploads their image and a job is created. The user sees the image once its uploaded in its original format, then in the background the queue is handling the resize and uploading to AWS. Once thats done it updates the entity with the updated (AWS) location. and then if a user retrieves that entity the new info is provided and the image is updated
# Jun 19th 2019, 19:12 challgren So every 20 seconds or however you config it, the queue process will look for jobs to do.
# Jun 19th 2019, 19:12 challgren https://github.com/dereuromark/cakephp-queue runs as a background process on your host
# Jun 19th 2019, 19:09 chris-andre Right, good point. Thanks. But, I don't know/understand, how can an image be uploaded after user "has left"? I mean, somehow the image must be available for the application.
# Jun 19th 2019, 19:05 challgren Plus for the user with a big picture and slow internet, they aren’t getting timeouts due to processing the image