DEV Community

faithray2755
faithray2755

Posted on

ERROR Server

Hello. I am a beginner here and in web development. I need some advice. Am working on a shopping cart program and i keep getting this..[Web Server ] Apr 21 13:13:10 |WARN | SERVER GET (404) / ip="127.0.0.1"
[Application] Apr 21 11:13:10 |ERROR | REQUES Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "No route found for "GET http://127.0.0.1:8000/"" at C:\Users\33769\my_caddie\vendor\symfony\http-kernel\EventListener\RouterListener.php line 130

Top comments (4)

Collapse
 
curiousdev profile image
CuriousDev • Edited

This looks like your PHP server cannot find the page you are requesting. Maybe you can debug this, at least have a look where the routing is happening. But I am no PHP expert. Also you can check for some information about code 404.

Collapse
 
faithray2755 profile image
faithray2755

Thank you for you response. Yes, it's a php project using symfony 6. I will do that(code 404 and do the debug) .

Collapse
 
curiousdev profile image
CuriousDev

Just look how the routing is usually working, when you are calling server without any "page". With it would be like "127.0.0.1:8000/page", but you are trying to call it without and the server should also be able to handle something like "127.0.0.1:8000/". Just have a look at documentation of PHP and routing.

Thread Thread
 
faithray2755 profile image
faithray2755

Thank you ! It's working.