![]() |
wampserver in window : CodeIgniter doesn't show my pages - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: wampserver in window : CodeIgniter doesn't show my pages (/showthread.php?tid=58152) |
wampserver in window : CodeIgniter doesn't show my pages - El Forum - 05-21-2013 [eluser]absfrm[/eluser] Hi I've just moved to CodeIgniter! In my windows I've installed wamp server and when i load the localhost/ci , The welcome_message.php will load success. But , I've created a file named : site.php and have written on : Code: <?php why? Please help, I'm new in CodeIgniter and this is my first try ![]() Thank you. wampserver in window : CodeIgniter doesn't show my pages - El Forum - 05-21-2013 [eluser]flacznik[/eluser] Did you allowed mode REWRITE on your wamp server? wampserver in window : CodeIgniter doesn't show my pages - El Forum - 05-21-2013 [eluser]absfrm[/eluser] [quote author="flacznik" date="1369122824"]Did you allowed mode REWRITE on your wamp server?[/quote] yes. In my httpd.conf Quote:LoadModule rewrite_module modules/mod_rewrite.sois enable wampserver in window : CodeIgniter doesn't show my pages - El Forum - 05-21-2013 [eluser]flacznik[/eluser] Then I think there might be something wrong with your configuration - check: $route['default_controller'] = 'ci'; and $config['base_url'] = 'http://localhost/ci/'; If you didn't place .htaccess in the root folder than you leave $config['index_page'] = 'index.php'; wampserver in window : CodeIgniter doesn't show my pages - El Forum - 05-21-2013 [eluser]absfrm[/eluser] [quote author="flacznik" date="1369123851"]Then I think there might be something wrong with your configuration - check: $route['default_controller'] = 'ci'; and $config['base_url'] = 'http://localhost/ci/'; If you didn't place .htaccess in the root folder than you leave $config['index_page'] = 'index.php';[/quote] of course there is no .htaccess in my ci directory! directories are : application , system , user-guide files : index.php wampserver in window : CodeIgniter doesn't show my pages - El Forum - 05-21-2013 [eluser]absfrm[/eluser] any other idea? wampserver in window : CodeIgniter doesn't show my pages - El Forum - 05-21-2013 [eluser]absfrm[/eluser] It seems that the method is wrong... I'm trying true methods |