DB Connection Cache

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
joeschwab
Registered User
Posts: 10
Joined: Thu Nov 30, 2017 12:37 am

DB Connection Cache

Post by joeschwab » Thu Jul 12, 2018 4:46 pm

Hello,
I have a bit of a strange discovery after copying my phpbb installation to a new domain. It appears that forum posts are somehow reading and writing to its previous database even though the config file has been updated to its new database. I am guessing that the database connection is cached somehow, and the cache has been copied over from the previous install.

After copying the site over, we removed all of the forums and posts. The site has been copied several times without anybody noticing this happening. So now we have 3 installations (possibly 4) that are all effecting whatever the original installation is/was.

It's a pretty nifty clusterf*#&% for sure.

I am trying to figure out the original installation so it can be restored from a backup.

Does anyone know where in the cache this would be stored? or even some useful strings to search for in the cache that could lead me to the original source database config?

User avatar
canonknipser
Registered User
Posts: 1544
Joined: Thu Sep 08, 2011 4:16 am
Location: Germany
Name: Frank Jakobs
Contact:

Re: DB Connection Cache

Post by canonknipser » Thu Jul 12, 2018 5:07 pm

Sounds like you are still on 3.1, because in 3.2 config.php isn't cached any longer.
Anyway, just remove all files and folders from the cache folder except index.html and .htaccess and you should be connected to your new database.
Greetings, Frank
phpbb.de support team member
English is not my native language - no support via PM or mail
New arrival - Extensions and scripts for phpBB

joeschwab
Registered User
Posts: 10
Joined: Thu Nov 30, 2017 12:37 am

Re: DB Connection Cache

Post by joeschwab » Thu Jul 12, 2018 6:48 pm

Thanks Canonknipser,
I've removed all files from /cache/ in all three installations. But Strangely, I'm still seeing changes made in one show up in the others. I must be missing something.

User avatar
3Di
Registered User
Posts: 12695
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: DB Connection Cache

Post by 3Di » Thu Jul 12, 2018 7:04 pm

What's the Script path in ACP/general/server settings?
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
Extensions, Scripts, MOD porting, Update/Upgrades
My development's activity º PhpStorm's proud user

User avatar
Lumpy Burgertushie
Registered User
Posts: 64587
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: DB Connection Cache

Post by Lumpy Burgertushie » Thu Jul 12, 2018 9:10 pm

and what is the database server name in your config.php file?


robert
I am available for custom work on a donation basis. Please send me a PM with your needs.

Premium phpBB 3.2 Styles by PlanetStyles.net

joeschwab
Registered User
Posts: 10
Joined: Thu Nov 30, 2017 12:37 am

Re: DB Connection Cache

Post by joeschwab » Thu Jul 12, 2018 10:13 pm

after clearing all the cache dirs again, things seem to be working properly now. thanks for the help everyone!

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: hewmac06, hoarybat, netingirl, stevemaury and 20 guests