Log message #4189842

# At Username Text
# Jun 18th 2019, 08:46 conehead Sounds like a PHP problem to me
# Jun 18th 2019, 08:33 martin When I have a DOUBLE in database, I save 3.95 to it, and get it from database, render it to json I get 3.95000000000000017763568394002504646778106689453125, any way to fix this simple? I was hoping cake rounds it by default :P mysql returns just 3.95
# Jun 18th 2019, 07:54 conehead Morning!
# Jun 18th 2019, 07:52 neon1024 Morning all :wave:
# Jun 17th 2019, 22:31 ricksaccous use code snippet in slack or gist though
# Jun 17th 2019, 22:30 ricksaccous can you paste your getAuthenticationService
# Jun 17th 2019, 22:30 slackebot1 use Authentication\Middleware\AuthenticationMiddleware; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\ServerRequestInterface;
# Jun 17th 2019, 22:30 stephenzgalbraith use Cake\Core\Configure; use Cake\Core\Exception\MissingPluginException; use Cake\Error\Middleware\ErrorHandlerMiddleware; use Cake\Http\BaseApplication; use Cake\Http\MiddlewareQueue; use Cake\Routing\Middleware\AssetMiddleware; use Cake\Routing\Middleware\RoutingMiddleware; use Cake\Routing\Router; use Cake\Http\ServerRequest; use Authentication\AuthenticationService; use Authentication\AuthenticationServiceProviderInterface;
# Jun 17th 2019, 22:30 stephenzgalbraith I have all of these:
# Jun 17th 2019, 22:30 ricksaccous you have this use statement? use Psr\Http\Message\ServerRequestInterface;
# Jun 17th 2019, 22:28 ricksaccous seems like one of those errors
# Jun 17th 2019, 22:28 ricksaccous i think...
# Jun 17th 2019, 22:27 ricksaccous lol
# Jun 17th 2019, 22:27 ricksaccous you forgot a use statement dude
# Jun 17th 2019, 22:27 stephenzgalbraith https://stackoverflow.com/questions/56635969/cakephp-4-x-authentication-2-x-fatal-error-when-initiating
# Jun 17th 2019, 22:26 stephenzgalbraith nope, fresh install of both the app skeleton and authentication plugin
# Jun 17th 2019, 22:26 ricksaccous you aren't still trying to use the auth component are you?
# Jun 17th 2019, 22:26 ricksaccous where are you having trouble?
# Jun 17th 2019, 22:26 ricksaccous oh i have that working with the new plugin
# Jun 17th 2019, 22:18 stephenzgalbraith Ah alright.. I can't seem to get authentication up on a fresh 4.x-dev install
# Jun 17th 2019, 22:18 ricksaccous I'm on 3.7 but making sure there are no deprecation errors
# Jun 17th 2019, 22:17 ricksaccous @stephenzgalbraith no
# Jun 17th 2019, 22:16 rightscoreanalysis oops sorry
# Jun 17th 2019, 22:16 stephenzgalbraith @ricksaccous have you already upgraded to 4?
# Jun 17th 2019, 22:15 ricksaccous i want this thing cake 4 ready
# Jun 17th 2019, 22:15 ricksaccous so that doesnt' apply
# Jun 17th 2019, 22:14 ricksaccous I'm using the new plugins
# Jun 17th 2019, 22:14 rightscoreanalysis highly recommend
# Jun 17th 2019, 22:14 rightscoreanalysis @ricksaccous have you looked at the TinyAuth plugin by dereuromark?
# Jun 17th 2019, 22:08 ricksaccous doh
# Jun 17th 2019, 22:08 ricksaccous it says in the docs that i need to load it after authentication
# Jun 17th 2019, 22:08 ricksaccous wait
# Jun 17th 2019, 22:06 ricksaccous i suppose i don't need that interface after all
# Jun 17th 2019, 22:06 ricksaccous interesting
# Jun 17th 2019, 22:06 ricksaccous authorization should be loaded before authentication...
# Jun 17th 2019, 22:06 ricksaccous so
# Jun 17th 2019, 22:05 ricksaccous interestinggggg
# Jun 17th 2019, 22:05 ricksaccous this is the error i'm getting Error: Identity found in request does not implement Authentication\IdentityInterface
# Jun 17th 2019, 22:05 ricksaccous oh heh
# Jun 17th 2019, 21:58 ricksaccous the identity object does not look correct
# Jun 17th 2019, 21:57 slackebot1 <ricksaccous>