Can’t login to Admin panel after migrating to new server
-
Hi, I recently moved my working wordpress site to a new server (Redhat7.5) to a private net so it’s not accessible through internet. The problem is that I can’t access to the admin area with my administrator account (usr: admin pswd:asdf). I’ve tried the following:
https://codex.www.ads-software.com/Login_Troublehttps://www.ads-software.com/support/topic/cant-login-to-wp-admin-dashboard-2/
In a few words I renamed my plugins folder, my theme folder but still no answer. I’m pretty sure that WP can access the database. I’ve also activated the logs with the debug mode in my wp_config file:
$table_prefix = ‘wp_’;
define(‘FORCE_SSL_ADMIN’, true);
define(‘WP_DEBUG’, true);
define(‘WP_DEBUG_LOG’, true);But still not getting the error message, Sometimes it returns a message saying the following:
[16-Nov-2018 13:40:48 UTC] PHP Warning: An unexpected error occurred. Something may be wrong with www.ads-software.com or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to www.ads-software.com. Please contact your server administrator.) in /opt/appl/prod1/wp-includes/update.php on line 529
I don’t think that has anything to do with my problem because this file worked perfect in the other server. I’ve also made it sure that the hosts file is correctly configured , Is there something I’m missing? Maybe I should connect to the database with the administrator credentials?
As far as I know wordpress executes successfully the query:
UPDATEwp_usermeta
SETmeta_value
= ‘a:7:{s:64:\”09…….;s:2:\”ua\…;}}’ WHEREuser_id
= 1 ANDmeta_key
= ‘session_tokens’Please I need help with this I’ve tried Everyting
- The topic ‘Can’t login to Admin panel after migrating to new server’ is closed to new replies.