luka luka - 2 years ago 84
PHP Question

Laravel 5 doesn't route to page in view, when added in routes.php

I 'm new to LARAVEL 5 ,so i have created about.blade.php in ~/project/resources/views and then add this code in app/routes.php in order to view the page when requested in browser:

Route::get('about', function () {
return view('about');

Then i requested in browser as this : http://localhost:8000/about .

so this error is shown in browser :

[Laravel Routing Error[1]

Answer Source

I solved this issue using sudo command with php artisan serve

It was Permission issue .

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download