Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


MountainMan

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?

Link to comment
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"

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...