Missing styles, no descriptions shown for the images

Phoca Gallery - image gallery extension
liana
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 06 Jul 2015, 19:43

Missing styles, no descriptions shown for the images

Post by liana »

Hello, I was given a Joomla website to edit , and I noticed that image gallery was a bit broken, and styles are missing in Control Panel. Also descriptions don't show under the images. I could add my own styles to line up the images 3 per row, but descriptions don't show up, only titles and images.

I also see that error in Styles tab : Table "rawlins_33upgrade.klg7v_phocadownload_styles" doesn't exists SQL=Select etc.

What can I do to recover this component and display descriptions under the images?
It's really urgent, the client thinks I modified and broke it, but I didn't touch anything. I guess the options don't work because of this missing table.

Thank you!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48850
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Missing styles, no descriptions shown for the images

Post by Jan »

Hi, the missing table must be added manually, see the SQL queries in administrator\components\com_phocadownload\install\sql\mysql\install.utf8.sql

Code: Select all

CREATE TABLE IF NOT EXISTS `#__phocadownload_styles` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL DEFAULT '',
  `alias` varchar(255) NOT NULL DEFAULT '',
  `filename` varchar(255) NOT NULL DEFAULT '',
  `menulink` text,
  `type` tinyint(1) NOT NULL DEFAULT '0',
  `published` tinyint(1) NOT NULL DEFAULT '0',
  `checked_out` int(11) unsigned NOT NULL DEFAULT '0',
  `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `ordering` int(11) NOT NULL DEFAULT '0',
  `params` text,
  `language` char(7) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`)
) DEFAULT CHARSET=utf8 ;

INSERT INTO `#__phocadownload_styles` (`id`, `title`, `alias`, `filename`, `menulink`, `type`, `published`, `checked_out`, `checked_out_time`, `ordering`, `params`, `language`) VALUES
(1, 'Phocadownload', 'phocadownload', 'phocadownload.css', NULL, 1, 1, 0, '0000-00-00 00:00:00', 1, NULL, '*'),
(2, 'Rating', 'rating', 'rating.css', NULL, 1, 1, 0, '0000-00-00 00:00:00', 2, NULL, '*'),
(3, 'Button', 'button', 'button.css', NULL, 1, 0, 0, '0000-00-00 00:00:00', 3, NULL, '*'),
(4, 'Button (Rounded Corners)', '', 'buttonrc.css', NULL, 1, 0, 0, '0000-00-00 00:00:00', 4, NULL, '*'),
(5, 'Default', 'default', 'default.css', NULL, 2, 1, 0, '0000-00-00 00:00:00', 1, NULL, '*'),
(6, 'Bootstrap', '', 'bootstrap.min.css', NULL, 1, 0, 0, '0000-00-00 00:00:00', 5, NULL, '*');
Change #__ to your prefix.

Jan
If you find Phoca extensions useful, please support the project
lindenburg
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 20 Nov 2015, 20:16

Re: Missing styles, no descriptions shown for the images

Post by lindenburg »

I have the same problem but how do I ad the missing table manually via PHPmyadmin?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9780
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Missing styles, no descriptions shown for the images

Post by Benno »

@lindenburg
see: Image
Note, you need to replace this '#_' prefix to yours before!!!

Kind regards,
Benno
Post Reply