JoseGabriel JoseGabriel  • 02.02.17 1:08

[AJUDA]Error ao importar tabela "camera" Empty [AJUDA]Error ao importar tabela "camera" 02.02.17 1:08


Olá amigos do Power Pixel, estou com um problema. Me ajudem?
O meu problema é o seguinte:

Error ao importar tabela "camera" alguém tem uma solução ?

Será que é fácil resolver este erro?
Veja minhas configurações, poderá ajudar!
Meu emulador é o

Minha CMS é a
OneCMSs
Meu hotel está no
Xampp 1.8.0
Como sei que uma imagem vale mais que mil palavras, olhe o print:
http://prntscr.com/e3a712

Desde já obrigado. Aguardarei respostas!

The Flash The Flash  • 02.02.17 1:14

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 02.02.17 1:14

Manda a SQL, por favor

Bet4 Bet4  • 02.02.17 1:17

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 02.02.17 1:17

Me manda o código que tu tentou inserir, porque pelo que o erro mostra é que você está tentando duplicar a coluna extra_id ai nunca irá executar corretamente a SQL.

JoseGabriel JoseGabriel  • 02.02.17 1:31

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 02.02.17 1:31

Código:
SET FOREIGN_KEY_CHECKS=0;


DROP [b]tabela em inglês[/b] IF EXISTS `camera_photos`;
CREATE [b]tabela em inglês[/b] `camera_photos` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `creator_id` int(11) NOT NULL,
  `creator_name` varchar(50) NOT NULL,
  `file_state` enum('purchased','preview') NOT NULL DEFAULT 'preview',
  `file_name` varchar(50) NOT NULL,
  `reports` int(11) NOT NULL DEFAULT '0',
  `deleted` enum('1','0') NOT NULL DEFAULT '0',
  `ip_address` varchar(50) NOT NULL,
  `created_at` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


ALTER [b]tabela em inglês[/b] moderation_tickets ADD extra_id INT NOT NULL DEFAULT 0;
ALTER [b]tabela em inglês[/b] moderation_tickets ADD report_type INT NOT NULL DEFAULT 1;


ALTER [b]tabela em inglês[/b] permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0'


INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.item_id', '777954880', 'The item id of the default photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.coins', '100', 'The coins-price of a photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.duckets', '100', 'The duckets-price of a photo poster');

Esse ai é o sql que estou tentando inserir

The Flash The Flash  • 02.02.17 2:07

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 02.02.17 2:07

Reputação da mensagem: 100% (1 votos)
JoseGabriel escreveu:
Código:
SET FOREIGN_KEY_CHECKS=0;


DROP [b]tabela em inglês[/b] IF EXISTS `camera_photos`;
CREATE [b]tabela em inglês[/b] `camera_photos` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `creator_id` int(11) NOT NULL,
  `creator_name` varchar(50) NOT NULL,
  `file_state` enum('purchased','preview') NOT NULL DEFAULT 'preview',
  `file_name` varchar(50) NOT NULL,
  `reports` int(11) NOT NULL DEFAULT '0',
  `deleted` enum('1','0') NOT NULL DEFAULT '0',
  `ip_address` varchar(50) NOT NULL,
  `created_at` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


ALTER [b]tabela em inglês[/b] moderation_tickets ADD extra_id INT NOT NULL DEFAULT 0;
ALTER [b]tabela em inglês[/b] moderation_tickets ADD report_type INT NOT NULL DEFAULT 1;


ALTER [b]tabela em inglês[/b] permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0'


INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.item_id', '777954880', 'The item id of the default photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.coins', '100', 'The coins-price of a photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.duckets', '100', 'The duckets-price of a photo poster');

Esse ai é o sql que estou tentando inserir

Coloque esta sql: http://pastebin.com/EPpjaH1k

JoseGabriel JoseGabriel  • 02.02.17 5:29

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 02.02.17 5:29

Zane escreveu:
JoseGabriel escreveu:
Código:
SET FOREIGN_KEY_CHECKS=0;


DROP [b]tabela em inglês[/b] IF EXISTS `camera_photos`;
CREATE [b]tabela em inglês[/b] `camera_photos` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `creator_id` int(11) NOT NULL,
  `creator_name` varchar(50) NOT NULL,
  `file_state` enum('purchased','preview') NOT NULL DEFAULT 'preview',
  `file_name` varchar(50) NOT NULL,
  `reports` int(11) NOT NULL DEFAULT '0',
  `deleted` enum('1','0') NOT NULL DEFAULT '0',
  `ip_address` varchar(50) NOT NULL,
  `created_at` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


ALTER [b]tabela em inglês[/b] moderation_tickets ADD extra_id INT NOT NULL DEFAULT 0;
ALTER [b]tabela em inglês[/b] moderation_tickets ADD report_type INT NOT NULL DEFAULT 1;


ALTER [b]tabela em inglês[/b] permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0'


INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.item_id', '777954880', 'The item id of the default photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.coins', '100', 'The coins-price of a photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.duckets', '100', 'The duckets-price of a photo poster');

Esse ai é o sql que estou tentando inserir

Coloque esta sql: http://pastebin.com/EPpjaH1k


Erro
consulta SQL:
ALTER tabela em inglês permissions_ranks ADD command_update_camera ENUM( '0', '1' ) NOT NULL DEFAULT '0' INSERT INTO `server_settings` 
VALUES (

'camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish'
);


Mensagens do MySQL : [AJUDA]Error ao importar tabela "camera" Dot
Código:
#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 'INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100' at line 4 


------------- // EDIT // -----------

