I'm new to codeIgniter and when i tried to connect to my database it shows the following error.

A PHP Error was encountered

Severity: Notice

Message: Undefined property: newChild::$load

Filename: controllers/hello.php

Line Number: 35

Fatal error: Call to a member function database() on a non-object in C:\xampp\htdocs\CodeIgniter_2.1.3\application\controllers\hello.php on line 35.

I changed all the settings in config.php, database.php and autoload.php
Still i get this error.. Please Help me.. Thanks in advance..