Log message #4218028

# At Username Text
# Dec 10th 2019, 09:48 slackebot2 <gianmarxgagliardi>
# Dec 10th 2019, 09:47 gianmarxgagliardi ok i have copy and paste of your app controller and now it is no more error
# Dec 10th 2019, 09:45 jotpe See https://github.com/julianpollmann/cakephp-auth/blob/master/src/Controller/AppController.php as example
# Dec 10th 2019, 09:45 jotpe Does your AppController.php load the AuthenticationComponent?
# Dec 10th 2019, 09:43 slackebot2 <gianmarxgagliardi>
# Dec 10th 2019, 09:42 gianmarxgagliardi OK took the lead, but the error changed
# Dec 10th 2019, 09:40 challgren Jinx!
# Dec 10th 2019, 09:40 challgren `composer require cakephp/authentication`
# Dec 10th 2019, 09:40 slackebot2 <jotpe>
# Dec 10th 2019, 09:39 gianmarxgagliardi how to install a plug-in with the composer? I never did it.
# Dec 10th 2019, 09:38 jotpe and you installed the plugin with composer?
# Dec 10th 2019, 09:38 gianmarxgagliardi made copy and paste usually error:*`Fatal error: Interface 'Authentication\AuthenticationServiceProviderInterface' not found in C:\wamp64\www\testlogin\src\Application.php on line _36_`*
# Dec 10th 2019, 09:37 jotpe so then it's `composer require cakephp/authentication`
# Dec 10th 2019, 09:36 gianmarxgagliardi to install cake I go to the www of wamp launch the command `composer self-update andand composer create-project --prefer-dist cakephp / app cms` and do it all
# Dec 10th 2019, 09:35 challgren so bootstrap and middleware arent being called
# Dec 10th 2019, 09:35 jotpe So @gianmarxgagliardi copy this to your Application.php if you want to do copy/paste: https://raw.githubusercontent.com/julianpollmann/cakephp-auth/master/src/Application.php
# Dec 10th 2019, 09:35 challgren Inside the docblock too
# Dec 10th 2019, 09:35 jotpe Ah, yeah.
# Dec 10th 2019, 09:35 challgren `@@ -96,4 +106,39 @@ protected function bootstrapCli()`
# Dec 10th 2019, 09:34 challgren `@@ -76,7 +83,10 @@ public function middleware($middlewareQueue)`
# Dec 10th 2019, 09:34 challgren `@@ -36,6 +42,7 @@ public function bootstrap()`
# Dec 10th 2019, 09:34 challgren @jotpe what about the diffs in his pastbin?
# Dec 10th 2019, 09:34 jotpe Basically it's the same way how to install cakephp: https://book.cakephp.org/3/en/quickstart.html#getting-cakephp
# Dec 10th 2019, 09:34 gianmarxgagliardi win 7
# Dec 10th 2019, 09:34 gianmarxgagliardi sorry
# Dec 10th 2019, 09:34 gianmarxgagliardi win 10
# Dec 10th 2019, 09:33 jotpe Maybe it's only composer, i don't know about your system
# Dec 10th 2019, 09:33 gianmarxgagliardi I went to the project folder which I called "testlogin" and gave it that command
# Dec 10th 2019, 09:32 gianmarxgagliardi `Could not open input file: composer.phar`
# Dec 10th 2019, 09:31 jotpe yes, to the folder, where your composer.json file is. You need to add the plugin as a dependency to composer https://en.wikipedia.org/wiki/Composer_(software)
# Dec 10th 2019, 09:30 gianmarxgagliardi I go to my project folder and put `php composer.phar require cakephp/authentication`?
# Dec 10th 2019, 09:28 jotpe via command line in your root folder
# Dec 10th 2019, 09:27 jotpe you need to do something like this: `php composer.phar require cakephp/authentication`
# Dec 10th 2019, 09:25 gianmarxgagliardi yes I noticed I deleted line 34 and now it gives me: *`Fatal error: Interface 'Authentication\AuthenticationServiceProviderInterface' not found in C:\wamp64\www\testlogin\src\Application.php on line _35_`*
# Dec 10th 2019, 09:25 jotpe `*class* Application *extends* BaseApplication` `*class* Application *extends* BaseApplication implements AuthenticationServiceProviderInterface` this doesn't make much sense
# Dec 10th 2019, 09:24 gianmarxgagliardi I'm sorry I'm not understanding
# Dec 10th 2019, 09:22 gianmarxgagliardi :,'(
# Dec 10th 2019, 09:21 challgren *raises hand* I know I know!
# Dec 10th 2019, 09:21 jotpe Well...that's obvious? :)
# Dec 10th 2019, 09:20 gianmarxgagliardi https://pastebin.com/wxsNmFD9
# Dec 10th 2019, 09:19 jotpe Paste it in a pastebin or github gitst plz