v1.27 "Cannot modify header information" error
11 posts by 4 authors in: Forums > CMS Builder
Last Post: March 16, 2009 (RSS)
By (Deleted User) - March 8, 2009
Warning: Cannot modify header information - headers already sent by (output started at /home/hostname/public_html/links.php:1) in /home/hostname/public_html/links.php on line 1
("hostname" replaced my actual account name)
The template file contains the link (actual) to the css file, but the CSS has been ignored.
I am using v1.27. I can send actual links if you like.
Re: [poorrichard] v1.27 "Cannot modify header information" error
By Dave - March 9, 2009
Can you attach your lists.php page to this post so we can see this code?
Thanks!
interactivetools.com
Re: [Dave] v1.27 "Cannot modify header information" error
By (Deleted User) - March 9, 2009
Re: [poorrichard] v1.27 "Cannot modify header information" error
By Dave - March 9, 2009
interactivetools.com
Re: [poorrichard] v1.27 "Cannot modify header information" error
By Dave - March 11, 2009
I can't spot anything in the code. If you want to send me CMS and FTP login details I could take a closer look for you. Email dave@interactivetools.com. Email, don't post login details to the forum.
Hope that helps!
interactivetools.com
Re: [poorrichard] v1.27 "Cannot modify header information" error
By oren3419 - March 12, 2009
I have used CMS in the past and never received this error:
Warning: Cannot modify header information - headers already sent by (output started at /home/hostname/public_html/links.php:1) in /home/hostname/public_html/links.php on line 1
("hostname" replaced my actual account name)
The template file contains the link (actual) to the css file, but the CSS has been ignored.
I am using v1.27. I can send actual links if you like.
I had the same issue, dunno why this is relevant, but I solved it by saving the file as UTF-8 without BOM. You need an editor like Notepad++ do do this...
Re: [oren3419] v1.27 "Cannot modify header information" error
By (Deleted User) - March 12, 2009 - edited: March 12, 2009
Anything Dave?
Jim
Re: [poorrichard] v1.27 "Cannot modify header information" error
By (Deleted User) - March 12, 2009
Re: [poorrichard] v1.27 "Cannot modify header information" error
By Dave - March 13, 2009
Typically that error means you have some content before the <?php header ... ?> line. It could be a UTF8 issue.
Another thing you could try is removing that header line altogether.
If neither of those work feel free to submit a support ticket and we can look at it for you.
Hope that helps!
interactivetools.com
Re: [Dave] v1.27 "Cannot modify header information" error
By (Deleted User) - March 14, 2009
<?php header('Content-type: text/html; charset=utf-8'); ?>
from the very top, and that did the trick. That line was part of the CMS generated code using simple menuing.
Regards
Jim