CodeIgniter Does not run Hello world |
[eluser]Dam1an[/eluser]
I just tried his original, with the funny quotes, and it gives a parse error Code: Parse error: parse error, expecting `','' or `';'' in C:\xampp\htdocs\project_trackr\controllers\blog.php on line 6
[eluser]codeman[/eluser]
Still Nothing Guys, Here is my code and URL I am using Code: <?php and I am using http://My IP/CodeIgniter/index.php/blog/ I have PHP 5 running on my local Host and PHP 5 is working fine Please help me, Thanks,
[eluser]Dam1an[/eluser]
Put an echo in your constructor, see if it even gets that far
[eluser]jdfwarrior[/eluser]
Did you move the app or system folders around? If you just take the system folder and drop it in the root with the index.php it should just work. Are you getting an error? What is it doing? "its not working" doesnt exactly tell us much about whats going on.
[eluser]codeman[/eluser]
NO echo is not working either and here is my path /root/Codeigniter/System/Controllers/Blog.php I am not getting any error - it shows blank page with nothing - just white page, sometimes i feel errors are better than no error problems I am not sure what ami doing wrong - i am following simple instruction form the code igniter website why is it this complicated, By the way great help - you guys are fast in replyinh - unsually great
[eluser]jdfwarrior[/eluser]
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
[eluser]codeman[/eluser]
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
[eluser]jdfwarrior[/eluser]
How did you confirm php was working? phpinfo()? where is the index.php located? root? |
Welcome Guest, Not a member yet? Register Sign In |