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: 36
Joined: Tue Mar 17, 2015 10:07 am

How to fully separate two forum copies [SOLVED]

Post by jonathandoyle »

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.
User avatar
Toxyy
Registered User
Posts: 942
Joined: Mon Oct 24, 2016 3:22 pm
Location: Namek
Contact:

Re: How to fully separate two forum copies

Post by Toxyy »

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!

Some of my extensions:
[3.3][BETA] Post Form Templates || [3.3][BETA] Anonymous Posts || [3.2][3.3][BETA] ACP Merge Child Forums || [3.2][BETA] Sticky Ad || [3.2][DEV] User Delete Topics || [3.3][DEV] Moderate While Searching || [3.3][RC] Short Number Twig Extension
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: How to fully separate two forum copies

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
jonathandoyle
Registered User
Posts: 36
Joined: Tue Mar 17, 2015 10:07 am

Re: How to fully separate two forum copies

Post by jonathandoyle »

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.
User avatar
janus_zonstraal
Registered User
Posts: 6418
Joined: Sat Aug 30, 2014 1:30 pm

Re: How to fully separate two forum copies

Post by janus_zonstraal »

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: 36
Joined: Tue Mar 17, 2015 10:07 am

Re: How to fully separate two forum copies

Post by jonathandoyle »

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”