Domanda

Joomla 3.x viene fornito con un pratico aggiornamento Joomla Extension, questo aggiorna qualsiasi estensione sul sito incluso il core Joomla.Sfortunatamente su alcune installazioni (principalmente il proprio migrato da Joomla da 1,5 a Joomla 3.x) La tabella "#__updates" manca dal database.

È stato utile?

Soluzione 2

Dopo aver trascorso orari di trascorrere internet, ho elaborato le tabelle mancanti e ho scritto la seguente query MySQL che risolve questo problema:

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';
.

Altri suggerimenti

Ho avuto lo stesso problema, più di una volta (con il nuovo Joomla 3.x installato).Joomla ha riportato x_updates doesn't exist.

La query è stata fornita qui con x_updates already exists.Solo dopo aver aggiunto DROP table IF EXISTS 'x_updates'; prima del codice la tabella è stata creata.

Questo potrebbe significare alcuni plugin devono essere reinstallati in Joomla e altri lavori usando questo plugin è perso.

Basta guardare il codice originale, è piuttosto semplice e ci vogliono 2 minuti.

--
-- 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';
.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top