Log message #4179745

# At Username Text
# Mar 14th 2019, 12:04 skor ok, so $this->getEventManager()->off($this->Csrf); has no effect in the beforeFilter of the controllerin question. so how can I disable it?
# Mar 14th 2019, 12:03 skor ok, i see here https://book.cakephp.org/3.0/en/controllers/components/csrf.html
# Mar 14th 2019, 12:02 skor ok, how do i disable the component for a specific url? just to try
# Mar 14th 2019, 12:00 admad if disabling middleware still gives error then your app using the Csrf component
# Mar 14th 2019, 12:00 admad the default depends at what point in time you started off from the skeleton project
# Mar 14th 2019, 11:59 skor what comes by default in cake 3.7 the component or the middleware?
# Mar 14th 2019, 11:56 skor Hi All, imposting to a (fresh) empty cake 3.7 controller, and im getting “Error: Missing CSRF token cookie” I tried disabling it in middleware, (i would need to disable it) but im not sure how to do it, does anyone have a link? thanks
# Mar 14th 2019, 11:55 admad hit me
# Mar 14th 2019, 11:50 dereuromark well, maybe not so much about those typos, more about other semantic things maybe
# Mar 14th 2019, 11:49 admad use a spell checker :-)
# Mar 14th 2019, 11:36 dereuromark If someone wants to proofread my article, please PM me. I dont want to hide more typos in it than necessary :P
# Mar 14th 2019, 11:30 dereuromark @challgren I am now finishing a blog post for the Dto plugin, to showcase it a bit more.
# Mar 14th 2019, 11:01 kaliel oh sorry for your time, it was a typo :S
# Mar 14th 2019, 11:01 neon1024 Does the entity you set to the form have the field populated as boolean?
# Mar 14th 2019, 11:00 kaliel sure
# Mar 14th 2019, 11:00 neon1024 @kaliel Is it `TINYINT(1)` in the database?
# Mar 14th 2019, 11:00 neon1024 I’m writing a custom view class and need to implement some pagination, but I’m not sure where to get the pagination data from as usually it’s a param
# Mar 14th 2019, 11:00 kaliel hi everyone, any idea why a new boolean field added with migration plugin is detected as an text input by FormHelper instead of checkbox please ? Even when cache is removed.
# Mar 14th 2019, 10:24 neon1024 @om.axisweb You’d create a controller as normal. There isn’t anything really different in the controller part for Ajax, except perhaps what sort of response you send back in response to the request
# Mar 14th 2019, 10:16 arthurb Thanks @dereuromark the query string works great!
# Mar 14th 2019, 09:49 om.axisweb i have some issue create controller
# Mar 14th 2019, 09:48 om.axisweb how to create a ajax controller in cake
# Mar 14th 2019, 09:38 arthurb @om.axisweb you can start here https://book.cakephp.org/3.0/en/controllers/request-response.html#path-information
# Mar 14th 2019, 09:37 om.axisweb sorry i fount => echo $this->Url->build('/posts', true);
# Mar 14th 2019, 09:36 dereuromark I just upgraded the execution order app from 3.0 to 3.7. Interesting what kind of changed in terms of execution order since then inside this major version (see diff https://github.com/dereuromark/executionorder/commit/cbb4cb1de302182e07d7702659c930d54891ad00 ).
# Mar 14th 2019, 09:35 om.axisweb but am not able to get base url of site
# Mar 14th 2019, 09:34 om.axisweb i am create a ajax get data method
# Mar 14th 2019, 09:34 om.axisweb 3.7
# Mar 14th 2019, 09:33 arthurb @om.axisweb what version of cake?
# Mar 14th 2019, 09:32 asep hi
# Mar 14th 2019, 09:31 om.axisweb anybody do a reply ?
# Mar 14th 2019, 09:30 om.axisweb ctp file in how to get cakephp(site) base url
# Mar 14th 2019, 09:22 challgren Morning neon1024
# Mar 14th 2019, 09:22 arthurb morning
# Mar 14th 2019, 09:21 neon1024 Morning everyone
# Mar 14th 2019, 09:21 arthurb busy rewriting to use query string
# Mar 14th 2019, 09:21 dereuromark one of the reasons I fixed the referer for login to query string in cake3.5 - now all is working nicely with no matter how many tabs you have open.
# Mar 14th 2019, 09:20 dereuromark the URL query string has the advantage of it working even if you had to reboot/restart browser or session was lost and you logged back in
# Mar 14th 2019, 09:20 dereuromark form field I mean
# Mar 14th 2019, 09:19 dereuromark @arthurb or the hidden form to pass along, this will be kept also when validation fails etc.
# Mar 14th 2019, 09:13 arthurb it’s safe to say i’m not using sessions