Mano, então .. Eu revisei a db e vi que os codigos já estão la , porém meu emulador apresenta esse erro :
http://prntscr.com/e3g9xc
Na client eu entro normalmente mas quando chega nos 76% ele vai para "
Index of /swf/gordon/PRODUCTION-201607262204-86871104" ...

Já testei outro emulador e funciona normalmente  :cry:

The Flash The Flash  • 02.02.17 14:02

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 02.02.17 14:02

Reputação da mensagem: 100% (1 votos)
JoseGabriel escreveu:
Zane escreveu:
JoseGabriel escreveu:
Código:
SET FOREIGN_KEY_CHECKS=0;


DROP [b]tabela em inglês[/b] IF EXISTS `camera_photos`;
CREATE [b]tabela em inglês[/b] `camera_photos` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `creator_id` int(11) NOT NULL,
  `creator_name` varchar(50) NOT NULL,
  `file_state` enum('purchased','preview') NOT NULL DEFAULT 'preview',
  `file_name` varchar(50) NOT NULL,
  `reports` int(11) NOT NULL DEFAULT '0',
  `deleted` enum('1','0') NOT NULL DEFAULT '0',
  `ip_address` varchar(50) NOT NULL,
  `created_at` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


ALTER [b]tabela em inglês[/b] moderation_tickets ADD extra_id INT NOT NULL DEFAULT 0;
ALTER [b]tabela em inglês[/b] moderation_tickets ADD report_type INT NOT NULL DEFAULT 1;


ALTER [b]tabela em inglês[/b] permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0'


INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.item_id', '777954880', 'The item id of the default photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.coins', '100', 'The coins-price of a photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.duckets', '100', 'The duckets-price of a photo poster');

Esse ai é o sql que estou tentando inserir

Coloque esta sql: http://pastebin.com/EPpjaH1k


Erro
consulta SQL:
ALTER tabela em inglês permissions_ranks ADD command_update_camera ENUM( '0', '1' ) NOT NULL DEFAULT '0' INSERT INTO `server_settings` 
VALUES (

'camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish'
);


Mensagens do MySQL : [AJUDA]Error ao importar tabela "camera" Dot
Código:
#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 'INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100' at line 4 


------------- // EDIT // -----------

Mano, então .. Eu revisei a db e vi que os codigos já estão la , porém meu emulador apresenta esse erro :
http://prntscr.com/e3g9xc
Na client eu entro normalmente mas quando chega nos 76% ele vai para "
Index of /swf/gordon/PRODUCTION-201607262204-86871104" ...

Já testei outro emulador e funciona normalmente  :cry:

A swf é incompatível com tal emulador. Mas, no erro do print, tá faltando o "furniture" da câmera

JoseGabriel JoseGabriel  • 03.02.17 0:06

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 03.02.17 0:06

Zane escreveu:
JoseGabriel escreveu:
Zane escreveu:
JoseGabriel escreveu:
Código:
SET FOREIGN_KEY_CHECKS=0;


DROP [b]tabela em inglês[/b] IF EXISTS `camera_photos`;
CREATE [b]tabela em inglês[/b] `camera_photos` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `creator_id` int(11) NOT NULL,
  `creator_name` varchar(50) NOT NULL,
  `file_state` enum('purchased','preview') NOT NULL DEFAULT 'preview',
  `file_name` varchar(50) NOT NULL,
  `reports` int(11) NOT NULL DEFAULT '0',
  `deleted` enum('1','0') NOT NULL DEFAULT '0',
  `ip_address` varchar(50) NOT NULL,
  `created_at` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


ALTER [b]tabela em inglês[/b] moderation_tickets ADD extra_id INT NOT NULL DEFAULT 0;
ALTER [b]tabela em inglês[/b] moderation_tickets ADD report_type INT NOT NULL DEFAULT 1;


ALTER [b]tabela em inglês[/b] permissions_ranks ADD command_update_camera ENUM('0','1') NOT NULL DEFAULT '0'


INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.item_id', '777954880', 'The item id of the default photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.coins', '100', 'The coins-price of a photo poster');
INSERT INTO `server_settings` VALUES ('camera.photo.purchase.price.duckets', '100', 'The duckets-price of a photo poster');

Esse ai é o sql que estou tentando inserir

Coloque esta sql: http://pastebin.com/EPpjaH1k


Erro
consulta SQL:
ALTER tabela em inglês permissions_ranks ADD command_update_camera ENUM( '0', '1' ) NOT NULL DEFAULT '0' INSERT INTO `server_settings` 
VALUES (

'camera.photo.publish.price.duckets', '100', 'The duckets-price of a web publish'
);


Mensagens do MySQL : [AJUDA]Error ao importar tabela "camera" Dot
Código:
#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 'INSERT INTO `server_settings` VALUES ('camera.photo.publish.price.duckets', '100' at line 4 


------------- // EDIT // -----------

Mano, então .. Eu revisei a db e vi que os codigos já estão la , porém meu emulador apresenta esse erro :
http://prntscr.com/e3g9xc
Na client eu entro normalmente mas quando chega nos 76% ele vai para "
Index of /swf/gordon/PRODUCTION-201607262204-86871104" ...

Já testei outro emulador e funciona normalmente  :cry:

A swf é incompatível com tal emulador. Mas, no erro do print, tá faltando o "furniture" da câmera

Estranho, porque a SWF e o Emulador vieram do mesmo pack ... 
Todas minha dúvidas foram resolvidas !! Pode fechar o tópico . Valeu Zane

The Flash The Flash  • 03.02.17 1:29

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera" 03.02.17 1:29

[sucesso=Fechado]autor satisfeito[/sucesso]

Conteúdo patrocinado  • 

[AJUDA]Error ao importar tabela "camera" Empty Re: [AJUDA]Error ao importar tabela "camera"

Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.