Welcome Guest, Not a member yet? Register   Sign In
Controller - newbie bug help
#1

[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
#2

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

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

[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.
#4

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

[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!




Theme © iAndrew 2016 - Forum software by © MyBB