How to fully separate two forum copies [SOLVED]

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
jonathandoyle
Registered User
Posts: 28
Joined: Tue Mar 17, 2015 10:07 am

How to fully separate two forum copies [SOLVED]

Post by jonathandoyle » Sun Oct 08, 2017 3:51 pm

I'm preparing the upgrade of my phpbb forum to the latest version.
To be extra careful, I first create a copy forum, identical to
the original except for the name, by

1) Making a deep copy of the original forum's root directory
2) Making a copy (in phpmyadmin) of the original's forum database
3) Changing the parameters in the new directory's config.php file,
to make the new forum connect to the new database.

My new forum seems to work fine at first, but at closer glance it turns out that
the new forum is not connected to the new database, is still connected to the old database
even though I changed the $dbname parameter in the config.php file.

What should I do to make the new forum connect to the new database, and fully separate
the two copies ?
Last edited by jonathandoyle on Mon Oct 09, 2017 7:06 am, edited 1 time in total.

Toxyy
Registered User
Posts: 323
Joined: Mon Oct 24, 2016 3:22 pm

Re: How to fully separate two forum copies

Post by Toxyy » Sun Oct 08, 2017 4:15 pm

All you have to do is direct the second forum's config file to the new database's information.
I am a web developer/administrator, specializing in forums. If you have work you need done or are too lazy to do, pm me!

User avatar
david63
Jr. Extension Validator
Posts: 13118
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: How to fully separate two forum copies

Post by david63 » Sun Oct 08, 2017 4:30 pm

If you are using 3.1 thn you will need to purge/clear the cache for the changed config file to take effect.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

jonathandoyle
Registered User
Posts: 28
Joined: Tue Mar 17, 2015 10:07 am

Re: How to fully separate two forum copies

Post by jonathandoyle » Sun Oct 08, 2017 4:51 pm

Toxyy wrote:
Sun Oct 08, 2017 4:15 pm
All you have to do is direct the second forum's config file to the new database's information.
As I already said above, I did just that and it's not working. The new forum is still connected to the old database.
david63 wrote:
Sun Oct 08, 2017 4:30 pm
If you are using 3.1 thn you will need to purge/clear the cache for the changed config file to take effect.
I tried that too and it did not solve the problem.

janus_zonstraal
Registered User
Posts: 1799
Joined: Sat Aug 30, 2014 1:30 pm

Re: How to fully separate two forum copies

Post by janus_zonstraal » Sun Oct 08, 2017 7:05 pm

jonathandoyle wrote:
Sun Oct 08, 2017 4:51 pm
.
david63 wrote:
Sun Oct 08, 2017 4:30 pm
If you are using 3.1 thn you will need to purge/clear the cache for the changed config file to take effect.
I tried that too and it did not solve the problem.
You have to delete the directory’s in the cache folder with ftp. (from the new board)
Otherwise you are purge the cache from the old board.
Sorry! My English is bat ;) !!!

jonathandoyle
Registered User
Posts: 28
Joined: Tue Mar 17, 2015 10:07 am

Re: How to fully separate two forum copies

Post by jonathandoyle » Mon Oct 09, 2017 7:06 am

janus_zonstraal wrote:
Sun Oct 08, 2017 7:05 pm

You have to delete the directory’s in the cache folder with ftp. (from the new board)
Otherwise you are purge the cache from the old board.
Indeed! Solved my problem, thank you so much

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: edgar davids, hewmac06, raykhoaza and 131 guests