Skip to content
English
  • There are no suggestions because the search field is empty.

Secure Cookie Error

Why does the "Secure Cookie Is Not Enabled" warning appear in the Admin Portal?

This warning appears at Admin Portal login when FileCloud Server is not configured to serve its URL over HTTPS with a valid SSL certificate. The TONIDOCLOUD_SECURE_COOKIE setting requires an active HTTPS connection to function; without it, secure cookies cannot be set and the warning will continue to appear.

  • Product: FileCloud Server
  • Version: Any
  • Platform: Any

How do I resolve the "Secure Cookie Is Not Enabled" warning?

Complete the following steps in order to resolve this issue.

  1. Install an SSL certificate and confirm your FileCloud URL is reachable over HTTPS. Follow the instructions in the SSL Configuration guide before proceeding.
  2. Open the cloudconfig.php file in a text editor using the path for your operating system:
    • Windows: C:\xampp\htdocs\config\cloudconfig.php
    • Linux: /var/www/html/config/cloudconfig.php
  3. Add or edit the following line in cloudconfig.php:
    define("TONIDOCLOUD_SECURE_COOKIE", 1);
  4. Save the file and log in to the Admin Portal again to confirm the warning no longer appears.