mikkatzzz wrote:every time i try to mark a topic as solved the page reloads, i get logged out and subsequently the topic is not marked as solved
I think it's possible for this to happen if the session id isn't properly appended to the URLs used for marking topics as solved, or the redirect sent back after to the post after it has been marked.
I was careful to make sure the URLs included the session ID for any direct links to solved posts:
https://github.com/tierra/topicsolved/b ... #L214-L215
Although, I guess I just relied on the new phpBB 3.1+ router to automatically handle this for the links that actually mark a post as solved/unsolved:
https://github.com/tierra/topicsolved/b ... #L319-L338
It doesn't look like $this->helper->route() actually appends the session ID. So maybe that causes it, but if that was the problem, I would have expected everyone to have this same problem, but you're the first person to report it.
Does anyone have any advice or suggestions on this?