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!
Missing styles, no descriptions shown for the images
-
- Phoca Newbie
- Posts: 1
- Joined: 06 Jul 2015, 19:43
- Jan
- Phoca Hero
- Posts: 48850
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Missing styles, no descriptions shown for the images
Hi, the missing table must be added manually, see the SQL queries in administrator\components\com_phocadownload\install\sql\mysql\install.utf8.sql
Change #__ to your prefix.
Jan
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, '*');
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 20 Nov 2015, 20:16
Re: Missing styles, no descriptions shown for the images
I have the same problem but how do I ad the missing table manually via PHPmyadmin?
- Benno
- Phoca Hero
- Posts: 9780
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Missing styles, no descriptions shown for the images
@lindenburg
see:
Note, you need to replace this '#_' prefix to yours before!!!
Kind regards,
Benno
see:

Note, you need to replace this '#_' prefix to yours before!!!
Kind regards,
Benno