Quantcast
Channel: CodeIgniter Forums - All Forums
Viewing all articles
Browse latest Browse all 14343

routes not recognized after Post

$
0
0
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.');

----------------------------------------------------------------------------------------------

Viewing all articles
Browse latest Browse all 14343

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>