Warning Messages

Permalink 1 user found helpful
When I try to enter this website:http://www.altes-beueler-damenkomitee.de/test... I get the following warning messages:

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /mnt/webj/c2/83/5663283/htdocs/test/config/site.php:1) in /mnt/webj/c2/83/5663283/htdocs/test/concrete/startup/session.php on line 32
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /mnt/webj/c2/83/5663283/htdocs/test/config/site.php:1) in /mnt/webj/c2/83/5663283/htdocs/test/concrete/startup/session.php on line 32
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /mnt/webj/c2/83/5663283/htdocs/test/concrete/models/user.php on line 71
Warning: Cannot modify header information - headers already sent by (output started at /mnt/webj/c2/83/5663283/htdocs/test/config/site.php:1) in /mnt/webj/c2/83/5663283/htdocs/test/concrete/models/user.php on line 264
Warning: Cannot modify header information - headers already sent by (output started at /mnt/webj/c2/83/5663283/htdocs/test/config/site.php:1) in /mnt/webj/c2/83/5663283/htdocs/test/concrete/libraries/controller.php on line 356


This error occurred after installing the German language pack.
More precisely after adding the line
define('LOCALE', 'de_DE');
to the site.php file.
I tried replacing the edited file with the default one, but the error is still there.

any ideas?

best jonas

 
jero replied on at Permalink Best Answer Reply
jero
Make sure you have no blank lines in config/site.php. First line should be the <?php tag, and to be safe, don't include a closing ?> tag. That way every line will be interpreted as php code.
Arismoon replied on at Permalink Reply
Arismoon
Solved my issue. Thanks!
ClickAccount replied on at Permalink Reply
ClickAccount
just wanted to jump in here in case someone has the same problem I did - Jero's solution worked for me:





I opened the site.php file and removed this:
?>
<?php define('DIRNAME_APP_UPDATED', 'concrete5.6.3.1_updater');?>

Now I'm not getting the error messages - the site is showing up correctly.