I just started to develop a new site with CI. For now, I only have three view files loaded on my index pages which are made strictly with HTML. When I visit the index page, I get the following error:
CI Error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Index::$load
Filename: controllers/index.php
Line Number: 7
PHP Error:
Fatal error: Call to a member function view() on a non-object in /home/unholy/public_html/blackdiamondgaming/system/application/controllers/index.php on line 7
My Index.php page:
<?php
class Index extends Controller {
function index(){
$this->load->view('overall_header');
$this->load->view('index_body');
$this->load->view('overall_footer');
}
}
Any one have any ideas?
