[eluser]HugoA[/eluser]
jmadsen,
i did everything you tell me in your post but i can make this to work. If i comment all the lines that have something to do with the db i can see the message "La vista fue cargada" because basically mi controller only render the view.
I think the error has something to do with the database and this line in the autoload.php file
$autoload['libraries'] = array('database');
If i replace that line with
$autoload['libraries'] = array();
i can see the message
but if i use array('database') i just see a white page.
So
this is the view
Code:
<html>
<head>
<title>Home</title>
</head>
<body>
<p>La vista fue cargada</p>
</body>
and the controller
Code:
<?php
class Site extends Controller{
function index(){
//$this->load->model(');
//$data['records'] = $this->Site_model->getAll();
$this->load->view('home');
}
}
?>
With $autoload['libraries'] = array(); i can see the message in the page. With $autoload['libraries'] = array('database'); i can't
PD:Thank you all for your time and help.