[RESOLVIDO] Error number 1064

  • afonsilho
  • Avatar de afonsilho Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
13 anos 10 meses atrás #59958 por afonsilho
afonsilho created the topic: [RESOLVIDO] Error number 1064
Estou com um problema na instalação de um componente pra o joomla 1.5.23

Procurei aqui no forum e no google, em outros foruns, e vejo que tem muita gente com esse mesmo erro no banco MySQL, com instalação de componentes diferentes, e nenhuma solução.

Já antecipando, não, não mudei o prefixo padrão das tabelas do joomla, está com o padrão jos.

Meu xampp é o 2.5. Este erro não acontecia em versões anteriores do xampp.

O erro completo:

JInstaller::install: Erro do 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 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Componente Instalar: Arquivo SQL com erro, inexistente ou inacessível para leitura. 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 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;

Alguém sabe como resolver isso?

Please Entrar ou Registrar to join the conversation.


Mais
13 anos 10 meses atrás #59962 por mps
mps replied the topic: Re: Error number 1064
Aee tenta alterar onde estiver escrito "TYPE=MyISAM" para "ENGINE=MyISAM", talves de certo.... muda em todos os lugares que encontrar no arquivo install.... flw

afonsilho escreveu: Estou com um problema na instalação de um componente pra o joomla 1.5.23

Procurei aqui no forum e no google, em outros foruns, e vejo que tem muita gente com esse mesmo erro no banco MySQL, com instalação de componentes diferentes, e nenhuma solução.

Já antecipando, não, não mudei o prefixo padrão das tabelas do joomla, está com o padrão jos.

Meu xampp é o 2.5. Este erro não acontecia em versões anteriores do xampp.

O erro completo:

JInstaller::install: Erro do 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 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Componente Instalar: Arquivo SQL com erro, inexistente ou inacessível para leitura. 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 10 SQL=CREATE TABLE `jos_fpss_categories` ( `id` int(3) NOT NULL auto_increment, `name` varchar(225) NOT NULL, `width` int(11) NOT NULL, `quality` int(11) NOT NULL, `width_thumb` int(11) NOT NULL, `quality_thumb` int(11) NOT NULL, `published` tinyint(1) NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM;
SQL =
CREATE TABLE `jos_fpss_categories` (
`id` int(3) NOT NULL auto_increment,
`name` varchar(225) NOT NULL,
`width` int(11) NOT NULL,
`quality` int(11) NOT NULL,
`width_thumb` int(11) NOT NULL,
`quality_thumb` int(11) NOT NULL,
`published` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;

Alguém sabe como resolver isso?

Please Entrar ou Registrar to join the conversation.

  • afonsilho
  • Avatar de afonsilho Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
13 anos 10 meses atrás #59964 por afonsilho
afonsilho replied the topic: Re: Error number 1064
CARACA vc resolveu, procurei esse negocio em todo lugar, um monte de gente com duvida e ninguém tem solução. Mega Obrigado.

Please Entrar ou Registrar to join the conversation.

  • afonsilho
  • Avatar de afonsilho Autor do Tópico
  • Offline
  • JCB! Colaborador
  • JCB! Colaborador
Mais
13 anos 10 meses atrás #59965 por afonsilho
afonsilho replied the topic: Re: Error number 1064
Para completar aqui como fiz.

dei um find no dream na pasta com os arquivos do componente e apareceu o TYPE=MyISAM apenas no arquivo sql, nesse caso fpss.sql.

apareceu 2 ocorrências de TYPE=MyISAM, troquei pelo ENGINE=MyISAM e vualáaaaa, resolvido. instalou normalmente.

Essa solução simples mas que só nosso amigo aqui sabia, pode resolver em outros componentes tbm. Mais uma vez obrigado mps.

Please Entrar ou Registrar to join the conversation.

Mais
13 anos 10 meses atrás #59973 por mps
mps replied the topic: Re: Error number 1064
Flw afonsilho, eu tbm só soube pq quebrei a cabeça tentando resolver esse erro...

Abraços..

afonsilho escreveu: Para completar aqui como fiz.

dei um find no dream na pasta com os arquivos do componente e apareceu o TYPE=MyISAM apenas no arquivo sql, nesse caso fpss.sql.

apareceu 2 ocorrências de TYPE=MyISAM, troquei pelo ENGINE=MyISAM e vualáaaaa, resolvido. instalou normalmente.

Essa solução simples mas que só nosso amigo aqui sabia, pode resolver em outros componentes tbm. Mais uma vez obrigado mps.

Please Entrar ou Registrar to join the conversation.