# |
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) |
# |
Apr 20th 2017, 20:27 |
highac3s |
seems like the layout goes to nothing as soon as I do this : $this->initializeUI(['layout'=>true]); |
# |
Apr 20th 2017, 20:27 |
Erik180486 |
my server is telling me there's no problem |
# |
Apr 20th 2017, 20:26 |
technofection |
What problem are you facing highac3s? |
# |
Apr 20th 2017, 20:26 |
highac3s |
hello, I'm having trouble with integrating Bootstrap-UI in my cake 3 project. |
# |
Apr 20th 2017, 20:25 |
technofection |
Ohh I see, must be your server.. May be your host is doing some maintenance or something like that and htaccess is not working. |
# |
Apr 20th 2017, 20:24 |
Erik180486 |
I was logged in and out of the sudden I'm getting this not found error and URL rewriting message on the hompeage |
# |
Apr 20th 2017, 20:23 |
technofection |
How did you login? I cannt get onto the login page.. and moreoever cake should throw a Controller Not Found error, not a 404 error page from apache |
# |
Apr 20th 2017, 20:21 |
Erik180486 |
im getting the cakephp welcome message, but thats because I am logged in I guess |
# |
Apr 20th 2017, 20:21 |
Erik180486 |
http://paste.opensuse.org/1692465 |
# |
Apr 20th 2017, 20:20 |
Erik180486 |
ok |
# |
Apr 20th 2017, 20:20 |
technofection |
no, the one in the root of your project |