I'm trying to set up Codeigniter in my mac, but with no luck. When loading every page, appears a blank page.
I'm following the Codeigniter tutorial from the official site. Checked the base URL configured in config.php, but seems to be ok, now: http://localhost:8080/
Also, the directory where there is the file that I'm trying to open seems to be in the correct folder: nfs://192.168.64.2/opt/lampp/htdocs/application/views/pages
The pages.php code is the next:
<?php
class Pages extends CI_Controller {
public function view($page = 'home')
{
}
}
I expected to load about.php and appear the header, about page and footer.