Support the ongoing development of Laravel.io →
posted 5 years ago
Last updated 2 years ago.
0

Well, after re-reading this, I figured out part of the problem. It's been awhile since I have dealt with linux, and some of the case for the views were Incorrect. That fixed some of the issues. Now it seems that it cant find views that I include form other views.

in Controller :

$home_page='\Includes\\' . Config::get('constants.options.option_home_name'); 
return view('PublicIndex',["home_page"=>"$home_page"]);

and in publicIndex

 @include($home_page)

and I get the error: "View [\Includes\home_page] not found. (View: /var/www/html/mysite/resources/views/PublicIndex.blade.php)

and I check in the resources folder and do see the "Includes" folder which contains "home.blade.php"

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Joe M creekjumper73 Joined 16 Feb 2019

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.