So recently i installed Flarum and its been working great for my small gaming network but i logged in today after some small permission changes to my ubuntu file system and saw an error when trying to sign up with Facebook and trying to log out.. I undid everything i did in terms of permissions but it seems to have made no difference. I also tried to make a Whole new forum with flarum and still had the same issue so it is clearly something to do with my system, strange how such a small permissions made this big problem.
The error i get at the top of the list is:
$url = array_get($request->getQueryParams(), 'return', $this->app->url());
$response = new RedirectResponse($url);
if ($user = User::find($session->get('user_id'))) {
if (array_get($request->getQueryParams(), 'token') !== $session->get('csrf_token')) {
throw new TokenMismatchException;
}
Other errors can be found here: http://i.imgur.com/JNUIr6T.png