Welcome Guest, Not a member yet? Register   Sign In
New to codeigniter, would like some help with an issue
#1

[eluser]Unknown[/eluser]
Hello. I'm just starting to learn CodeIgniter and I'm on the Static Pages section of the tutorial, which can be found at this url: http://ellislab.com/codeigniter/user-gui...pages.html

Anyways, I've followed all of the instructions and got to this part:

The controller is now functioning! Point your browser to [your-site-url]index.php/pages/view to see your page. When you visit index.php/pages/view/about you'll see the about page, again including the header and footer.

I followed those instructions and got this error message: No input file specified.

Has anyone gotten an error message like this before? What did I do wrong?
#2

[eluser]Tpojka[/eluser]
Read that page to the end one more time. You forgot this part of code settings:
Code:
$route['default_controller'] = 'pages/view';
$route['(:any)'] = 'pages/view/$1';
You should open application/config/routes.php and write this above in it. Find there what to rewrite.
Also, this is user guide part you should read about routing.




Theme © iAndrew 2016 - Forum software by © MyBB