1 (edited by mello757 2009-02-12 17:26)

Topic: Rebuild Index errors

Fresh install. Everything looks great. I went to Administration/Management/Rebuild Index and at the top of that page I get this...

Warning: Cannot modify header information - headers already sent by (output started at /home/.patti/*****/*****.com/forum/lang/English/common.php:1) in /home/.patti*****/*****.com/forum/header.php on line 17

Warning: Cannot modify header information - headers already sent by (output started at /home/.patti/*****/*****.com/forum/lang/English/common.php:1) in /home/.patti/*****/*****.com/forum/header.php on line 18

Warning: Cannot modify header information - headers already sent by (output started at /home/.patti/*****/*****.com/forum/lang/English/common.php:1) in /home/.patti/*****/*****.com/forum/header.php on line 19

Warning: Cannot modify header information - headers already sent by (output started at /home/.patti/*****/*****.com/forum/lang/English/common.php:1) in /home/.patti/*****/*****.com/forum/header.php on line 20

Warning: Cannot modify header information - headers already sent by (output started at /home/.patti/*****/*****.com/forum/lang/English/common.php:1) in /home/.patti/*****/*****.com/forum/header.php on line 23


*****=edited domain name.

Any ideas or a fix?

Here's the php for those lines stated above.

16-// Send no-cache headers
17-header('Expires: Thu, 21 Jul 1977 07:30:00 GMT');    // When yours truly first set eyes on this world! smile
18-header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
19-header('Cache-Control: post-check=0, pre-check=0', false);
20-header('Pragma: no-cache');        // For HTTP/1.0 compability
21-
22-// Send the Content-type header in case the web server is setup to send something else
23-header('Content-type: text/html; charset=utf-8');

Re: Rebuild Index errors

So no one has any ideas? sad

Re: Rebuild Index errors

This error appeared for me if I saved file with BOM. But in this case you will have "п»ї" before error-output. Have you opened and saved "/lang/English/common.php"?

4 (edited by mello757 2009-02-16 16:43)

Re: Rebuild Index errors

Yes I believe I have. With notepad.

Re: Rebuild Index errors

Ok I downloaded that file from the ftp and opened it with WORDpad and then immediatly saved it and uploaded it back. Error went away. Thanks for pointing me in the right direction.