Home / php / Lumen : NotFoundHttpException in Application.php line 1205

Lumen : NotFoundHttpException in Application.php line 1205

Bagi yang melakukan instalasi lumen namun mendapatkan error NotFoundHttpException in Application.php line 1205 ketika menjalankan di public folder

Solusinya :

Edit file index.php di dalam public folder :

cari
$app->run();
ganti dengan
$app->run($app['request']);
atau
$request = Illuminate\Http\Request::capture();
$app->run($request);

About alfach

Check Also

laravel

SQL-Doctor : Laravel Package Untuk Melakukan Debug Query Database

Ada beberapa cara untuk melakukan query debug di laravel. Salah satu caranya menggunakan package debug ...

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>