[SOLVED] Redirection leads to error "rewrite header inf

Use GitHub to post bug reports and error descriptions for phpwcms. Describe your problem detailed!
Locked
reneknuvers
Posts: 11
Joined: Sat 22. May 2004, 20:05

[SOLVED] Redirection leads to error "rewrite header inf

Post 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
Last edited by reneknuvers on Sun 23. May 2004, 20:57, edited 1 time in total.
reneknuvers
Posts: 11
Joined: Sat 22. May 2004, 20:05

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

Post 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?
Lynette
Posts: 1
Joined: Sat 26. Feb 2005, 22:02

thank you!

Post 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!
Locked