Log message #4101014

# At Username Text
# Dec 5th 2017, 13:55 stevenscg ahh. yup.
# Dec 5th 2017, 13:55 dereuromark nice.. :P
# Dec 5th 2017, 13:55 dereuromark ahhh https://github.com/cakephp/cakephp/blob/2.x/.travis.yml#L45
# Dec 5th 2017, 13:53 hmic well, that error seems pretty fatal though
# Dec 5th 2017, 13:53 dereuromark so might be worth fixing whatever is needed to get it fully 7.2compat
# Dec 5th 2017, 13:53 dereuromark travis is green for 7.2 though
# Dec 5th 2017, 13:52 stevenscg @hmic The book just says "above 7.1" (https://book.cakephp.org/2.0/en/installation.html).
# Dec 5th 2017, 13:51 hmic it is worth filing a bug wiht php.net though, as they explicitely tell you to do so :D
# Dec 5th 2017, 13:50 hmic stevenscg, 2.10 is not compatible with 7.2 - where did you read that? :P
# Dec 5th 2017, 13:46 stevenscg It looks like the framework test suite passes on 7.2.0. Worth filing a Github issue?
# Dec 5th 2017, 13:45 stevenscg Warning: Warning (2): Narrowing occurred during type inference. Please file a bug report on bugs.php.net in [/var/www/html/vendor/cakephp/cakephp/lib/Cake/Core/App.php, line 567]
# Dec 5th 2017, 13:45 stevenscg Error: Fatal Error (64): Cannot use 'object' as class name as it is reserved in [/var/www/html/vendor/cakephp/cakephp/lib/Cake/Core/Object.php, line 18]
# Dec 5th 2017, 13:45 stevenscg Hi all. I have some apps that are stuck on 2.10.x for a while. I thought I'd try them on PHP 7.2.0. Ran into a Fatal Error and a Warning:
# Dec 5th 2017, 12:27 dereuromark try utf8mb4 then. also make sure you convert properly
# Dec 5th 2017, 12:03 jojomartius no that doesnt help :(
# Dec 5th 2017, 12:02 jojomartius but maybe that happens because the session database doesnt support utf16mb :)
# Dec 5th 2017, 12:01 jojomartius @dereuromark sorry, didnt mean username i meant the displayname of the user, so its not infrastructual :P
# Dec 5th 2017, 11:49 neon1024 I’d much prefer they 404 in Nginx
# Dec 5th 2017, 11:49 neon1024 Does anyone have Nginx config for serving files handy? My /files urls are hitting CakePHP
# Dec 5th 2017, 11:48 alaovich my default redirectUrl it s without slash
# Dec 5th 2017, 11:47 alaovich i have a problem with redirectUrl whene i dont have ?redirect=%2Fbknd%2F params
# Dec 5th 2017, 11:46 alaovich thanks :)
# Dec 5th 2017, 11:45 dereuromark See http://www.dereuromark.de/2012/12/29/cakephp-and-seo/#slash-or-no-slash:-no-slash!
# Dec 5th 2017, 11:44 dereuromark I used to https://github.com/dereuromark/cakephp-trailing-slash for a project requirement, but it was a bad idea, better to do the opposite and make the server remove it via 301 redirect.
# Dec 5th 2017, 11:44 dereuromark alaovich: I wouldnt, exactly the opposite I would do (using nginx/apache)
# Dec 5th 2017, 11:43 alaovich how i can force trailling slash in cakephp?
# Dec 5th 2017, 11:43 dereuromark still shouldnt be :) IMO, that only causes trouble somewhere along the way.
# Dec 5th 2017, 11:43 neon1024 Then your username can be :poop:
# Dec 5th 2017, 11:42 neon1024 utf8mb4 <3
# Dec 5th 2017, 11:42 dereuromark tip: i would never allow any non asci characters for such infrastructural things ;)
# Dec 5th 2017, 11:41 dereuromark you mean utf8mb4?
# Dec 5th 2017, 11:40 jojomartius Dear all... i've a session issue with utf16 characters ;) i reccently updated my database column from latin1 to utf16 (mysql) to support characters like "ﺞ" which is something arabic ;) its no problem to check the users name when im logged in, but if i login with a user that has a name like this, the system fails with "could not create session", all other users without that characters are working fine, any ideas?
# Dec 5th 2017, 10:38 alaovich 'loginAction' => [ 'prefix' => 'bknd', 'controller' => 'Administrators', 'action' => 'login' ],
# Dec 5th 2017, 10:38 alaovich this is my login action
# Dec 5th 2017, 10:35 hmic you can define a route that matches admin, if you think thats what you want
# Dec 5th 2017, 10:33 hmic because you said so
# Dec 5th 2017, 10:33 alaovich the problem is the result of $this->Auth->redirectUrl() is /admin without slash
# Dec 5th 2017, 10:33 hmic which is correct
# Dec 5th 2017, 10:33 hmic not admin
# Dec 5th 2017, 10:33 hmic your prefix triggers at admin/
# Dec 5th 2017, 10:33 hmic add the /