Page 1 of 1

New install after restoring my website

Posted: 04 Mar 2015, 18:23
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.

Re: New install after restoring my website

Posted: 06 Mar 2015, 14:54
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