• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Cookie Error On Fresh Install of WordPress

jtournier

New Pleskian
Hi.

I've just created a fresh install of WordPress to migrate a website over and configure before setting live.

However after creating a fresh install of WP I am unable to log in via the preview URL as it brings up an error:

"Error: cookies are blocked or not supported by your browser. You must enable cookies to use WordPress."

---

I've looked at a number of threads on this forum that seem to be unanswered (see below) and I've tried the fixes that involve adding lines to the WP config file that also has had no impact on this issue.



I tried the fix mentioned in the third link above and pasted below that didn't work at all.

define('ADMIN_COOKIE_PATH', '/');
define('COOKIE_DOMAIN', '');
define('COOKIEPATH', '');
define('SITECOOKIEPATH', '');
define('COOKIE_DOMAIN', $_SERVER['HTTP_HOST'] );

Any further ideas?

Thanks.
 
Hi Igor,

Thanks for getting back to me.

I've just tried that, and after adding the SSH command, I am no longer able to access the Plesk panel to select preview, so I've had to revert the changes and re-enable access via the ports.

It might just be something to do with the preview being unsecure, in which case I will have to activate the domain and set it live and make changes on the live URL.

Thanks.
 
Back
Top