Welcome Guest, Not a member yet? Register   Sign In
routes not recognized after Post
#1

Hi all,

Since a few months I've been using CI4 for some projects and, in all honesty, Im very satisfied. 

However, I'm struggling with an issue I just can't figure out. 

When I navigate to a page in the application using regular links all works fine.  The routes are initializing perfectly.  When I do a post to the same page, the post is received and processed properly but when rendering the page, the routes are seemingly unknown. 

Please find below the message i get which seems to say that the routes are not valid.  (but like i said, when i navigate to the page with regular links, the routes are initialized perfectly.

----------------------------------------------------------------------------------------------
Unable to locate a valid route.


BASEPATH/Router\RouteCollection.php at line 950

Code:
throw new \InvalidArgumentException('Unable to locate a valid route.');

----------------------------------------------------------------------------------------------
Reply


Messages In This Thread
routes not recognized after Post - by LVD - 03-23-2018, 02:42 AM
RE: routes not recognized after Post - by scalla - 03-24-2018, 12:26 AM
RE: routes not recognized after Post - by LVD - 03-25-2018, 03:01 AM



Theme © iAndrew 2016 - Forum software by © MyBB