Re: Cannot use template editor (3.0.5) [message #183196 is a reply to message #183144] |
Sat, 12 October 2013 05:12 |
|
GaryM
Messages: 118 Registered: May 2013 Location: Seattle
Karma:
|
Senior Member |
|
|
Got the same error when upgrading production tonight, did not encounter this in test:
Warning: Cannot modify header information - headers already sent by (output started at /home/FUDforum/include/compiler.inc:908) in /home/vintagegruen.org/vgforum/adm/admtemplates.php on line 18
Again I did not encounter this in test, test was also an upgrade. I tried editing the compiler.inc in the file editor but saw 2 lines at the end instead of 1 like mentioned in the above solution. I tried deleting them by hitting backspace. That didn't work, got a similar error only at line 210 this time.
I looked at the compiler.inc on the test box where the template editor is working. In the vi editor I could see the extra line. I deleted it, saved and ftp'd up to production. Worked!
php output_buffering is enabled on both test and production.
The internal file editor in the admin panel could be suspect for making these type of changes.
Thoughts?
http://vintagegruen.org
[Updated on: Sat, 12 October 2013 06:28] Report message to a moderator
|
|
|