【发布时间】:2016-05-17 15:35:12
【问题描述】:
我将项目从本地主机上传到我的专用服务器,经过这么多问题,终于有些页面可以正常工作 domain.com | domain.com/home | domain.com/allsites 等。
但是现在,路由“domain.com/site/create” “domain.com/site/ID/manage”、“domain.com/site/ID/edit”未找到,我收到此错误,为什么?
FileViewFinder.php 第 137 行中的 InvalidArgumentException:未找到视图 [Site.create]。
在 FileViewFinder.php 第 137 行
FileViewFinder->findInPaths('Site.create',
array('/....../resources/views')) 在 FileViewFinder.php 第 79 行
FileViewFinder->find('Site.create') 在 Factory.php 第 151 行
我尝试了工匠命令:cache:clear、route:clear、config:clear、config:cache 和 nothings 工作,我不知道问题出在哪里!
在本地主机上完美运行
【问题讨论】:
-
你试过
php artisan config:clear | cache
标签: php laravel migration hosting