Vincen Vincen - 1 year ago 243
PHP Question

Laravel: Error InvalidArgumentException

I' upload the project from localhost to my dedicated server and after so many problems, finally some pages works | | etc..

But now, the routes ""
"", "" not found, i get this error, why?

InvalidArgumentException in FileViewFinder.php line 137: View [Site.create] not found.

in FileViewFinder.php line 137 at


array('/....../resources/views')) in FileViewFinder.php line 79 at

FileViewFinder->find('Site.create') in Factory.php line 151

I try artisan comands: cache:clear, route:clear, config:clear, config:cache and nothings works, i don't know where is the problem!

On localhost it works perfectly

Answer Source

If your local OS is different from your production server OS you might be running into a case-sensitive issue and the file is not being found. make sure your files names are EXACTLY the same, case and all. This can happen especially if one environment is Mac and the other is Linux.

If the issue is not fixed, please go through the following link. It may help you

Laravel 5 - View [home] not found

Laravel 5.1 View not found

Laravel 5 InvalidArgumentException in FileViewFinder.php line 137: View [.admin] not found

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download