Cannot use template editor (3.0.5) [message #183112] |
Wed, 09 October 2013 18:49 |
|
cpreston
Messages: 160 Registered: July 2012 Location: Oceanside
Karma: 6
|
Senior Member |
|
|
Running the newly released 3.0.5
When it try to edit either a built in template set or a custom one, I get the following error:
Warning: Cannot modify header information - headers already sent by (output started at /home/username/FUDforum/include/compiler.inc:908) in /home/username/public_html/forum/adm/admtemplates.php on line 18
Thoughts?
[Updated on: Wed, 09 October 2013 18:49] Report message to a moderator
|
|
|
|
|
|
|
Re: Cannot use template editor (3.0.5) [message #183137 is a reply to message #183136] |
Thu, 10 October 2013 15:56 |
|
cpreston
Messages: 160 Registered: July 2012 Location: Oceanside
Karma: 6
|
Senior Member |
|
|
Based on what you said, I chmod'd everything in the FUDforum data directory to 777 to no avail.
Also, I didn't seem to have a problem with the old permissions (755) when i created a new template set, which also writes to the FUDforum data directory. It created the template set no problem. But then I tried to edit it and I got the error above.
Translation: I don't think this is a permissions problem
[Updated on: Thu, 10 October 2013 16:03] Report message to a moderator
|
|
|
|
|
|
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: 3
|
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
|
|
|
|
|
|