I'm using Laravel 5 and I have some problems. When I want to access the login on my subdomain
-> http://dev.miweb.com/auth/login
it says:
ErrorException in FileViewFinder.php line 140: View [app] not found. (View:
/home1/miweb/public_html/subdomains/dev/resources/views/auth/
login.blade.php)
I don't understand what is the problem. For example, if I come in without the subdomain the file is found.
-> http://miweb.com/subdomains/dev/resources/views/auth/login.blade.php
This file is on my host. It is very confusing because it works on my localhost.
Could the problem be caused by the subdomain? What is the solution?
Thank you
As you can see in the source of login.blade.php template, it extends layout which is called app
:
@extends('app')
So, probably there's no app.blade.php
file in resources/views
folder. It should be there in order to display the login form.
I set it as: @extends('layouts.app')
. It works well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With