• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Cookies are required to log in to this site...


Active member
I set up a test website (as a duplicate of live site) on my computer and I got this message when trying to login:
Cookies are required to log in to this site. You will not be able to login until they are accepted.
I put in config.php the following but the error still remains:

$config['cookie'] = array(
'prefix' => 'xf_',
'path' => '/',
'domain' => 'localhost'
Everything else is ok (links, images, etc) except the login part. Can someone please give me a hint?



Well-known member
Your browser is rejecting the cookies. Try whitelisting the test site in the security settings on your browser.