Created sandbox in new URL, integration isn't working

openroadsite
User w
User w
Posts: 7
Joined: Wed Sep 23, 2020 1:53 pm

Created sandbox in new URL, integration isn't working

Post by openroadsite »

Hi everyone,

I have a phpBB forum that is in the root directory of my site and then Wordpress in a subdirectory. I don't use an iFrame but have the plugin allowing users to go from phpBB to Wordpress with their existing credentials. All is working great in the current configuration.

I decided to create a sandbox site for testing and development on a different URL. I copied everything from the host site and then replaced every single instance of my Production URL to my test URL.

The forum is working great but no matter what I do it will not connect to Wordpress. It is asking the user to sign in again and bringing up the Wordpress login screen when my site is set up to only allow the phpBB login to take place.

I've cleared cache, made sure all of the config.php files are up to date but still not having any luck.

What did I miss? How can I get this working? I can't even log into Wordpress right now to check to make sure nothing changed in the configuration!

User avatar
axew3
w3all User
w3all User
Posts: 2061
Joined: Fri Jan 22, 2016 5:15 pm
Location: Italy
Contact:

Re: Created sandbox in new URL, integration isn't working

Post by axew3 »

the path to the config.php (and config.php values) and url plugin's settings are the same? Or points to the new one?

If are wrong, just reset the password of the wp user admin, login wp admin, setup path and url correctly into plugin admin.
If path is wrong, the integration is disabled already, the user need to reset password to login, because the phpBB hash do not match.

or to disable integration, you can do via:
open wp_w3all.php file
and where this line:
// $w3deactivate_wp_w3all_plugin = 'true';
change into:
$w3deactivate_wp_w3all_plugin = 'true';

or if using the custom config.php, open it and where this line:
@define('PHPBB_INSTALLED', true);
change into
//@define('PHPBB_INSTALLED', true);

openroadsite
User w
User w
Posts: 7
Joined: Wed Sep 23, 2020 1:53 pm

Re: Created sandbox in new URL, integration isn't working

Post by openroadsite »

axew3 wrote:
Wed Oct 14, 2020 4:05 pm
the path to the config.php (and config.php values) and url plugin's settings are the same? Or points to the new one?

If are wrong, just reset the password of the wp user admin, login wp admin, setup path and url correctly into plugin admin.
If path is wrong, the integration is disabled already, the user need to reset password to login, because the phpBB hash do not match.

or to disable integration, you can do via:
open wp_w3all.php file
and where this line:
// $w3deactivate_wp_w3all_plugin = 'true';
change into:
$w3deactivate_wp_w3all_plugin = 'true';

or if using the custom config.php, open it and where this line:
@define('PHPBB_INSTALLED', true);
change into
//@define('PHPBB_INSTALLED', true);
I got it working!

Once I got into Wordpress I noticed that the directory setting was still pointed to the Production site...oops!

Thanks for guiding me in the right direction!

Post Reply