I have a working phpBB3 installation integrated into a Drupal site at http://forums.iowageocachers.org. Unfortunately, I can't reach the ACP for this site anymore. Everything else seems to work just fine.

The Drupal site was originally built some months ago at http://igo.tamatoledo.org and the forums were originally at http://igo.tamatoledo.org/phpBB3. Recently, the organization's old domain name was moved into place so the Drupal sits is now http://iowageocachers.org and the forums are (as previously indicated) http://forums.iowageocachers.org or http://iowageocachers.org/phpbbforums.

Problem is, the ACP link at the bottom of each forum page takes me back to the OLD address of http://igo.tamatoledo.org/phpBB3/adm... and that almost instantly redirects me to the index.php page at igo.tamatoledo.org.

I've done some digging in the PHPBB3 code and found that this link is defined by U_ACP, which is set equal to $phpbb_root_path, which is set equal to PHPBB_ROOT_PATH.

Can anyone tell me where/how PHPBB_ROOT_PATH is defined when PHPBB3 is embedded into a Drupal page using this module?

Thanks

Comments

vb’s picture

It is not a phpbbforum module problem.
It is a phpBB3 migration problem.
You must go with phpMyAdmin in phpbb_config table check and set appropriate vars according your new layout.
Than clear phpBB3 /cache folder.

The link must be http://iowageocachers.org/phpbbforum no ending s. The link without s is opening.

Summitt Dweller’s picture

Thank you vb!

I had looked in some of my phpBB3_ tables but completely overlooked _config. Following your lead I found that the site_name there was correct, but server_name and cookie_domain had not been corrected yet. Still, after changing those and clearing out the cache folder the behavior persists.

I'm going to close my session, cleanup some cookies and give it another go now.

Summitt Dweller’s picture

Works!

fizk’s picture

Status: Active » Closed (fixed)