Welcome Guest, Not a member yet? Register   Sign In
Problem with 'Hello World'
#1

[eluser]ammtar[/eluser]
This is my first contact with framework. with CI too, of course.
I downloaded CI, unpacked in MAMP, started first tutorial, "Hello World" - and got white screen!?!?!?!? No error but the screen, view source as well, is empty.

Not so promising beginning :-(

1. unpacked zip and renamed to ci
2. moved ci to htdocs (MAMP)
3. in "controllers" created file "site.php", as said in tutorial
4.
Code:
class Site extends Controller
{
    function index()
    {
       echo "Hello World";
    }
}

5. open browser: localhost/ci
I'm getting "Welcome to CodeIgniter" message

6. opening localhost/ci/index.php/site/index, as it said in tutorial, and - nothing. Empty page. View source is empty too.

If my version of CI and version of CI used in the video tutorial are not "compatible" where to find correct on? What I supposed to do before?

Thanks for any help.

Afan


Messages In This Thread
Problem with 'Hello World' - by El Forum - 08-03-2011, 09:21 AM
Problem with 'Hello World' - by El Forum - 08-03-2011, 09:35 AM
Problem with 'Hello World' - by El Forum - 08-03-2011, 09:57 AM
Problem with 'Hello World' - by El Forum - 08-03-2011, 11:17 AM
Problem with 'Hello World' - by El Forum - 08-03-2011, 11:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB