Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
581 views
in Q2A Core by
I m adding a line in index.php

include("/home/answers/top.html");

to display this html page on the top of every page. But it is displaying the error message as

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/answers/top.html:91) in /home/answers/qa-include/qa-app-users.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home/answers/top.html:91) in /home/answers/qa-include/qa-page.php on line 521

I understand that "Layout" option gives the option of adding HTML code. But I can't use that as this file gets modified from time to time & adding then I need to change manually this code inside.

Please suggest the solution.
by
This is a good question; I'm struggling with the exact same problem, when I'm trying to add my wordpress header to Q2A. Can anyone help out with this question? Any suggestion would be appreciated!

1 Answer

–4 votes
by
he is my answer
...