Error "Secure Cookie Is Not Enabled"

I am getting the error “TONIDOCLOUD_SECURE_COOKIE is set to “0” to enable login during setup using HTTP. When you change the protocol to HTTPS, you should set TONIDOCLOUD_SECURE_COOKIE to “1” in cloudconfig.php to prevent login with HTTP” How do fix this?

Hi Nathan

Open the configuration file cloudconfig.php which will under the following path

Windows Drive letter:\xampp\htdocs\config\cloudconfig.php
Linux /var/www/html/config/cloudconfig.php

Check for the following line

define(“TONIDOCLOUD_SECURE_COOKIE”, 0);
Please change the value to 1 and save the file

If you could not find the above flag then kindly add the flag as follows

define(“TONICLOUD_SECURE_COOKIE”, 1); save the changes

Then give a try to login. If you find any difficulty, kindly let us know

Happy to help