What is the exact error? You just show a path to a file?
Feb 18, 2023
10
Level 2
View Not Found Error on Shared Server (FileViewFinder.php)
Hi. I'm trying to deploy my laravel app and spa onto shared server.. I changed directory path in index.php file according to my app folder. And all my web routes go to landing.blade.php as follows.
Route::get('/{any}', function () {
return view('landing');
})->where('any', '.*');
and this landing.blade.php file is in resource/veiws location as it must be. Before deploy I performed pre deployment steps on laravel doc's page. Cleaned cache, route and config..
When I open production page it gives following error..
....../vendor/laravel/framework/src/Illuminate/View/FileViewFinder.php (line 137)
why it can't find view file ??
Level 2
I removed all files and re uploaded.. probmlem seems to be fixed.. now I have anothe one )
Please or to participate in this conversation.