home controller |
Hello
my home controller routes do not work so if i go to www.mysite.com is ok witch (default controller is home) but if i go www.mysite.com/home/register/ i get another page witch i do not know
It should go to the register function of your home controller class.
If it's not doing that, you're going to need to give a lot more information before we can start to guess what might be wrong. what happens if you go to http://www.mysite.com/index.php/home/register/ ?
yes it should go ,it seems that is going there if i look to the url but it shows me a different page ...if i use the url with index.php it gets redirected to the url without index.php ,because are rules to remove the index.php from url
Hello,
You should enable profiler to see debug info. To do so, add this line to your controller before loading view : PHP Code: $this->output->enable_profiler(TRUE); (12-09-2014, 12:13 AM)djcata Wrote: yes it should go ,it seems that is going there if i look to the url but it shows me a different page ...if i use the url with index.php it gets redirected to the url without index.php ,because are rules to remove the index.php from url Hve you removed index.php from the config file?
Romanian CodeIgniter Team :: Translations :: Comunity :: Developers
http://www.codeigniter.com.ro
yes i have remove it ,and other controllers work
it could be something that happened after i changed .htaccess file to remove the index.php and after that another parte to redirect old site index.php to new site without index.php (is not my site,i didn't built it ) (12-09-2014, 05:28 AM)Dracula Wrote:(12-09-2014, 12:13 AM)djcata Wrote: yes it should go ,it seems that is going there if i look to the url but it shows me a different page ...if i use the url with index.php it gets redirected to the url without index.php ,because are rules to remove the index.php from url
i will try this too
(12-09-2014, 05:27 AM)Dracula Wrote:(12-08-2014, 05:07 PM)djcata Wrote: Hello (12-09-2014, 08:54 AM)djcata Wrote: i will try this too Sorry for this, i pressumed that you have in your routes this: $route['register'] = 'home/register';
Romanian CodeIgniter Team :: Translations :: Comunity :: Developers
http://www.codeigniter.com.ro |
Welcome Guest, Not a member yet? Register Sign In |