session_regenerate_id(): Cannot regenerate session id - headers already sent

yes, u’re right…

my problem was solved by this

I used netbeans, and whitespace before


<?php

at first page make a echo’ing … :)

tx so much for this info…

Thought I’d share what was my problem. Maybe it’ll help someone one day.

In one of my component classes, I’d added the PHP closing tag of




?>



to the end of the file and there was a blank line after that. Brutal diagnosing since 1and1.com (hosting service) doesn’t allow access to Apache error logs. I figured it out while waiting for tech support to help with the error log

I added




      error_reporting(E_ALL);

      ini_set('display_errors', '1');

      defined('YII_DEBUG') or define('YII_DEBUG',true);



to the main index.php and that revealed which file had the problem.

Excellent!

I agree! Excellent!!!