XF 2.0 You must be logged in to do that - Problem after test upgrade

dabollicks

Active member
Just running some test upgrades in preparation for XF 2 going stable, and when I try and log in, it logs in fine, but then when I try and post a new thread, I get the message "You must be logged in to do that"

The test installation is on the same domain as my live site, live site is in the root directory of the domain, test is in root/Import folder, ive made sure that the stay logged in box is ticked

Am I missing something?

Thanks
 
If you have two installs on the same domain, you need to make sure they're using distinct cookie prefixes. You can add something like this to your src/config.php file (in XF2):
Code:
$config['cookie']['prefix'] = 'xf2_';
 
Top Bottom