Domanda

After upgrading from 1.9.4.1 to 1.9.4.2, the login form for the backend is empty (No input tags for username or password). This is same after cache has been cleared. Does anyone have a solution?

enter image description here

The call to this->getFormKey(); appears to be causing the problem.

<input name="form_key" type="hidden" value="<?php echo $this->getFormKey() ?>" />
È stato utile?

Soluzione

I ended up discovering the issue. At some point app/code/core/Mage/Core/functions.php was copied to app/code/local/Mage/Core/functions.php to fix a compatibility issue. Therefor after updating, I was missing a patch to functions.php which include defining random_int() for PHP versions less than 7. This method is used to generate the form key.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top