1

I'm getting this error:

Message:
View [partials.headerHome] doesn't exist.

Location:
/home/user/public/site.com/laravel/view.php on line 170

Which is being caused by this blade templating include

@include('partials.headerHome')

Which translates to this when it gets run through the templating engine and ends up in /storage

<?php echo view('partials.headerHome')->with(get_defined_vars())->render(); ?>

I'm using Linode, and I believe that I have everything set up correctly, have a couple of other sites running fine. My document root is hitting /public just as it was in development. What could be the issue here?

Currently sorting through the error log..
4

1 に答える 1

5

パーシャルへの参照とそのファイル名をすべて小文字に変更すると、問題は解決します。ローカルマシンでは大文字と小文字を区別しないファイルシステムが使用されているため、開発中に問題は発生しなかった可能性があります。たとえば、Mac OSXでは、デフォルトで大文字と小文字が区別されません。

于 2013-02-21T03:33:20.950 に答える