My site is gone blank after cache clear kindly help me here

Posted 10 months ago by lettertoamit

my site either gives 161 error or goes blank .

when my route file has

any thing like Route::get('index.php/flush', function(){ Artisan::call('config:cache'); Artisan::call('view:clear'); Artisan::call('cache:clear'); Artisan::call('route:clear'); //Cache::flush(); return redirect('/'); });

it goes blank but when i comment it out and clear route it starts showing exception 161.

NotFoundHttpException in RouteCollection.php line 161:

also i have tried pointing apache to public folder previously site was running fine with pointing out of public folder. but now nothing working.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.