New install after restoring my website

Phoca Gallery - image gallery extension
larry3460
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 04 Mar 2015, 18:08

New install after restoring my website

Post by larry3460 »

Hello,

I'm newbie on this forum, and under Joomla too.
Anyway, I succeeded to install Phoca gallery a first time, then I needed to restore my website for dark reasons.

Because the backup was made before installing Phoca, it was no more there after restoration.

So I tried to install it again, through Extension Manager | Upload Package file | Upload & Install.
The result was this error message :

Code: Select all

Warning

Duplicate entry '1' for key 'PRIMARY' SQL=INSERT INTO `jos_phocagallery_styles` (`id`, `title`, `alias`, `filename`, `menulink`, `type`, `published`, `checked_out`, `checked_out_time`, `ordering`, `params`, `language`) VALUES (1, 'Phocagallery', 'phocagallery', 'phocagallery.css', '', 1, 1, 0, '0000-00-00 00:00:00', 1, NULL, '*'), (2, 'Rating', '', 'rating.css', NULL, 1, 1, 0, '0000-00-00 00:00:00', 2, NULL, '*'), (3, 'Default', '', 'default.css', NULL, 2, 1, 0, '0000-00-00 00:00:00', 3, NULL, '*'), (4, 'Bootstrap', '', 'bootstrap.min.css', NULL, 1, 0, 0, '0000-00-00 00:00:00', 4, NULL, '*');
Error

Error installing component
And I really don't know how to deal with. All help will be appreciated.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: New install after restoring my website

Post by Jan »

Hi, before reinstalling, you should truncate the table "jos_phocagallery_styles"
Or delete it completely (if you didn't create any new CSS style in Phoca Gallery, you can delete this table and it will be newly created when installing)

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