Buongiorno,
ho trasferito il mio sito da remoto a locale per alcuni test, tutto ok tranne questi errori:
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\www\configuration.php:1) in C:\xampp\htdocs\www\libraries\joomla\session\session.php on line 462
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\www\configuration.php:1) in C:\xampp\htdocs\www\libraries\joomla\session\session.php on line 462
nella riga 462 trovo: session_start();
Start session if not started
if ($this->_state == 'restart') {
session_id($this->_createId());
} else {
$session_name = session_name();
if (!JRequest::getVar($session_name, false, 'COOKIE')) {
if (JRequest::getVar($session_name)) {
session_id(JRequest::getVar($session_name));
setcookie($session_name, '', time() - 3600);
}
}
}
session_cache_limiter('none');
session_start();
Come risolvo?
Grazie!