Log message #4018775

# At Username Text
# Apr 20th 2017, 21:22 technofection and upload to server
# Apr 20th 2017, 21:22 technofection @erik180486 , pull webroot/.htaccess
# Apr 20th 2017, 21:20 Erik180486 :(
# Apr 20th 2017, 21:20 technofection @erik180486 , not really still problem with htaccess, none of the css / images are loaded
# Apr 20th 2017, 21:19 technofection @rudy1976s you can also use Models intialize event and push the Auth user to the models
# Apr 20th 2017, 21:18 rudy1976s okay but I need to save the user which is currently editing the record
# Apr 20th 2017, 21:17 Erik180486 not sure what it is :)
# Apr 20th 2017, 21:17 Erik180486 but is that okay?
# Apr 20th 2017, 21:17 technofection @erik180486 , you can configure that in app.php as said
# Apr 20th 2017, 21:16 inoas so that things fail when you forget to pass it down or the user is not logged in
# Apr 20th 2017, 21:16 inoas and add a behavior that checks if a given user_id actually exists/is active
# Apr 20th 2017, 21:16 inoas you can pass down the user on the save actions
# Apr 20th 2017, 21:15 inoas if you want to respect the layers
# Apr 20th 2017, 21:15 rudy1976s so I decided to go for the easier and faster way
# Apr 20th 2017, 21:15 rudy1976s I was trying Muffin Footprint but I was not able to make it work
# Apr 20th 2017, 21:15 Erik180486 The NullEngine is being used for core caching. To change the config edit config/app.php
# Apr 20th 2017, 21:14 Erik180486 done
# Apr 20th 2017, 21:14 technofection @rudy1976s , yeah, you are correct, but sometimes we have some needs, where we cannot follow the conventions to its perfect
# Apr 20th 2017, 21:13 technofection @Erik, pull appcontroller again, and upload to server
# Apr 20th 2017, 21:13 rudy1976s it is not so much MVC but works and now its good :slightly_smiling_face:
# Apr 20th 2017, 21:13 Erik180486 I am very curious what the problem is/was
# Apr 20th 2017, 21:12 Erik180486 thank you very much
# Apr 20th 2017, 21:12 rudy1976s @technofection thank you
# Apr 20th 2017, 21:12 technofection @erik180486 , getting there.. I do see Call to a member function allow() on boolean now :slightly_smiling_face: Its Cake definitely
# Apr 20th 2017, 21:10 technofection @rudy1976s Router::getRequest()->session()
# Apr 20th 2017, 21:09 Erik180486 done
# Apr 20th 2017, 21:09 technofection pull the appcontroller now @erik180486 and upload to server
# Apr 20th 2017, 21:08 Erik180486 can I do something?
# Apr 20th 2017, 21:07 rudy1976s so no session
# Apr 20th 2017, 21:07 rudy1976s but in behaviors there is no request
# Apr 20th 2017, 21:07 technofection @rudy1976s , you can pull it from session -> Auth
# 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