0
I opened my localhost today to continue to start my project and I will have this error in all the pages I try to access, yesterday before closing the pages was working can anyone help me? error
View [.site.Home.index] not found.
web php.
Route::get('/', 'SiteController@index');
Route::get('Contato', 'SiteController@Contato');
Route::get('Dicas', 'SiteController@Dicas');
sitecontroller:
public function Dicas(){
session_start();
return view('/site.Dicas.index') ;
}
public function Regulamento(){
session_start();
return view('/site.Regulamento.index') ;
}
public function Termos(){
session_start();
return view('site.Termos.index') ;
}
public function Tutorial(){
session_start();
return view('/site.Tutorial.index') ;
}
Try using the command
Ctrl+Shift+F
and search forsite.Home.index
. Maybe you used the file and ended up deleting accidentally– reisdev
Am I new to the Laravel where I would put this command? @Matheusreis
– Cyber Hacker
I forgot to mention I was supposed to do this on
VSCode
. It has the option to search in all files within oneworkspace
– reisdev
@Matheusreis the site.Home.index exists and what was the command q was to run? think q vc edited
– Cyber Hacker
Ctrl+Shift+F
, it locates the text within all your files– reisdev
No bar and show where the view is
– novic
Why calling Sessions like that is wrong
– novic
@Matheusreis put in and he found the
site.Home.index
on my Sitecontroller page because I give thereturn view
– Cyber Hacker
@Virgilionovic already took the bar and still the same error, and onte was working with the / usually, as it is called the Session correctly?
– Cyber Hacker
There’s a lot of things out of place Sessions will depend on if you need them
– novic