Jump to content
MountainMan

$_POST['formid'] == $sessiontoken fails in cm_login_form.php

Recommended Posts

Am using a moderately modded Frozen.  Was surprised with a server move to PHP 7.2 from 7.1. 

And having some surprising problems.   All of a sudden cant login because  $_POST['formid'] == $sessiontoken  fails  in cm_login_form.php.

Somehow they get out of sync.  Was hoping for some clues.... how could this happen?

Share this post


Link to post
Share on other sites
9 hours ago, ruden said:

var_dump($_POST['formid'], $sessiontoken);

???

Thanks.  Problem was caused by an extra space at the beginning of a file, which caused multiple session related errors from "headers already sent"

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×