Hello. I have installed the latest version of Prestashop, but whenever I click on certain features in the Back Office like the modules, it just logs out for no reason.
I have been reading about this issue and it seems to have something to do with the cookies, so apparently I have to go to Advanced Parameters-> Admin and set the option "check cookie IP" to NO. The problem is, I have already tried that but it logs out when I try to save the change.
Other things I have already tried have been: uninstall and reinstall the whole prestashop on my server, and changing the file classes/Cookies.php by comenting the line that you can see strikethrough:
if ($this->id_employee AND Validate::isUnsignedId($this->id_employee) AND Employee::checkPassword(intval($this->id_employee), $this->passwd)
//AND (!isset($this->_content[‘remote_addr’]) OR $this->_content[‘remote_addr’] == ip2long(Tools::getRemoteAddr()))).
None of this options have worked.
Can anybody please help me? I am desperate to solve this, have been working on the problem for hours and still not getting a clue on how to solve it