put it in system/app/controllers
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
April 27, 2009 2:21pm
Subscribe [2]#16 / Apr 27, 2009 6:00pm
put it in system/app/controllers
#17 / Apr 27, 2009 6:01pm
Yes thats where my blog.php file is
#18 / Apr 27, 2009 6:03pm
no theres a difference. In the system folder, there should be an application folder, inside of that is a controllers folder. It should be there. You didnt have application in the path for your blogs.php file earlier
#19 / Apr 27, 2009 6:04pm
oops sorry - ya it is there, my bad, so path is also right,
My code is also right, and my PHP 5 is working fine so what is the problem
#20 / Apr 27, 2009 6:07pm
How did you confirm php was working? phpinfo()?
where is the index.php located? root?
#21 / Apr 27, 2009 6:09pm
no my index.php is not located in root, should it be at root?
I have just built Event Scheduling Application so i kow my PHP is working….
But let me try moving everything to root and see -
#22 / Apr 27, 2009 6:11pm
index should be where ever you want the load point to be. For instance, if you want it to load up from http://localhost, then yes, it should be at the web root, and you should open the index.php and make sure the paths/names of the system folder and such are correctly set inside the index.php
#23 / Apr 27, 2009 6:17pm
Tried that as well - nothing working - my application path inside index.PHP is also looks right -
So i tried moving the index.php and whole system folder both to the root and now my path i am calling is
my IP/index.php/blog
#24 / Apr 27, 2009 6:19pm
What are you using as the web server? Something like xampp or wampserver or what?
#25 / Apr 27, 2009 6:20pm
I am using appServe
#26 / Apr 27, 2009 6:31pm
I just got on my windows box and..
#1. Downloaded AppServ and CodeIgniter.
#2. Default install on AppServ
#3. Went to c:\AppServ\www
#4. Paste in files from CodeIgniter. (system folder, user guide folder, license, and index.php)
#5. Went to http://localhost, and got the CodeIgniter welcome screen
#6. Went to c:\AppServ\www\system\application\controllers\ and created blog.php
#7. Inserted same code I showed you before
#8. Navigated to http://localhost/index.php/blog and got hello world.
#27 / Apr 27, 2009 6:36pm
Sorry dude - it still doe not work - I have exactly what you have i followed all steps from 3 to 8 and still nothing, not even Codeigniter Welcome screen
- I guess - i ll download codeigniter again and unzip it again see if that helps
#28 / Apr 27, 2009 6:38pm
no nothing - do you think i should reinstall Appserv again
#29 / Apr 27, 2009 6:41pm
Couldn’t hurt?
#30 / Apr 27, 2009 6:53pm
Is there a compelling reason for using AppServe… most users here (from what I’ve seen) use XAMPP (including me) and it works fine…
Anyone else used AppServe.. works? doesn’t?