I'm attempting to migrate our Xenforo installation to a new server. The URL will stay the same.
Xenforo is running fine on the old server (IIS 7.5 with PHP 5.6). I closed the board, backed up the MySQL database and site content and transferred it all over to the new server. The front end appears to be working fine, but I'm unable to log into the admin side.
The new server is running IIS 10 with PHP 7.2. When I visit /admin.php, I get a login page missing its stylesheet. When I enter my credentials and click the Log In button, I get sent back to the login form with the message:
This action could not be completed because you are no longer logged in.
When I opened my browser's debug panel, I noticed that the stylesheet request returns the full login page instead of the stylesheet, hence the reason that it's missing.
To troubleshoot, I tried dropping the PHP version back to 5.6, clearing the session tables in the database, and completely re-copying the content back over after upgrading to version 1.5.21 with the latest version of our addon (Ad Manager).
No errors are logged by PHP or anywhere else that I can find. I tried enabling debug in config.php, but didn't see a debug log or any additional page content which might help. As far as I can tell, permissions are set correctly, the data and internal_data folders have full access for the account that the IIS worker process and php-cgi.exe are running under, and this account has write access to PHP's temp and session folders.
Does anybody have any ideas?
Apologies for the crosspost, I guess I should have posted in the troubleshooting forum in the first place.
Xenforo is running fine on the old server (IIS 7.5 with PHP 5.6). I closed the board, backed up the MySQL database and site content and transferred it all over to the new server. The front end appears to be working fine, but I'm unable to log into the admin side.
The new server is running IIS 10 with PHP 7.2. When I visit /admin.php, I get a login page missing its stylesheet. When I enter my credentials and click the Log In button, I get sent back to the login form with the message:
This action could not be completed because you are no longer logged in.
When I opened my browser's debug panel, I noticed that the stylesheet request returns the full login page instead of the stylesheet, hence the reason that it's missing.
To troubleshoot, I tried dropping the PHP version back to 5.6, clearing the session tables in the database, and completely re-copying the content back over after upgrading to version 1.5.21 with the latest version of our addon (Ad Manager).
No errors are logged by PHP or anywhere else that I can find. I tried enabling debug in config.php, but didn't see a debug log or any additional page content which might help. As far as I can tell, permissions are set correctly, the data and internal_data folders have full access for the account that the IIS worker process and php-cgi.exe are running under, and this account has write access to PHP's temp and session folders.
Does anybody have any ideas?
Apologies for the crosspost, I guess I should have posted in the troubleshooting forum in the first place.