Try to turn on debug and replace your statement in the index method
with debug('In index');
You echo statement in the index method may be the one that makes an
output, before the index view starts doing that, thus giving you the
error!
Debug is turned on in your app/config/core.php file - look for
Hello!
I have a problem with ->redirect() in my controller.
I've downloaded the cakephp 1.2.5 empty project and created
users_controller, here is it:
class UsersController extends AppController
{
var $name = "Users";
function index()
{
echo 'index';
}
function test(