XF 1.2 1.1.2 to 1.2.1 - can't login to upgrade

Jon W

Well-known member
Anyone know of a reason why I wouldn't be able to upgrade from 1.1.2 to 1.2.1?

I just get stuck on the login page when trying to upgrade.
 

Mike

XenForo developer
Staff member
Not accepting cookies or an invalid cookie path? Only things I could think of.
 

Jon W

Well-known member
The config.php file contains the following:
Code:
$config['cookie'] = array(
    'prefix' => 'gbwim_',
    'path' => '/',
    'domain' => '.gbw.im'
);
Is there some reason why the upgrade process wouldn't accept these settings?
 

Mike

XenForo developer
Staff member
Well, assuming that the domain is correct, I don't see any reason in particular it wouldn't work. If you open up the developer/network tools when logging in, can you see the cookie being set after logging in and then being sent with the subsequent request?
 

Jon W

Well-known member
If I am logged into the Admin Control Panel before I upload the 1.2.1 files, I can do the upgrade no problem. It is only if I try to log in as part of the upgrade process if I am not logged in already.
 

Mike

XenForo developer
Staff member
It's probably worth double checking that all the new files are in place.
 

Jon W

Well-known member
Actually, might just be working now because I've completed the upgrade process. Might still be an issue.

I'll try on a fresh install and see if I can replicate it again.
 

Jon W

Well-known member
Finally realised that I was trying to upgrade from a different domain to where the cookie was being set. Oops. :oops:

Thanks for your help @Mike.
 
Top