Log message #4018713

# At Username Text
# 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
# Apr 20th 2017, 20:37 Erik180486 but I think nothing has changed
# Apr 20th 2017, 20:37 Erik180486 okay I did
# Apr 20th 2017, 20:37 Erik180486 thx
# Apr 20th 2017, 20:36 technofection RewriteEngine on RewriteBase /smartmommy RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L]
# Apr 20th 2017, 20:36 technofection put RewriteBase /smartmommy just after RewriteEngine On in your root htaccess
# Apr 20th 2017, 20:35 Erik180486 im not very familiair with htaccess, can you tell me what I need to put there exactly maybe? sorry
# Apr 20th 2017, 20:35 highac3s thanks, I'll probably be back here tomorrow morning
# Apr 20th 2017, 20:35 technofection Then htaccess should have a RewriteBase
# Apr 20th 2017, 20:34 Erik180486 from the beginning..
# Apr 20th 2017, 20:34 technofection Was it in subdirectory smartmommy from the begning or you just moved into it?
# Apr 20th 2017, 20:34 Erik180486 you mean in root/smartmommy ?
# Apr 20th 2017, 20:34 technofection no, @erik180486 , not pdo, ohhhh.. wait wait.. you are running your project in a sub directory
# Apr 20th 2017, 20:33 highac3s yeah that might work better...
# Apr 20th 2017, 20:33 Erik180486 can it be something with pdo_sqlite,?
# Apr 20th 2017, 20:33 highac3s I'm using Cake 3.4.5 according to index.php
# Apr 20th 2017, 20:32 Erik180486 which htaccess>?
# Apr 20th 2017, 20:32 technofection @highac3s, why don't you simply add bootstraps css and js files in your layout?