Welcome Guest, Not a member yet? Register   Sign In
Help please
#1

[eluser]Unknown[/eluser]
Hi

I am having trouble from the get-go. New to CI. Just want to follow the first tutorial and I can't even do that which is very frustrating. I had trouble "installing" CI, but managed to figure it out. I have searched the forums for someone else to point this out but the tutorial's file structure is different to the CI file structure I just downloaded.

In my file structure, I have the CI folder with application, system and user_guide. In the video there is just system and user_guide. If I navigate to http://localhost/CodeIgniter/index.php I get the welcome page, but in the tutorial they get an error page.

Instead of creating my blog.php in CI/system/application/controllers, I put it in CI/application/controllers. Copying the same code as in the video and navigating to http://localhost/CodeIgniter/index.php/Blog/, I get the error:

Fatal error: Class 'Controller' not found in C:\wamp\www\CodeIgniter\application\controllers\blog.php on line 3

I have given up on this in annoyance and I am following the written tutorials instead. Can someone please explain to me what I am doing wrong?




Messages In This Thread
Help please - by El Forum - 08-19-2012, 02:41 PM
Help please - by El Forum - 08-19-2012, 02:55 PM
Help please - by El Forum - 08-19-2012, 02:59 PM



Theme © iAndrew 2016 - Forum software by © MyBB