Laravel route showing “Not Found”ReflectionException in Container.php line 776: Class APPPATHHttpControllersDashboardController does not existLaravel doesn't open a file with a specific name from the public folderAuth::user() returns nullLaravel 5.2 error message not shownlaravel 5.2 cant pass variable to viewlaravel is giving error on custom controller used in routesRouting Laravel namepsace issueThe Page Has Expired Due To Inactivity. Please Refresh And Try Again. laravel 5.6 using auth of laravelLaravel 5 middleware executes even after restrictionArgument 2 passed to AppHttpControllersHomeController::productDetail() must be an instance of AppProduct, string given
How to safely discharge oneself
Is it safe to redirect stdout and stderr to the same file without file descriptor copies?
How do you earn the reader's trust?
Does science define life as "beginning at conception"?
Why the work done is positive when bringing 2 opposite charges together?
Gas chromatography flame ionization detector (FID) - why hydrogen gas?
What was the primary motivation for a historical figure like Xenophon to create an extensive collection of written material?
Ribbon Cable Cross Talk - Is there a fix after the fact?
If I arrive in the UK, and then head to mainland Europe, does my Schengen visa 90 day limit start when I arrived in the UK, or mainland Europe?
Negative impact of having the launch pad away from the Equator
Team member is vehemently against code formatting
Can diplomats be allowed on the flight deck of a commercial European airline?
(For training purposes) Are there any openings with rook pawns that are more effective than others (and if so, what are they)?
Caught with my phone during an exam
Why is 'additive' EQ more difficult to use than 'subtractive'?
Existence of a model of ZFC in which the natural numbers are really the natural numbers
Why do testers need root cause analysis?
Are clauses with "который" restrictive or non-restrictive by default?
"Official wife" or "Formal wife"?
mmap: effect of other processes writing to a file previously mapped read-only
Why is this integration method not valid?
Is there a solution to paying high fees when opening and closing lightning channels once we hit a fee only market?
amsmath: How can I use the equation numbering and label manually and anywhere?
How do I write real-world stories separate from my country of origin?
Laravel route showing “Not Found”
ReflectionException in Container.php line 776: Class APPPATHHttpControllersDashboardController does not existLaravel doesn't open a file with a specific name from the public folderAuth::user() returns nullLaravel 5.2 error message not shownlaravel 5.2 cant pass variable to viewlaravel is giving error on custom controller used in routesRouting Laravel namepsace issueThe Page Has Expired Due To Inactivity. Please Refresh And Try Again. laravel 5.6 using auth of laravelLaravel 5 middleware executes even after restrictionArgument 2 passed to AppHttpControllersHomeController::productDetail() must be an instance of AppProduct, string given
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm following the following tutorial:
https://www.tutorialspoint.com/laravel/laravel_middleware.htm
I'm on Step 9, and I'm getting a "404 | Not Found" error. Here's my exact code:
appHttproutes.php
<?php
Route::get('/', function ()
return view('welcome');
);
Route::get('/role',[
'middleware' => 'Role:editor',
'uses' => 'TestController@index',
]);
appHttpKernel.php
<?php
namespace AppHttp;
use IlluminateFoundationHttpKernel as HttpKernel;
class Kernel extends HttpKernel
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
IlluminateFoundationHttpMiddlewareCheckForMaintenanceMode::class,
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
// IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
// AppHttpMiddlewareRoleMiddleware::class,
],
'api' => [
'throttle:60,1',
'bindings',
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => AppHttpMiddlewareAuthenticate::class,
'auth.basic' => IlluminateAuthMiddlewareAuthenticateWithBasicAuth::class,
'bindings' => IlluminateRoutingMiddlewareSubstituteBindings::class,
'cache.headers' => IlluminateHttpMiddlewareSetCacheHeaders::class,
'can' => IlluminateAuthMiddlewareAuthorize::class,
'guest' => AppHttpMiddlewareRedirectIfAuthenticated::class,
'signed' => IlluminateRoutingMiddlewareValidateSignature::class,
'throttle' => IlluminateRoutingMiddlewareThrottleRequests::class,
'verified' => IlluminateAuthMiddlewareEnsureEmailIsVerified::class,
'Age' => AppHttpMiddlewareAgeMiddleware::class,
'Role' => AppHttpMiddlewareRoleMiddleware::class,
];
/**
* The priority-sorted list of middleware.
*
* This forces non-global middleware to always be in the given order.
*
* @var array
*/
protected $middlewarePriority = [
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareAuthenticate::class,
IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
IlluminateAuthMiddlewareAuthorize::class,
];
appHttpControllersTestController.php
<?php
namespace AppHttpControllers;
use IlluminateHttpRequest;
use AppHttpRequests;
use AppHttpControllersController;
class TestController extends Controller
public function index()
echo "<br>Test Controller.";
appHttpMiddlewareRoleMiddleware.php
<?php
namespace AppHttpMiddleware;
use Closure;
class RoleMiddleware
public function handle($request, Closure $next, $role)
echo "Role: ".$role;
return $next($request);
I'm at a loss at this point, as to why it would give me a 404. Looking up some other questions here on SO, I'd thought it was because the Route had role
and not /role
, but that change did nothing. I even did the following route:
Route::get('/test', function ()
return "Hello World";
);
And received a 404 as well. I created my project in PHPStorm, and as a "Composer Project" and used the package laravel/installer
.
php laravel
|
show 3 more comments
I'm following the following tutorial:
https://www.tutorialspoint.com/laravel/laravel_middleware.htm
I'm on Step 9, and I'm getting a "404 | Not Found" error. Here's my exact code:
appHttproutes.php
<?php
Route::get('/', function ()
return view('welcome');
);
Route::get('/role',[
'middleware' => 'Role:editor',
'uses' => 'TestController@index',
]);
appHttpKernel.php
<?php
namespace AppHttp;
use IlluminateFoundationHttpKernel as HttpKernel;
class Kernel extends HttpKernel
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
IlluminateFoundationHttpMiddlewareCheckForMaintenanceMode::class,
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
// IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
// AppHttpMiddlewareRoleMiddleware::class,
],
'api' => [
'throttle:60,1',
'bindings',
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => AppHttpMiddlewareAuthenticate::class,
'auth.basic' => IlluminateAuthMiddlewareAuthenticateWithBasicAuth::class,
'bindings' => IlluminateRoutingMiddlewareSubstituteBindings::class,
'cache.headers' => IlluminateHttpMiddlewareSetCacheHeaders::class,
'can' => IlluminateAuthMiddlewareAuthorize::class,
'guest' => AppHttpMiddlewareRedirectIfAuthenticated::class,
'signed' => IlluminateRoutingMiddlewareValidateSignature::class,
'throttle' => IlluminateRoutingMiddlewareThrottleRequests::class,
'verified' => IlluminateAuthMiddlewareEnsureEmailIsVerified::class,
'Age' => AppHttpMiddlewareAgeMiddleware::class,
'Role' => AppHttpMiddlewareRoleMiddleware::class,
];
/**
* The priority-sorted list of middleware.
*
* This forces non-global middleware to always be in the given order.
*
* @var array
*/
protected $middlewarePriority = [
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareAuthenticate::class,
IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
IlluminateAuthMiddlewareAuthorize::class,
];
appHttpControllersTestController.php
<?php
namespace AppHttpControllers;
use IlluminateHttpRequest;
use AppHttpRequests;
use AppHttpControllersController;
class TestController extends Controller
public function index()
echo "<br>Test Controller.";
appHttpMiddlewareRoleMiddleware.php
<?php
namespace AppHttpMiddleware;
use Closure;
class RoleMiddleware
public function handle($request, Closure $next, $role)
echo "Role: ".$role;
return $next($request);
I'm at a loss at this point, as to why it would give me a 404. Looking up some other questions here on SO, I'd thought it was because the Route had role
and not /role
, but that change did nothing. I even did the following route:
Route::get('/test', function ()
return "Hello World";
);
And received a 404 as well. I created my project in PHPStorm, and as a "Composer Project" and used the package laravel/installer
.
php laravel
Did you created welcome view in the views folder?
– Marios Nikolaou
Mar 23 at 21:04
@MariosNikolaou: Thewelcome
view was created by default when I created the project.
– PiousVenom
Mar 23 at 21:08
Did you check main url to view welcome page?
– Mohammad b
Mar 23 at 21:10
localhost:8000/ -> shows the welcome view?
– Marios Nikolaou
Mar 23 at 21:10
Yes, I did.Welcome
view shows just fine
– PiousVenom
Mar 23 at 21:11
|
show 3 more comments
I'm following the following tutorial:
https://www.tutorialspoint.com/laravel/laravel_middleware.htm
I'm on Step 9, and I'm getting a "404 | Not Found" error. Here's my exact code:
appHttproutes.php
<?php
Route::get('/', function ()
return view('welcome');
);
Route::get('/role',[
'middleware' => 'Role:editor',
'uses' => 'TestController@index',
]);
appHttpKernel.php
<?php
namespace AppHttp;
use IlluminateFoundationHttpKernel as HttpKernel;
class Kernel extends HttpKernel
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
IlluminateFoundationHttpMiddlewareCheckForMaintenanceMode::class,
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
// IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
// AppHttpMiddlewareRoleMiddleware::class,
],
'api' => [
'throttle:60,1',
'bindings',
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => AppHttpMiddlewareAuthenticate::class,
'auth.basic' => IlluminateAuthMiddlewareAuthenticateWithBasicAuth::class,
'bindings' => IlluminateRoutingMiddlewareSubstituteBindings::class,
'cache.headers' => IlluminateHttpMiddlewareSetCacheHeaders::class,
'can' => IlluminateAuthMiddlewareAuthorize::class,
'guest' => AppHttpMiddlewareRedirectIfAuthenticated::class,
'signed' => IlluminateRoutingMiddlewareValidateSignature::class,
'throttle' => IlluminateRoutingMiddlewareThrottleRequests::class,
'verified' => IlluminateAuthMiddlewareEnsureEmailIsVerified::class,
'Age' => AppHttpMiddlewareAgeMiddleware::class,
'Role' => AppHttpMiddlewareRoleMiddleware::class,
];
/**
* The priority-sorted list of middleware.
*
* This forces non-global middleware to always be in the given order.
*
* @var array
*/
protected $middlewarePriority = [
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareAuthenticate::class,
IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
IlluminateAuthMiddlewareAuthorize::class,
];
appHttpControllersTestController.php
<?php
namespace AppHttpControllers;
use IlluminateHttpRequest;
use AppHttpRequests;
use AppHttpControllersController;
class TestController extends Controller
public function index()
echo "<br>Test Controller.";
appHttpMiddlewareRoleMiddleware.php
<?php
namespace AppHttpMiddleware;
use Closure;
class RoleMiddleware
public function handle($request, Closure $next, $role)
echo "Role: ".$role;
return $next($request);
I'm at a loss at this point, as to why it would give me a 404. Looking up some other questions here on SO, I'd thought it was because the Route had role
and not /role
, but that change did nothing. I even did the following route:
Route::get('/test', function ()
return "Hello World";
);
And received a 404 as well. I created my project in PHPStorm, and as a "Composer Project" and used the package laravel/installer
.
php laravel
I'm following the following tutorial:
https://www.tutorialspoint.com/laravel/laravel_middleware.htm
I'm on Step 9, and I'm getting a "404 | Not Found" error. Here's my exact code:
appHttproutes.php
<?php
Route::get('/', function ()
return view('welcome');
);
Route::get('/role',[
'middleware' => 'Role:editor',
'uses' => 'TestController@index',
]);
appHttpKernel.php
<?php
namespace AppHttp;
use IlluminateFoundationHttpKernel as HttpKernel;
class Kernel extends HttpKernel
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware = [
IlluminateFoundationHttpMiddlewareCheckForMaintenanceMode::class,
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
];
/**
* The application's route middleware groups.
*
* @var array
*/
protected $middlewareGroups = [
'web' => [
AppHttpMiddlewareEncryptCookies::class,
IlluminateCookieMiddlewareAddQueuedCookiesToResponse::class,
IlluminateSessionMiddlewareStartSession::class,
// IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareVerifyCsrfToken::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
// AppHttpMiddlewareRoleMiddleware::class,
],
'api' => [
'throttle:60,1',
'bindings',
],
];
/**
* The application's route middleware.
*
* These middleware may be assigned to groups or used individually.
*
* @var array
*/
protected $routeMiddleware = [
'auth' => AppHttpMiddlewareAuthenticate::class,
'auth.basic' => IlluminateAuthMiddlewareAuthenticateWithBasicAuth::class,
'bindings' => IlluminateRoutingMiddlewareSubstituteBindings::class,
'cache.headers' => IlluminateHttpMiddlewareSetCacheHeaders::class,
'can' => IlluminateAuthMiddlewareAuthorize::class,
'guest' => AppHttpMiddlewareRedirectIfAuthenticated::class,
'signed' => IlluminateRoutingMiddlewareValidateSignature::class,
'throttle' => IlluminateRoutingMiddlewareThrottleRequests::class,
'verified' => IlluminateAuthMiddlewareEnsureEmailIsVerified::class,
'Age' => AppHttpMiddlewareAgeMiddleware::class,
'Role' => AppHttpMiddlewareRoleMiddleware::class,
];
/**
* The priority-sorted list of middleware.
*
* This forces non-global middleware to always be in the given order.
*
* @var array
*/
protected $middlewarePriority = [
IlluminateSessionMiddlewareStartSession::class,
IlluminateViewMiddlewareShareErrorsFromSession::class,
AppHttpMiddlewareAuthenticate::class,
IlluminateSessionMiddlewareAuthenticateSession::class,
IlluminateRoutingMiddlewareSubstituteBindings::class,
IlluminateAuthMiddlewareAuthorize::class,
];
appHttpControllersTestController.php
<?php
namespace AppHttpControllers;
use IlluminateHttpRequest;
use AppHttpRequests;
use AppHttpControllersController;
class TestController extends Controller
public function index()
echo "<br>Test Controller.";
appHttpMiddlewareRoleMiddleware.php
<?php
namespace AppHttpMiddleware;
use Closure;
class RoleMiddleware
public function handle($request, Closure $next, $role)
echo "Role: ".$role;
return $next($request);
I'm at a loss at this point, as to why it would give me a 404. Looking up some other questions here on SO, I'd thought it was because the Route had role
and not /role
, but that change did nothing. I even did the following route:
Route::get('/test', function ()
return "Hello World";
);
And received a 404 as well. I created my project in PHPStorm, and as a "Composer Project" and used the package laravel/installer
.
php laravel
php laravel
asked Mar 23 at 20:53
PiousVenomPiousVenom
3,66173772
3,66173772
Did you created welcome view in the views folder?
– Marios Nikolaou
Mar 23 at 21:04
@MariosNikolaou: Thewelcome
view was created by default when I created the project.
– PiousVenom
Mar 23 at 21:08
Did you check main url to view welcome page?
– Mohammad b
Mar 23 at 21:10
localhost:8000/ -> shows the welcome view?
– Marios Nikolaou
Mar 23 at 21:10
Yes, I did.Welcome
view shows just fine
– PiousVenom
Mar 23 at 21:11
|
show 3 more comments
Did you created welcome view in the views folder?
– Marios Nikolaou
Mar 23 at 21:04
@MariosNikolaou: Thewelcome
view was created by default when I created the project.
– PiousVenom
Mar 23 at 21:08
Did you check main url to view welcome page?
– Mohammad b
Mar 23 at 21:10
localhost:8000/ -> shows the welcome view?
– Marios Nikolaou
Mar 23 at 21:10
Yes, I did.Welcome
view shows just fine
– PiousVenom
Mar 23 at 21:11
Did you created welcome view in the views folder?
– Marios Nikolaou
Mar 23 at 21:04
Did you created welcome view in the views folder?
– Marios Nikolaou
Mar 23 at 21:04
@MariosNikolaou: The
welcome
view was created by default when I created the project.– PiousVenom
Mar 23 at 21:08
@MariosNikolaou: The
welcome
view was created by default when I created the project.– PiousVenom
Mar 23 at 21:08
Did you check main url to view welcome page?
– Mohammad b
Mar 23 at 21:10
Did you check main url to view welcome page?
– Mohammad b
Mar 23 at 21:10
localhost:8000/ -> shows the welcome view?
– Marios Nikolaou
Mar 23 at 21:10
localhost:8000/ -> shows the welcome view?
– Marios Nikolaou
Mar 23 at 21:10
Yes, I did.
Welcome
view shows just fine– PiousVenom
Mar 23 at 21:11
Yes, I did.
Welcome
view shows just fine– PiousVenom
Mar 23 at 21:11
|
show 3 more comments
2 Answers
2
active
oldest
votes
My problem was that I was adding the route to appHttproutes.php
. The latest version of Laravel actually has web routes in routes/web.php
. Adding my route there solved my problem.
add a comment |
Please try using php artisan then report back with the result.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318266%2flaravel-route-showing-not-found%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
My problem was that I was adding the route to appHttproutes.php
. The latest version of Laravel actually has web routes in routes/web.php
. Adding my route there solved my problem.
add a comment |
My problem was that I was adding the route to appHttproutes.php
. The latest version of Laravel actually has web routes in routes/web.php
. Adding my route there solved my problem.
add a comment |
My problem was that I was adding the route to appHttproutes.php
. The latest version of Laravel actually has web routes in routes/web.php
. Adding my route there solved my problem.
My problem was that I was adding the route to appHttproutes.php
. The latest version of Laravel actually has web routes in routes/web.php
. Adding my route there solved my problem.
answered Mar 24 at 22:36
PiousVenomPiousVenom
3,66173772
3,66173772
add a comment |
add a comment |
Please try using php artisan then report back with the result.
add a comment |
Please try using php artisan then report back with the result.
add a comment |
Please try using php artisan then report back with the result.
Please try using php artisan then report back with the result.
answered Mar 24 at 16:42
Hank MoodyHank Moody
216
216
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55318266%2flaravel-route-showing-not-found%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Did you created welcome view in the views folder?
– Marios Nikolaou
Mar 23 at 21:04
@MariosNikolaou: The
welcome
view was created by default when I created the project.– PiousVenom
Mar 23 at 21:08
Did you check main url to view welcome page?
– Mohammad b
Mar 23 at 21:10
localhost:8000/ -> shows the welcome view?
– Marios Nikolaou
Mar 23 at 21:10
Yes, I did.
Welcome
view shows just fine– PiousVenom
Mar 23 at 21:11