Passa ai contenuti principali

Joomla - JInstaller::install: Errore SQL. DB function failed with error number 1064

Questo erroresi verifica quando si cercano di installare il componente Morfeo Show ed il componente Docman.

Ciò è dovuto ad una istruzione divenuta obsoleta nei nuovi motori di MySQL

Il problema, da quanto sperimentato, si risolve sostituendo l'istruzione "Type" con "Engine" nel file install.sql

In Morfeo Show il file è posizionato admin/install.mysql.sql 

In Docman il file è docman.xml (nella cartella appena scompattata)

Ricordo che per la versione del Docman 1.4.0rc3 è necessario attivare il plug-in System Legacy nella sezione plug-in

Di seguito sono riportati i file corretti con, incorporati, le traduzioni italiane

Riporto tutto l'errore che si presenta quando si installano questi oggetti senzala correzione



        JInstaller::install: Errore SQL. DB function failed with error number 1064
        You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 29 SQL=CREATE TABLE IF NOT EXISTS `jos_docman` ( `id` int(11) NOT NULL auto_increment, `catid` int(11) NOT NULL default 1, `dmname` text NOT NULL, `dmdescription` longtext, `dmdate_published` datetime NOT NULL default '0000-00-00 00:00:00', `dmowner` int(4) NOT NULL default -1, `dmfilename` text NOT NULL, `published` tinyint(1) NOT NULL default 0, `dmurl` text NULL, `dmcounter` int(11) NULL default 0, `checked_out` int(11) NOT NULL default 0, `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00', `approved` tinyint(1) NOT NULL default 0, `dmthumbnail` text NULL, `dmlastupdateon` datetime default '0000-00-00 00:00:00', `dmlastupdateby` int(5) NOT NULL default -1, `dmsubmitedby` int(5) NOT NULL default -1, `dmmantainedby` int(5) default 0, `dmlicense_id` int(5) default 0, `dmlicense_display` tinyint(1) NOT NULL default 0, `access` int(11) unsigned NOT NULL default 0, `attribs` text NOT NULL, PRIMARY KEY (`id`), KEY `pub_appr_own_cat_name` (`published`,`approved`,`dmowner`,`catid`,`dmname`(64)), KEY `appr_pub_own_cat_date` (`approved`,`published`,`dmowner`,`catid`,`dmdate_published`), KEY `own_pub_appr_cat_count`(`dmowner`,`published`,`approved`,`catid`,`dmcounter`), KEY `own_pub_appr_cat_id` (`dmowner`, `published`, `approved`, `catid`, `id`) ) TYPE=MyISAM
        SQL =

        CREATE TABLE IF NOT EXISTS `jos_docman` (
              `id` int(11) NOT NULL auto_increment,
              `catid` int(11) NOT NULL default 1,
              `dmname` text NOT NULL, `dmdescription` longtext,
              `dmdate_published` datetime NOT NULL default '0000-00-00 00:00:00',
              `dmowner` int(4) NOT NULL default -1,
              `dmfilename` text NOT NULL,
              `published` tinyint(1) NOT NULL default 0,
              `dmurl` text NULL,
              `dmcounter` int(11) NULL default 0,
              `checked_out` int(11) NOT NULL default 0,
              `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
              `approved` tinyint(1) NOT NULL default 0,
              `dmthumbnail` text NULL,
              `dmlastupdateon` datetime default '0000-00-00 00:00:00',
              `dmlastupdateby` int(5) NOT NULL default -1,
              `dmsubmitedby` int(5) NOT NULL default -1,
              `dmmantainedby` int(5) default 0,
              `dmlicense_id` int(5) default 0,
              `dmlicense_display` tinyint(1) NOT NULL default 0,
              `access` int(11) unsigned NOT NULL default 0,
              `attribs` text NOT NULL,
              PRIMARY KEY (`id`),
              KEY `pub_appr_own_cat_name` (`published`,`approved`,`dmowner`,`catid`,`dmname`(64)),
              KEY `appr_pub_own_cat_date` (`approved`,`published`,`dmowner`,`catid`,`dmdate_published`),
              KEY `own_pub_appr_cat_count`(`dmowner`,`published`,`approved`,`catid`,`dmcounter`),
              KEY `own_pub_appr_cat_id`   (`dmowner`, `published`, `approved`, `catid`, `id`)
              )
              TYPE=MyISAM

        componente Installa: Errore SQL. DB function failed with error number 1064
        You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 29 SQL=CREATE TABLE IF NOT EXISTS `jos_docman` ( `id` int(11) NOT NULL auto_increment, `catid` int(11) NOT NULL default 1, `dmname` text NOT NULL, `dmdescription` longtext, `dmdate_published` datetime NOT NULL default '0000-00-00 00:00:00', `dmowner` int(4) NOT NULL default -1, `dmfilename` text NOT NULL, `published` tinyint(1) NOT NULL default 0, `dmurl` text NULL, `dmcounter` int(11) NULL default 0, `checked_out` int(11) NOT NULL default 0, `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00', `approved` tinyint(1) NOT NULL default 0, `dmthumbnail` text NULL, `dmlastupdateon` datetime default '0000-00-00 00:00:00', `dmlastupdateby` int(5) NOT NULL default -1, `dmsubmitedby` int(5) NOT NULL default -1, `dmmantainedby` int(5) default 0, `dmlicense_id` int(5) default 0, `dmlicense_display` tinyint(1) NOT NULL default 0, `access` int(11) unsigned NOT NULL default 0, `attribs` text NOT NULL, PRIMARY KEY (`id`), KEY `pub_appr_own_cat_name` (`published`,`approved`,`dmowner`,`catid`,`dmname`(64)), KEY `appr_pub_own_cat_date` (`approved`,`published`,`dmowner`,`catid`,`dmdate_published`), KEY `own_pub_appr_cat_count`(`dmowner`,`published`,`approved`,`catid`,`dmcounter`), KEY `own_pub_appr_cat_id` (`dmowner`, `published`, `approved`, `catid`, `id`) ) TYPE=MyISAM
        SQL =

        CREATE TABLE IF NOT EXISTS `jos_docman` (
              `id` int(11) NOT NULL auto_increment,
              `catid` int(11) NOT NULL default 1,
              `dmname` text NOT NULL, `dmdescription` longtext,
              `dmdate_published` datetime NOT NULL default '0000-00-00 00:00:00',
              `dmowner` int(4) NOT NULL default -1,
              `dmfilename` text NOT NULL,
              `published` tinyint(1) NOT NULL default 0,
              `dmurl` text NULL,
              `dmcounter` int(11) NULL default 0,
              `checked_out` int(11) NOT NULL default 0,
              `checked_out_time` datetime NOT NULL default '0000-00-00 00:00:00',
              `approved` tinyint(1) NOT NULL default 0,
              `dmthumbnail` text NULL,
              `dmlastupdateon` datetime default '0000-00-00 00:00:00',
              `dmlastupdateby` int(5) NOT NULL default -1,
              `dmsubmitedby` int(5) NOT NULL default -1,
              `dmmantainedby` int(5) default 0,
              `dmlicense_id` int(5) default 0,
              `dmlicense_display` tinyint(1) NOT NULL default 0,
              `access` int(11) unsigned NOT NULL default 0,
              `attribs` text NOT NULL,
              PRIMARY KEY (`id`),
              KEY `pub_appr_own_cat_name` (`published`,`approved`,`dmowner`,`catid`,`dmname`(64)),
              KEY `appr_pub_own_cat_date` (`approved`,`published`,`dmowner`,`catid`,`dmdate_published`),
              KEY `own_pub_appr_cat_count`(`dmowner`,`published`,`approved`,`catid`,`dmcounter`),
              KEY `own_pub_appr_cat_id`   (`dmowner`, `published`, `approved`, `catid`, `id`)
              )
              TYPE=MyISAM

        Installazione componente: Errore

Commenti

Post più popolari

Windows 7 - Installare ed usare una stampante sul Print Server GetNet 3 Port 2 USB e 1 LPT

Su una rete di calcolatori (che sia di uso casalingo, Small Office o Medium Office) la perifrica più ricercata è la stampante. In molti casi la soluzione più semplice è quella di collegarla ad un PC che fa da server e da qui condividerla con tutta la rete. Spesso, però, ciò non è fattibile.  Per ovviare al problema esistono delle "scatrolette" che consentono di collegare la periferica ad uno switch o router (a seconda della grandezza della rete) chiamate Print Server. Alcuni Print Server (come quello oggetto del nostro post) possono usare più stampanti. Nel caso specifico il modello della GetNet può usare 1 stampante su Porta Parallela (LPT) e 2 stampanti (non multifunzioni) su porta USB 1.1 GetNet Print Server 1 Parallel e 2 USB Il modello in questione ha in dotazione un CD che dovrebbe essere installato, ma non è compatibile con Windows a 64 bit (che sia XP, Vista, 7 o 8), e da problemi con Windows Vista, 7, 8 Nel caso specifico illustre...

Importare la posta da Outlook Express a GMail

English translated post Condividi su Quanti di noi hanno sul PC la propria vita, fatta di E-Mail di lavoro, svago, di amori persi e a volte ritrovati? Soprattutto hanno il terrore di perdere tutti questi messaggi nel momento in cui il Computer (che sia esso PC, Mac o Linux) vada a farsi benedire? Si possono effettuare della copie di Backup dei vari Outlook, Outlook Express, Eudora, Thunderbird,... (io personalmente l'ho fatto). Ma siamo sempre lì: li perdo? il nuovo programma importerà i dati? Paura, paura, paura! Da ormai 4 anni, da quando è uscito GMail (ma anche la concorrenza non è male, tipo Yahoo Mail, Hotmail...) che ha posto al primo posto lo spazio illimitato, ho preferito "girare" tutti i miei vecchi account di posta su questa nuova piattaforma, anche e soprattutto perché ho sempre la posta con me, ovunque sia leggibile con qualunque sistema (o quasi). Credo che non eista persona di questo mondo moderno e collegato che non abbia perso, almeno una volta, nella ...

Installare lo scanner della Ricoh Aficio MP 1600L

Condividi Non so a quanti di Voi lettori sia capitato di dover installare su Windows una fotocopiatrice multifunzione come la Ricoh Aficio MP 1600L . A differenza dei classici prodotti cash-'n'-carry come le stampanti Epson, HP, Canon e tutte le altre da supermercato, questo genere di prodotti tipicamente Office, non hanno un sistema "comodo" di installazione come per le suddette "macchine da bancone" Di seguito c'è la soluzione che ho trovato (anche grazie ad un aiuto) che mio ha consentito di risolvere lo stesso problema su più computer Il driver in Italiano (anche perché la versione lingua è importante) per Windows XP si scarica cliccando qui . Premetto che considero la stampante collegata ad un PC via USB (il contenuto di questo post è applicabile anche alla multifuzione collegata ad un print server come TP-Link PSU210) Una volta installata stampante con il Driver di stampa DDST ricordando di mettere nelle impostazioni il check Il marigine lungo è v...