RouteCollection.php line 161

0

I developed a PHP application using Laravel on a computer, when I copied this same project to another computer and run the same, the following error occurs:

  

NotFoundHttpException in   C: \ wamp64 \ www \ FindPet \ vendor \ laravel \ framework \ src \ Illuminate \ Routing \ RouteCollection.php   line 161: in RouteCollection.php line 161 at   RouteCollection-> match (object (Request)) in Router.php line 780 at   Router-> findRoute (object (Request)) in Router.php line 610 at   Router-> dispatchToRoute (object (Request)) in Router.php line 596 at   Router-> dispatch (object (Request)) in Kernel.php line 267 at   Kernel-> Illuminate \ Foundation \ Http {closure} (object (Request)) in   Pipeline.php line 53 at   Pipeline-> Illuminate \ Routing {closure} (object (Request)) in   CheckForMaintenanceMode.php line 46 at   CheckForMaintenanceMode-> handle (object (Request), object (Closure)) in   Pipeline.php line 137 at   Pipeline-> Illuminate \ Pipeline {closure} (object (Request)) in   Pipeline.php line 33 at   Pipeline-> Illuminate \ Routing {closure} (object (Request)) in   Pipeline.php line 104 at Pipeline-> then (object (Closure)) in Kernel.php   line 149 at Kernel-> sendRequestThroughRouter (object (Request)) in   Kernel.php line 116 at Kernel-> handle (object (Request)) in index.php   line 54

On the computer that I developed, when running, when I access other pages, everything happens normally without errors, but the same project on another computer points to the error of routes when accessing other pages.

    
asked by anonymous 15.10.2016 / 01:57

1 answer

0

The laravel has a configuration that the site has to be started in the folder public / so everything works perfect, you have to configure your wamp configuring this virtual directory so that it works, otherwise it gives these problems! >

Credits for Virgilio Novic

    
03.11.2016 / 21:18