Question

Joomla 3.x est livré avec une pratique de mise à Jour de Joomla extension, cela met à jour toutes les extensions sur le site, y compris le Joomla de base.Malheureusement, sur certains installe (principalement la migré à partir de Joomla 1.5 à Joomla 3.x) le "#__" mises à jour de la table est absent de la base de données.

Était-ce utile?

La solution 2

Après avoir passé des heures à rouler sur Internet, j'ai élaboré les tables manquantes et j'ai écrit la requête MySQL suivante qui résout ce problème:

DROP table IF EXISTS #__updates;
CREATE TABLE `#__updates` (
  `update_id` int(11) NOT NULL AUTO_INCREMENT,
  `update_site_id` int(11) DEFAULT '0',
  `extension_id` int(11) DEFAULT '0',
  `name` varchar(100) DEFAULT '',
  `description` text NOT NULL,
  `element` varchar(100) DEFAULT '',
  `type` varchar(20) DEFAULT '',
  `folder` varchar(20) DEFAULT '',
  `client_id` tinyint(3) DEFAULT '0',
  `version` varchar(32) DEFAULT '',
  `data` text NOT NULL,
  `detailsurl` text NOT NULL,
  `infourl` text NOT NULL,
  `extra_query` VARCHAR(1000) DEFAULT '',
  PRIMARY KEY (`update_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Available Updates';

Autres conseils

J'ai eu le même problème, plus d'une fois (avec de nouveau installé Joomla 3.x).Joomla signalé x_updates doesn't exist.

La requête fournie ici reproché avec x_updates already exists.Seulement après l'ajout d' DROP table IF EXISTS 'x_updates'; avant le code de la table a été créée.

Cela peut signifier que certains plugins doivent être réinstallés dans Joomla et d'autres travaux à l'aide de ce plugin est perdu.

Il suffit de regarder le code d'origine, c'est plutôt simple et il faut 2 minutes.

--
-- Table structure for table `#__updates`
--

CREATE TABLE IF NOT EXISTS `#__updates` (
  `update_id` int(11) NOT NULL AUTO_INCREMENT,
  `update_site_id` int(11) DEFAULT 0,
  `extension_id` int(11) DEFAULT 0,
  `name` varchar(100) DEFAULT '',
  `description` text NOT NULL,
  `element` varchar(100) DEFAULT '',
  `type` varchar(20) DEFAULT '',
  `folder` varchar(20) DEFAULT '',
  `client_id` tinyint(3) DEFAULT 0,
  `version` varchar(32) DEFAULT '',
  `data` text NOT NULL,
  `detailsurl` text NOT NULL,
  `infourl` text NOT NULL,
  `extra_query` VARCHAR(1000) DEFAULT '',
  PRIMARY KEY (`update_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Available Updates';

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top