Log message #4018730

# At Username Text
# Apr 20th 2017, 20:59 technofection @rudy1976s inject to the Entity you are saving? Yes possible
# Apr 20th 2017, 20:59 technofection If I commit a file, does that go to apache immediately?
# Apr 20th 2017, 20:59 rudy1976s is there a way from a controller to inject a variable into beforeSave event ?
# Apr 20th 2017, 20:56 Erik180486 sent
# Apr 20th 2017, 20:56 Erik180486 thx
# Apr 20th 2017, 20:55 technofection send to technofection
# Apr 20th 2017, 20:54 technofection hold on
# Apr 20th 2017, 20:54 Erik180486 You'll only be able to find a GitHub user by their email address if they've chosen to list it publicly. Otherwise, use their username instead.
# Apr 20th 2017, 20:53 technofection send the invite to tech@am-horizon.com
# Apr 20th 2017, 20:53 Erik180486 thanks for your help btw!
# Apr 20th 2017, 20:53 Erik180486 what's your name there?
# Apr 20th 2017, 20:53 technofection Okay, let me try
# Apr 20th 2017, 20:52 Erik180486 can I invite you with github?
# Apr 20th 2017, 20:52 technofection Why does it still redirect me to users/login then :(
# Apr 20th 2017, 20:52 Erik180486 I did
# Apr 20th 2017, 20:51 technofection Disable the Auth in src/Controller/AppController.php for a while
# Apr 20th 2017, 20:50 Erik180486 and then I have src/templte/admin/ with the two table folders with the ctp files
# Apr 20th 2017, 20:50 Erik180486 in src/controller there is appcontroller (not in the admin folder) with the auth
# Apr 20th 2017, 20:49 Erik180486 with two tables
# Apr 20th 2017, 20:49 Erik180486 in src/controller i had an admin folder
# Apr 20th 2017, 20:49 technofection might be
# Apr 20th 2017, 20:49 Erik180486 so it should be a folder thing?
# Apr 20th 2017, 20:49 technofection All requests should be wired to index.php inside webroot
# Apr 20th 2017, 20:48 technofection When I put the root URL, its handled by Cake and as you did setup the Auth, it redirects me to users/login, but that URL further is not handled by Cake.. Means, that URL users/login is not reaching to Cake at all
# Apr 20th 2017, 20:47 technofection Yeah thats okay, its really strange.. Have you untentionally made a copy of .htaccess and put that in a sub directory further?
# Apr 20th 2017, 20:46 Erik180486 commented it in appcontroller
# Apr 20th 2017, 20:44 Erik180486 Plugin::load('DebugKit', ['bootstrap' => true]);
# Apr 20th 2017, 20:44 Erik180486 if (Configure::read('debug')) {
# Apr 20th 2017, 20:44 Erik180486 i have this in config/bootstrap.php
# Apr 20th 2017, 20:44 Erik180486 is that ok?
# Apr 20th 2017, 20:44 Erik180486 'debug' => filter_var(env('DEBUG', true), FILTER_VALIDATE_BOOLEAN), on line 23
# Apr 20th 2017, 20:43 technofection Also probably you have Auth setup in AppController, please comment that for a while
# Apr 20th 2017, 20:42 technofection Do you have debug on (true) in config/app.php file?
# Apr 20th 2017, 20:42 Erik180486 fuck.
# Apr 20th 2017, 20:41 technofection nope
# Apr 20th 2017, 20:41 Erik180486 maybe with something with cache or debug?
# Apr 20th 2017, 20:39 Erik180486 RewriteRule ^ index.php [L]
# Apr 20th 2017, 20:39 Erik180486 RewriteCond %{REQUEST_FILENAME} !-f
# Apr 20th 2017, 20:39 Erik180486 RewriteEngine On
# Apr 20th 2017, 20:38 technofection what do you have in the htaccess inside webroot?
# Apr 20th 2017, 20:37 Erik180486 I have it on github