[SOLVED] headers already sent

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

[SOLVED] headers already sent

Post by chrisbar »

When opening my site, the follwing is shown in the head of my page. I have had this problem once more after upgrading the the latest version of CMSMS (1.9.4). Yesterday I tried to get more memory (needed to intall new updates, but it did not work. I have set the config.php back to the content it had before yesterday. Now header information is shown.
Any idea?


Warning: Cannot modify header information - headers already sent by (output started at /home/users/r/e/redeag/www/config.php:1) in /home/users/r/e/redeag/www/index.php on line 264

Warning: Cannot modify header information - headers already sent by (output started at /home/users/r/e/redeag/www/config.php:1) in /home/users/r/e/redeag/www/index.php on line 265

Warning: Cannot modify header information - headers already sent by (output started at /home/users/r/e/redeag/www/config.php:1) in /home/users/r/e/redeag/www/index.php on line 266

Warning: Cannot modify header information - headers already sent by (output started at /home/users/r/e/redeag/www/config.php:1) in /home/users/r/e/redeag/www/index.php on line 267

Warning: Cannot modify header information - headers already sent by (output started at /home/users/r/e/redeag/www/config.php:1) in /home/users/r/e/redeag/www/index.php on line 268

Warning: Cannot modify header information - headers already sent by (output started at /home/users/r/e/redeag/www/config.php:1) in /home/users/r/e/redeag/www/index.php on line 377


The index.php has the following lines in it starting at line 263:

// Here we adjust headers for non cachable pages
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
Last edited by chrisbar on Tue May 03, 2011 8:34 am, edited 1 time in total.
chrisbar
Forum Members
Forum Members
Posts: 162
Joined: Tue Oct 26, 2010 7:36 pm

Re: headers already sent

Post by chrisbar »

Solved the problem. I replaced the config.php with the config.php of my backup. Everything works again. The difference is in the memory limt. In the current config.php this is set to ' '. In the former config.php this was set tp '32M'

Could this be the problem?

Kind regards
Chris
Post Reply

Return to “Layout and Design (CSS & HTML)”