https://www.phoca.cz/documents/50-phoca/ ... -joomla-17

I didn't found easiest way to migrate (as there are two instances of Joomla! it is not so easy e.g. made by prepared script)
Jan
Code: Select all
UPDATE `jos_phocamaps_map` SET `language` = '*';
UPDATE `jos_phocamaps_marker` SET `language` = '*';
Code: Select all
CREATE TABLE `#__phocamaps_map` (
...
`params` text NOT NULL,
`language` char(7) NOT NULL Default '',
PRIMARY KEY (`id`),
KEY `cat_idx` (`published`,`access`),
KEY `idx_access` (`access`),
KEY `idx_checkout` (`checked_out`)
) ENGINE=MyISAM CHARACTER SET `utf8`;
CREATE TABLE `#__phocamaps_marker` (
...
`params` text NOT NULL,
`language` char(7) NOT NULL Default '',
PRIMARY KEY (`id`),
KEY `catid` (`catid`,`published`)
) ENGINE=MyISAM CHARACTER SET `utf8`;
Code: Select all
$query ='CREATE TABLE IF NOT EXISTS `#__phocamaps_map` ('."\n";
$query.=' `hits` int(11) NOT NULL default \'0\','."\n";
...
$query.=' `params` text NOT NULL,'."\n";
$query.=' `language` char(7) NOT NULL Default \'\','."\n";
...
$query ='CREATE TABLE IF NOT EXISTS `#__phocamaps_marker` ('."\n";
...
$query.=' `params` text NOT NULL,'."\n";
$query.=' `language` char(7) NOT NULL Default \'\','."\n";