Redirect Error |
[eluser]toopay[/eluser]
Yes, but you put inapropriate redirect response i guess.
[eluser]pictwist[/eluser]
I think so, i shall try to find the cause. i may be some thing to do with calling the default controller
[eluser]toopay[/eluser]
Your solution is either create some base controller which can extend by any controller or create pre-controller hook. Also, try check "Ignited Code" section, and find some auth library which maight be match with your need.
[eluser]crimsun[/eluser]
Hi Team, My current site is in 1.7.2 version and i want to upgrade the version to 2.0. And i follow the process which is guide by ci forum. However when i open the site link its open the home page means default controller class only for all the classes / controller. I didn’t get the link working well. www.domain.com/home .....its work for home page www.domain.com/login .....its again display homepage www.domain.com/profile .....its again display homepage No any other page is display.... Can anybody help me out. Thanks in Advance.
[eluser]pictwist[/eluser]
Hello, I need more details regarding how you reference the controller classes after you upgraded. Did you notice the change in the name of the controller class i.e. for version 1.7.x Code: class Welcome extends Controller but for 2.0.x Code: class Welcome extends CI_Controller If this is not the cause, could you provide the code for one of your controller classes? Thanks
[eluser]crimsun[/eluser]
Hi, Code: class Home extends CI_Controller { While i open the main link it run this controller as link... www.demo.com/home Then i clicked on other tab www.demo.com/aboutus Its just affect in URL....however the view page is still shown for Home controller/function only.. Please suggest me the way how to get out from here.. Thanks in advance
[eluser]pictwist[/eluser]
Hello, Could you provide the code for a controller other than the home controller?
[eluser]TheFuzzy0ne[/eluser]
It sounds like your .htaccess file might not be quite right. Do you get the right results when you access your pages like this? yoursite.tld/index.php/home yoursite.tld/index.php/aboutus |
Welcome Guest, Not a member yet? Register Sign In |