Skip to content

No more welcome page in 4.0? #8783

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vekien opened this issue Nov 29, 2017 · 2 comments
Closed

No more welcome page in 4.0? #8783

vekien opened this issue Nov 29, 2017 · 2 comments

Comments

@vekien
Copy link
Contributor

vekien commented Nov 29, 2017

Following: http://symfony.com/doc/4.0/setup.html

  • composer create-project symfony/skeleton my-project
  • cd my-project
  • composer require server
  • php bin/console server:run

Quote:

Open your browser and navigate to http://localhost:8000/. If everything is working, you'll see a welcome page.

Instead get:

Sorry, the page you are looking for could not be found.

(2/2) NotFoundHttpException
No route found for "GET /"

In 3.3 there used to be a welcome. The 4.0 skeleton doesn't create any kind of controller or template at all, so you have to do that yourself.

@yceruto
Copy link
Member

yceruto commented Nov 29, 2017

This experience was improved since 3.4, use -s rc to create a new 4.0-RC project and the welcome page will be there at GET /.

@javiereguiluz
Copy link
Member

javiereguiluz commented Nov 30, 2017

@viion thanks for reporting, but as @yceruto said, we changed this recently and now Symfony shows a Welcome Page again. If you are curious, in symfony/symfony#24403 you can see the clever trick used by @yceruto to show the Welcome Page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants