-
Notifications
You must be signed in to change notification settings - Fork 476
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
Slim Skeleton shows 500 error right after setup #119
Comments
Update: I just changed the line 28 of ResponseEmitter.php to I installed Trailing Slash middleware as mentioned in the documentation by
and changing
Still no luck with trailing slashes, shows 404 for routes with /. |
Same here I got 404 after installation. Any help? |
Oh thats my Nginx config @gopumon check your webserver config. It might be wrong with your web server configuration |
Come on to the Slim slack and maybe someone can help you: |
Thanks @timogoosen , but I don't have an invitation on that Slack workspace. The issue I face is the middleware TrailingSlash is not modifying the routes. The uri without trailing slashes works. The middleware have no effect. Initiates middleware on routes without trailing slashes. I got rid of the 500 error with a simple if statement as mentioned above, don't know why that |
This question is better asked on our Slack and/or our discourse forum. |
This has been fixed via #117 I haven't tagged a new release yet. I will later this week. |
Just released |
Right after
composer create-project slim/slim-skeleton myslimsite
, I rancomposer start
and went tolocalhost:8080/users/
which returned a json object as below.Any help on this much appreciated.
The text was updated successfully, but these errors were encountered: