Log message #4018744

# At Username Text
# Apr 20th 2017, 21:05 Erik180486 I have no clue what they mean
# Apr 20th 2017, 21:05 Erik180486 my hosting is telling me this: there are no directories for redirecting to the server.
# Apr 20th 2017, 21:03 rudy1976s but how can I pass the logged user to the behavior ?
# Apr 20th 2017, 21:03 Erik180486 so then it still could be a folder problem?
# Apr 20th 2017, 21:02 Erik180486 ok that's good
# Apr 20th 2017, 21:02 technofection That's cool, @erik180486 , it means htaccess is all good
# Apr 20th 2017, 21:02 technofection @rudy1976s Yeah, Behaviors are the best approach for this that way you can share / apply same code to multiple models (tables)
# Apr 20th 2017, 21:02 Erik180486 HELLO WORLD is on my screen now
# Apr 20th 2017, 21:01 technofection Yeah, Behaviors are the best approach for this @erik180486 , that way you can share / apply same code to multiple models (tables)
# Apr 20th 2017, 21:01 Erik180486 will pull it first
# Apr 20th 2017, 21:00 Erik180486 wait, I will put it online
# Apr 20th 2017, 21:00 rudy1976s and was trying to figure the best approach
# Apr 20th 2017, 21:00 technofection @erik180486 , I made a change to webroot, index.php but that is not taking any effect
# Apr 20th 2017, 21:00 rudy1976s I need to create a behaior that saves createdby and modified by and need to inject logged user
# 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]);