php - Laravel, can't find true source of html -


laravel 4.2, ubuntu 14.04. apologies being asked make small html change using framework have little experience with.

i change date (just text) 2014 2015, , recursive grepping has revealed 2 files contain seems existing html:

app/views/public/base/footer.blade.php 

and file generated

../shared/storage/views/9c6aa15f7975c94aeb3aadfdaa9a8f83 

that second files enact changes when edited (editing first file crashes site), isn't how should done. generating file!?

i have understanding of route > controller > blade sequence. incoming root url request goes this:

app/routes.php  route::get('/', 'homecontroller@show' ); 

which calls

app/controllers/homecontroller.php public function show() {   // ... omitted brevity     return view::make('public.pages.home')->with(compact( 'home', 'popular', 'featured' )); } 

which calls blade file, continue follow since doesn't contain footer yet

app/views/public/pages/home.blade.php @extends( 'public.base.html' ) 

which extends

app/views/public/base/html.blade.php @include( 'public.base.footer' ) 

^ there is! footer! included file , target html this:

app/views/public/base/footer.blade.php <a href="http://www.glpublishing.com/digitaleditions/aio14/index.html" target="_blank"> 

god have mercy on soul need change aio14 aio15. doing so, however, take whole site down: white screen exception error. adjusting timestamp original fixes problem (using touch -r) altered text doesn't take anyway.

i'm left having edit bizarre generated file know poor form. appreciated.

without seeing code not able answer directly, might able provide insight. have hunch might have separate problem in view file (app/views/public/base/footer.blade.php) unrelated change making link.

the file labeled ../shared/storage/views/9c6aa15f7975c94aeb3aadfdaa9a8f83 cached file generated laravel, 1 generating html sent browser @ moment. when edit file directly change working because there nothing wrong cached file. however, when change original file, causing laravel update cache file , bringing error causing site crash.

to test theory, recommend making change in original file (app/views/public/base/footer.blade.php) have done before , debugging issue arises - remembering might have nothing change making.

i leave ../shared/storage/views/9c6aa15f7975c94aeb3aadfdaa9a8f83 file alone, since editing not going reliable solution in long run overwritten when cache updates.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -