CodeIgniter Forums
PROBLEM WITH INSTALATION - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forum-21.html)
+--- Thread: PROBLEM WITH INSTALATION (/thread-34227.html)



PROBLEM WITH INSTALATION - El Forum - 09-23-2010

[eluser]micasony[/eluser]
Dear Friend
I am new with codeigniter please help me out. I have installed codeigniter and when i tried to add my custom code in cotroller and then in view and called the view from controller and type to url it gives me 404 error....
my url is=www.somsoftsolutions.com/codig
my custom code is www.somsoftsolutions.com/codig/index.php/blog/blog.php
please help where i am getting error......
thanks


PROBLEM WITH INSTALATION - El Forum - 09-23-2010

[eluser]WanWizard[/eluser]
Do you have a .htaccess in place?

If you remove that, does http://www.somsoftsolutions.com/codig/index.php/blog/blog.php work?


PROBLEM WITH INSTALATION - El Forum - 09-23-2010

[eluser]micasony[/eluser]
No i am not using even .htaccess?


PROBLEM WITH INSTALATION - El Forum - 09-23-2010

[eluser]WanWizard[/eluser]
Nothing in the document root as well? Or in the apache config?

Even loading http://www.somsoftsolutions.com/codig/index.php or http://www.somsoftsolutions.com/codig/ throws a 404 error, generated by the webserver, so it doesn't even get to CI.


PROBLEM WITH INSTALATION - El Forum - 09-23-2010

[eluser]micasony[/eluser]
Nope i did not configured any .htaccess. index file of http://www.somsoftsolutions.com/codig/index.php is working fine. But when i went to add my own controller like blog it gives me error.


PROBLEM WITH INSTALATION - El Forum - 09-23-2010

[eluser]micasony[/eluser]
Thanks for helping i got my error i was not defining default controller in rounte. But now its giving me the error unable to load file blogview error :Unable to load the requested file: blogview.php?


PROBLEM WITH INSTALATION - El Forum - 09-23-2010

[eluser]WanWizard[/eluser]
What is blogview? Bit of code would be helpful...