WP admin ID 1 can’t login WP – fix for some installs + Domain Subdomain install
-
I resume here a post, about what i’ve do get WP_w3all working on a CENTOS Apache/Nginx server with plesk, domain/subdomain installation, and/or how to resolve the problem about admin WP ID 1 can’t login.
Seem to me this problem affect ONLY the WP user with ID 1, the install admin on WP. (for what i’ve test)
the function pass correct values to check, but CheckPassword in class-phpass.php return false, the pass not match.
still i have not understand why it happen and happen ONLY for admin user, with ID 1 on Wp (as my test): the pass check in WP fail. I need to take a look into, the problem isn’t the above probably, also if, on my localhost for example, all work fine also for WP userid 1! This in true i’ve not understand, and maybe confuse me. Something go wrong in WP_w3all or somewhere else in this strange to me (at moment) case.This the procedure to resolve and get working wp_w3all on a domain/subdomain install and/or about WP admin ID 1 can’t login:
About WP admin can’t login:
The admin with ID 1 in WP, you should result logged ok when visiting WP, if previously logged in phpBB.You can create another admin in WP and use it instead of the default install WP admin.
Add him manually in phpBB also.
Or add him in phpBB, so login to WP.
Both should result ok, and the user recognized and correctly logged in WP.I’ve try out subscriber and not default, admin accounts, all working fine.
____________
About subdomain install:
To install wp_w3all i have use the custom config.php option, as we are here in subdomain. I’ve see it was not working about connession. It was failing because, the custom wp_w3all phpBB config.php file, was lacking the follow setting, which was REQUIRED to connect on my/this server correctly (as on plesk config setting i had set allow only from localhost connections), so:$w3all_dbhost = ‘localhost’;
$w3all_dbport = ‘3306’;(this my setting, check your host/port)
So, on phpBB ACP cookie setting:
i had as default phpBB cookie value:
plugins.w3tasks.com
i’ve modify it to:
.w3tasks.com
I have also set admin of phpBB with same email of WP (i do not have test what would happen if i had not do this, should be the same, but i have not test). I’ll return over this.
NOW I’VE LOGOUT from phpBB.
SO I HAVE CLEAN COOKIES on browser, and i have relogin phpBB, so opening WP as logged in in phpBB, all work well … logged in, all work nice.Remember that in some circumstances (not clear at moment of this post), the WP admin with ID 1, the default install admin, fail login into WP. Login phpBB, so point this user to WP and you’ll be logged in.
(For security reasons by the way, should be not good practice to have an administrator named admin: commonly it should be removed and replaced by someone not so clear as one named admin, if no other security measures applied on wp)
P.s all the above suppose you have follow also steps about phpBB WordPress integration here:
https://www.axew3.com/w3/cms-plugins-scripts/wordpress-plugins-scripts-docs/wordpress-phpbb-integration/The complete post:
https://www.ads-software.com/support/topic/wp-admin-page-and-cookies- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- This topic was modified 8 years, 1 month ago by .
- The topic ‘WP admin ID 1 can’t login WP – fix for some installs + Domain Subdomain install’ is closed to new replies.