Announcement

#1 2018-02-28 17:52:30

Zakky24
Member
2017-09-13
11

Duplicating Database & Repointing Piwigo

Hi,

Further to my previous topic, I've now had the hosting company duplicate my database as they couldn't gain access to it via phpMyAdmin for some reason.

I've now got a new database - it should be identical (but not corrupted) to the original one.

How do I point Piwigo to look at the new one and not the old?

I've tried editing the database.php file but that doesn't seem to be everything that needs changing.

Any help, as usual, will be gratefully received.

Thanks.

Piwigo version:
PHP version:
MySQL version:
Piwigo URL: http://

Offline

 

#2 2018-02-28 22:31:40

executive
Member
2017-08-16
260

Re: Duplicating Database & Repointing Piwigo

You changed the correct file. What does it do now?

You could always reinstall piwigo.
http://piwigo.org/doc/doku.php?id=user_ … rn:install

Last edited by executive (2018-02-28 22:38:27)

Offline

 

#3 2018-03-01 09:32:19

flop25
Piwigo Team
2006-07-06
6799

Re: Duplicating Database & Repointing Piwigo

that's the file indeed
you might need to purge what's inside _data/ since compiled template etc goes there


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#4 2018-03-01 10:55:23

Zakky24
Member
2017-09-13
11

Re: Duplicating Database & Repointing Piwigo

Which subdirectories of _data would I need to purge?

Obviously all of my images are here so would prefer not to purge everything.

Thanks.

Offline

 

#5 2018-03-01 11:01:06

flop25
Piwigo Team
2006-07-06
6799

Re: Duplicating Database & Repointing Piwigo

those are just the resized ones in _data/i
Let's fix the blanck screen issue first, i would say ^^


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact