Page 1 of 1

[SOLVED] Redirection leads to error "rewrite header inf

Posted: Sun 23. May 2004, 20:49
by reneknuvers
I use redirection in the index page to the first article in the structure (either with the shortcut or the full link), but since RC2 this does not work. I yield error messages like this one:

Code: Select all

Warning: Cannot modify header information - headers already sent by (output started at /home/rknuvers/public_html/include/inc_conf/conf.template_default.inc.php:206) in /home/rknuvers/public_html/include/inc_front/content.article.inc.php on line 57
I have the RC4 now, and have rewrite_url set to 0

SOLUTION: Warning if you use cpanel to edit .inc files

Posted: Sun 23. May 2004, 20:57
by reneknuvers
I found the solution!

The problem is this: I edited the default_template.inc file, useing the filemanager in cpanel, the website management tool my ISP uses. Problem is that every time I edit the file a blank line was added to the end of the file. Somehow this gives problems. It resolves quite some of these errors I was getting!

A real bugger, maybe for other people too?

thank you!

Posted: Sat 12. Mar 2005, 03:05
by Lynette
I was editing the layout of the nav table and always got this error message after a few rounds. This finally solved the problem!