index.htm prompts to download window (localhost) |
[eluser]arffup[/eluser]
Hello. I recently installed codeigniter on WAMP as a test server. I have to perform modifications to a site developed by another people in Code Igniter. In the production site you enter by http://URL.org and offers a menu ---> aboutus.htm and the main site (index.php) http://URL.org/index.php when you click over any element you go to http://URL.org/index.php/something/something OK but if I want to develop in my test server as localhost I can view the main page (menu), i can view the aboutus.html but when I want to watch the index.php or index.php/anything/anything I am prompted to the "download/save/cancel" window. I can't navigate locally. Code: $config['base_url'] = "http://localhost:4141/fundacion/html/"; my path is www/fundacion/html/(all teh files) Someone knows why I can't navigate? Maybe is some with apache configuration? Thanks
[eluser]tonanbarbarian[/eluser]
i would say that php is not setup correctly on your wamp server try attempting to run a simplke php script create a file called phpinfo.php someone in the website Code: <?php phpinfo(); ?> If you see the page then there is likely an extension in PHP that is not enabled, or some other error that is causing the page to display incorrectly
[eluser]arffup[/eluser]
Hello tonanbarbarian. I can work with other php pages outside codeigniter (not MVC)I have other projects without troubles. My problem is only with this one. There is some specific configuration in apache/php in order to use MVC and routing index.php/some ? Maybe my system doesn't understand this kind of path? Thanks
[eluser]arffup[/eluser]
[quote author="kirtan.n" date="1287691189"]Is your default page loading?? troubleshooting [/quote] Hi. yes, I can load the default page and my config.php includes the "index.php?" I tried without question mark and obtain same bad result. Thanks
[eluser]mercurio[/eluser]
I'm not sure that's a definitive solution but I solved the problem as follows in the index.php file at the root, in line error_reporting (E_ALL); the change by error_reporting (E_STRICT); I hope you solve the problem System:Linux ubuntu 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:58:24 UTC 2010 x86_64 Apache Version: Apache/2.2.14 (Ubuntu) PHP Version: 5.3.2-1ubuntu4.5 Codeigniter Version: 1.72
[eluser]arffup[/eluser]
Thank you Mercurio but it doesn't function for me :down: |
Welcome Guest, Not a member yet? Register Sign In |