[solved] Warning: Cannot modify header information
[solved] Warning: Cannot modify header information
Installed MLE 1.2.5 and everything work ok, well flag is looking for wrong home page in second lang., trying traditional chinese...
Read and followed all the instructions/video and the downloadable Doc...
Current PHP Version: 4.4.4
Maximum Post Size: 64M
Maximum Upload Size: 64M
PHP Memory Limit: 64M
MySQL Server Version: 4.1.22-standard
Server Software: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
But the back end is throwing this in the head,
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/include.php on line 222
= $mlelocale_cms = get_preference($gCms->variables['user_id'],'default_cms_language');
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 161
= header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 164
= header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 167
= header("Cache-Control: no-store, no-cache, must-revalidate");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 168
= header("Cache-Control: post-check=0, pre-check=0", false);
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 171
= header("Pragma: no-cache");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 176
= header("Content-Type: text/html; charset=$encoding");
Read and followed all the instructions/video and the downloadable Doc...
Current PHP Version: 4.4.4
Maximum Post Size: 64M
Maximum Upload Size: 64M
PHP Memory Limit: 64M
MySQL Server Version: 4.1.22-standard
Server Software: Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.1b
But the back end is throwing this in the head,
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/include.php on line 222
= $mlelocale_cms = get_preference($gCms->variables['user_id'],'default_cms_language');
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 161
= header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 164
= header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 167
= header("Cache-Control: no-store, no-cache, must-revalidate");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 168
= header("Cache-Control: post-check=0, pre-check=0", false);
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 171
= header("Pragma: no-cache");
Warning: Cannot modify header information - headers already sent by (output started at /home/isp223/public_html/config_lang.php:87) in /home/isp223/public_html/lib/classes/class.admintheme.inc.php on line 176
= header("Content-Type: text/html; charset=$encoding");
Last edited by Anonymous on Tue Jun 24, 2008 4:12 pm, edited 1 time in total.
Re: Warning: Cannot modify header information
Mark, check your config_lang.php to row 87 (probably here born your error), strange that you don't have error in frontpagemark wrote: Installed MLE 1.2.5 and everything work ok, well flag is looking for wrong home page in second lang., trying traditional chinese...
Alby
Re: Warning: Cannot modify header information
Mark, did you find a solution to your problem. I've having the same issue when I log into Admin. But it seems to be inconsistent. On some days it is fine and other days I get these warnings. When this happens, some of the styles on my site go a little wonky. I'm using cms 1.2.2.
thanks
thanks
Re: Warning: Cannot modify header information
UPGRADE first your version!Zack wrote: I'm using cms 1.2.2.
Alby
Re: Warning: Cannot modify header information
Thanks alby,
I've another site running on 1.2.2 but it doesn't seem to have the same problem. There must be something other than the version itself.
I've another site running on 1.2.2 but it doesn't seem to have the same problem. There must be something other than the version itself.
Re: Warning: Cannot modify header information
In case of Mark probably a not "clean" config_lang.php (strange chars, empty line after end of ?>, ...)Zack wrote: I've another site running on 1.2.2 but it doesn't seem to have the same problem. There must be something other than the version itself.
you must upgrade for security concern not for this error
Alby
Re: Warning: Cannot modify header information
I'm sorry I should have come back and [solved] this, hmmm thought I did, but yes my problem was too many spaces after the last lang array the last );
Re: [solved] Warning: Cannot modify header information
Thanks alby, I'll upgrade as soon as i get some free time. In the meantime can you or anyone else tell me why should I be getting this error in Admin:
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 164
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 167
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 171
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 161
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 164
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 167
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 168
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 171
Warning: Cannot modify header information - headers already sent by (output started at /nfs/c01/h03/mnt/5622/domains/html/include.php:246) in /nfs/c01/h03/mnt/5622/domains/html/lib/classes/class.admintheme.inc.php on line 176
Re: [solved] Warning: Cannot modify header information
Hi Mark, Can you pls be more specific which file to modify and where. Php code is all Greek to me!!
thanks for you help.
thanks for you help.
Re: [solved] Warning: Cannot modify header information
Thanks Mark, I'm assuming that only multilingual sites have the config_lang file. If not then where can i find this file?
Re: [solved] Warning: Cannot modify header information
No MLE only has config_lang file.Zack wrote: Thanks Mark, I'm assuming that only multilingual sites have the config_lang file. If not then where can i find this file?
Try to reupload admin folder and include.php but, maybe, you are hacked
Alby