Problem when trying to deploy |
probably the top line ;your using some sort of layout rather than
say Code: { it might be a Nginx(which i no nothing about) thing but on apache on my local its /var/www/htdocs I see you have a html in path ? i got the basics working at : https://www.benxmidia.com it wasn't much different to my local dev on apache , where i use virtual host. the only thing was to set document root to /public.
Layouts work fine - but your error says it can't find your view file - and it has slashes going forward and backward. I'm guessing you develop on a Windows machine and deployed to a Linux box? All slashes should be forward slashes for that.
yes its forward and backslash issue. You need to use forward slashes, works on windows and linux.
or you have to use full path with backslash like app\views\header this also works but doesn't looks like a good idea. ![]() |
Welcome Guest, Not a member yet? Register Sign In |