CodeIgniter Forums
Controller - newbie bug help - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Controller - newbie bug help (/showthread.php?tid=5170)



Controller - newbie bug help - El Forum - 01-09-2008

[eluser]axecutioner[/eluser]
Hi everyone! I'm brand new to using CI and also PHP frameworks in general. I have followed all of the instructions in the General Documents section, up to the Controllers section, because this is where I got stuck. Smile

I'm following the Blog example that the help indicates. The file name is "blog.php" with lowercase b, the code copied directly from the help page, and the file rests in "system/application/controllers/". Instead of saying "hello world" as I expect, I get this:

"No input file specified."

My URL is the following: http://www.firefalcon.net/index.php/blog/index/

I have extracted the "system" folder and "index.php" to the root of my site. In "system/application/config/controller.php" I set this line:

$config['base_url'] = "http://www.firefalcon.net/";

What more do I have to do to get on track?

Any help for a newbie is much appreciated Smile


Controller - newbie bug help - El Forum - 01-09-2008

[eluser]Pascal Kriete[/eluser]
You aren't hosted on dreamhost by any chance?

EDIT: nvm, I checked - you're not Tongue.


Controller - newbie bug help - El Forum - 01-09-2008

[eluser]axecutioner[/eluser]
No, I am hosted on GoDaddy. I am also running their out-of-the-box version of PHP5.

I failed to mention, I also tried changing this line in the config.php as directed in the troubleshooting page, after trying all the other query types:

$config['index_page'] = "index.php?";

Where I added the ? in, and I still got the same error.


Controller - newbie bug help - El Forum - 01-09-2008

[eluser]Pascal Kriete[/eluser]
Try this thread.


Controller - newbie bug help - El Forum - 01-09-2008

[eluser]axecutioner[/eluser]
Will try using .htaccess. It takes my wonderful shared host plan up to a day to recognize it though (and that stat is through my own experience, not from a help file Wink ). Thank you!