Laravel: Error InvalidArgumentException

后端 未结 2 1079
春和景丽
春和景丽 2021-02-14 19:49

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

<
相关标签:
2条回答
  • 2021-02-14 20:14

    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

    0 讨论(0)
  • 2021-02-14 20:30

    also multiple times its found that config cache being problem. Use following commands to finetune them.

    php artisan config:cache
    php artisan config:clear
    
    0 讨论(0)
提交回复
热议问题