Log message #4141381

# At Username Text
# May 16th 2018, 14:00 neon1024 I’d just like to manage some of the tougher cases in PHP to avoid false positives, such as missing news slugs, redirecting back to the index
# May 16th 2018, 14:00 neon1024 @admad Yeah, that’s what I’ve been told to do by our SEO guy. I think I will make some behind the scenes changes to return some different codes. I am using a 301 for some of the more general ones, as we’ve deployed a new site so there are some legitimate redirects. However some stuff which is missing will probably benefit from a 405 or 410
# May 16th 2018, 13:58 admad @neon1024 i don't think redirect for 404 are good for SEO. Of course not a concern if its an "internal" app
# May 16th 2018, 13:33 neon1024 Is it viable to manage 404 redirects in my own application? Do I need to implement my own Exception Handler?
# May 16th 2018, 13:04 neon1024 unclezoot, Sorry I missed you. I went to lunch and get some tyres fitted to the car. I store the front-end timezone separately in a Configure setting
# May 16th 2018, 13:00 Diego_ yes its auth acl error
# May 16th 2018, 12:53 Guest95046 AclNode::node() - Couldn't find Aro node identified by "Array\n(\n [Aro0.model] => User\n [Aro0.foreign_key] => \n)\n
# May 16th 2018, 12:53 Guest95046 @Diego: SO the error which I am getting is related to authentication?
# May 16th 2018, 12:46 Guest95046 the cake php version is 2.10 so will it work for version 2.10
# May 16th 2018, 12:45 Diego_ you need send and verify the token for every request
# May 16th 2018, 12:44 Guest95046 AclNode::node() - Couldn't find Aro node identified by "Array\n(\n [Aro0.model] => User\n [Aro0.foreign_key] => \n)\n so this error is something related to authentication?
# May 16th 2018, 12:44 Guest95046 the issue is while I am trying to save data
# May 16th 2018, 12:43 Diego_ https://github.com/ADmad/cakephp-jwt-auth
# May 16th 2018, 12:43 Guest95046 and I am getting data using api
# May 16th 2018, 12:43 Guest95046 if I pull data from cake php it is working fine
# May 16th 2018, 12:43 Diego_ there are a plugin
# May 16th 2018, 12:43 Guest95046 I am using basic autnetication for it
# May 16th 2018, 12:43 Diego_ use a token based auth
# May 16th 2018, 12:42 Guest95046 I am getting an error while saving the data: { "code": 500, "name": "AclNode::node() - Couldn't find Aro node identified by "Array\n(\n [Aro0.model] => User\n [Aro0.foreign_key] => \n)\n"", "message": "AclNode::node() - Couldn't find Aro node identified by "Array\n(\n [Aro0.model] => User\n [Aro0.foreign_key] => \n)\n"", "url": "\/api\/risks.json" }
# May 16th 2018, 12:42 Guest95046 I have created a separate controller for it but how do I authenticate
# May 16th 2018, 12:42 Diego_ I think it's better create a separated api controller with a specific namespace / AppController
# May 16th 2018, 12:37 Guest95046 Hi everyone. If I have $this->Auth->allow() in beforeFilter function of a controller, will it bypass authentication if I try to add data using api calls
# May 16th 2018, 12:29 rudy1976s I have a warning: Notice (8): Undefined property: Acm3Core\View\Cell\PostsCell::$viewClass [CORE/src/View/Cell.php, line 307] . I have never had that before
# May 16th 2018, 12:29 rudy1976s Good afternoon!
# May 16th 2018, 11:32 nitishkumardiwakar I am trying to inner join two tables by following this reference https://book.cakephp.org/3.0/en/orm/associations.html getting Trying to get property 'name' of non-object
# May 16th 2018, 11:10 unclezoot neon1024, are you around?
# May 16th 2018, 10:39 unclezoot neon, when working with dates where do you store your timezone/locale for display within cake? we have the actual app as UTC within bootstrap.php, and I can see someone here has configured the TimeHelper within AppView to use Europe/London. Does it make sense to sniff it from there? if it helps, im just trying to remove the locale from this: $mydata->start->i18nFormat('dd/MM/yyyy HH:mm:ss', 'Europe/London')
# May 16th 2018, 09:54 david now, I have a question... When using i18n behavior, I can access to the translations If I am browsing the main language site. But... could I access the main language if I am browsing a translated site version?
# May 16th 2018, 09:46 saeideng https://github.com/cakephp/cakephp/releases/tag/3.6.3
# May 16th 2018, 09:46 saeideng `Fixed missing attribute emulation for ServerRequest::$here`
# May 16th 2018, 09:45 saeideng yeah , a bit change was in 3.6.3 about `http`
# May 16th 2018, 09:44 david thank you, guys
# May 16th 2018, 09:44 david File uploaded https://cakesf.slack.com/files/UAPU3DV3J/FARHH470W/captura.png / https://slack-files.com/T053DPNCM-FARHH470W-4ef3741ad7
# May 16th 2018, 09:43 saeideng thanks to confirm the 3.6.3
# May 16th 2018, 09:42 david @saeideng that's it...
# May 16th 2018, 09:42 david and it works
# May 16th 2018, 09:42 david forget this... I have just updated via composer update to 3.6.3
# May 16th 2018, 09:42 saeideng cake 3.6.2 or 3.6.3?
# May 16th 2018, 09:40 saeideng i mean was `debug($this->request->getUri()->getPath())`
# May 16th 2018, 09:39 neon1024 @david Just had a thought. You might want to check your middleware, just in case the request is being modified somewhere
# May 16th 2018, 09:39 david result is null