[eluser]Yakow[/eluser]
Hi.
Anyone can help me ?
My controller is this:
Code:
<?php defined('BASEPATH') OR exit('No direct script access allowed');
class Noticias extends CI_Controller {
function __construct(){
parent::__construct();
}
function index(){
echo "say hi.";
}
}
i deleted all other files (model, views etc...)
so when I run this aplication on localhost i dont recive this warning.
When i put on a internet, i recived this message:
Code:
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/webda/public_html/caronaclube.com.br/red/application/controllers/administracao/noticias.php:1)
Filename: libraries/Session.php
Line Number: 673
Why? I just have this controller.
In my AUTOLOAD in put 'session', is right?