Re-Install with existing db

Phoca Gallery - image gallery extension
Thomke
Phoca Member
Phoca Member
Posts: 10
Joined: 19 Jan 2010, 11:11

Re-Install with existing db

Post by Thomke »

Hi,

I needed to install a fresh new Joomla, because of the JCE Hack. I used my old db in order not to lose any articles and settings. Now I am facing the issue that I wanted to install Phoca Gallery, but I am getting the error message:

Warnung
JInstaller: :Install: SQL-Fehler Duplicate entry '1' for key 'j3_phocagallery_styles.PRIMARY'
Die Installation der Erweiterung wurde gestoppt.
(German installation)

How can I install Phoca Gallery by not losing anything I set up for Phoca Gallery?

Regards,
Thomas
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49495
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Re-Install with existing db

Post by Jan »

Hi, it depends on if you have data in your database and it seems that they are there.

You can do in fact the same step like when doing migrate of extensions ( https://www.phoca.cz/documentation/86-j ... o-joomla-4 - it is guide for 3 to 4 but it is valid for each version) The main part is to make export of database data and file system data and then import them back with fresh installed Phoca Gallery. (it must be uninstalled and fresh installed - of course after backup or export)

Jan
If you find Phoca extensions useful, please support the project
Post Reply