# |
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? |
# |
Apr 20th 2017, 20:30 |
technofection |
Instead of IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] </IfModule can you just put RewriteEngine on RewriteRule ^$ webroot/ [L] RewriteRule (.*) webroot/$1 [L] in root .htaccess and try? |
# |
Apr 20th 2017, 20:30 |
rudy1976s |
no one here using Muffin Footprint ? |
# |
Apr 20th 2017, 20:30 |
Erik180486 |
yes it is |
# |
Apr 20th 2017, 20:30 |
technofection |
http://prntscr.com/eyv8wk mod_rewrite seems to be loaded |
# |
Apr 20th 2017, 20:29 |
highac3s |
@technofection 3.4.5 |
# |
Apr 20th 2017, 20:29 |
Erik180486 |
http://dev.smartmommy.nl/smartmommy/phpinfo.php |
# |
Apr 20th 2017, 20:28 |
technofection |
Which version of Cake you using @highac3s ? |
# |
Apr 20th 2017, 20:28 |
technofection |
@erik180486 in your root index.php file , at the top put phpinfo(); exit; and let me see |
# |
Apr 20th 2017, 20:28 |
highac3s |
(in AppView.php) |