Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
664 views
in Q2A Core by
edited by
I got error as following:

qa-app-users.php on line 181
/qa-app-users.php on line 192
/qa-index.php on line 528

1 Answer

0 votes
by
All of these lines are trying to set HTTP headers. I cannot be sure unless you show the error in full, but I suspect this is because something has already been output to the browser by the time these lines are reached, so the HTTP headers can no longer be set.

I don't think this is a problem in the release itself, so perhaps you modified a file, maybe accidentally. It can be as simple as a blank line outside of <?php ?> tags, creating by a mistaken press of the return key on your keyboard.

If you view the error in full, it should tell you exactly where this output happened - in which file, and in which line, so you can check there.
by
Thak for your reply.  I do not edit and file except qa_base.php  to replace some

replacement function:

    function qa_q_request($postid, $title)
    {
        return (int)$postid;
    }

only.
by
Are you able to view the full PHP error in more detail? If so it will tell you exactly where the output was started.
by
when i edit to qa_base.php for replaced some funtions I got error as above.
 I replaced as

  function qa_q_request($postid, $title)
    {
        return (int)$postid;
    }
by
I got it and it is happened because of you changed $postid to $questionid.

Thank.
...