CodeIgniter Forums
Default controller not loading properly - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Default controller not loading properly (/showthread.php?tid=44431)



Default controller not loading properly - El Forum - 08-14-2011

[eluser]Unknown[/eluser]
Hi there,

I've been developing a website with CodeIgniter, it all worked well, but suddently I had to stop developing it and now I'm trying to finish it.

Before I stop the dev, it all worked fine now when I go to http://localhost/ instead of loading me the default controller like used to do, it loads a 404 page.

I haven't changed any kind of config to make it go nuts. Anyone have an idea why this is happening?

Thanks.


Default controller not loading properly - El Forum - 08-16-2011

[eluser]praveens[/eluser]
it might be apache problem.do you have htacces file?


Default controller not loading properly - El Forum - 08-16-2011

[eluser]Unknown[/eluser]
Yah it is, I've copied the files to my host machine (the error is in a VMWare Fedora) and it works pretty well.

I guess I'll re-install the apache and see how it's going.

EDIT: reinstalled apache and php same error, i guess it is the PHP config because before install PHP apache caught the index.php file unparsed (simply show all PHP code without processing it)