404 on complex url after CI upgrade to 2 |
[eluser]regcoll[/eluser]
Hi, In one place my app has a complex URL that looks like: http://server/index.php/cont/func/<card><c%20uid%3D"1"/></card> It worked before but after upgrading to CI 2 it stopped working and I get "404 Page Not Found" error. If I call http://server/index.php/cont/func it works ok. The error I'm getting in the log file is ERROR - 2012-03-06 14:56:22 --> 404 Page Not Found --> <card><c%20uid%3D"1"/></card> I've tried different $config['uri_protocol'] values without any luck. What else can I try? Thanks
[eluser]regcoll[/eluser]
[quote author="Aken" date="1331008997"]Did you update/check your routes file?[/quote] Not sure what you mean.. My other pages work, same page without third segment works fine too.
[eluser]Aken[/eluser]
I really can't make it more simple than that. I suggest you read the user guide and learn more about how CI URLs and routing work.
[eluser]regcoll[/eluser]
I guess you're talking about http://ellislab.com/codeigniter/user-gui...uting.html In my case I use http://server/index.php/cont/func where "cont" is controller and "func" is a function and the routing works great But when I want to pass a complex parameter in the next segment (urlencoded xml that looks like <card>) and my URL looks like http://server/index.php/cont/func/<card> then the entire page doesn't work with error ERROR --> 404 Page Not Found --> <card> It worked in CI 1.7 but doesn't work in CI 2.1 |
Welcome Guest, Not a member yet? Register Sign In |