Ajuda - Dois Errinhos

4 participantes

Troy Troy  • 08.09.13 15:37

Ajuda - Dois Errinhos Empty Ajuda - Dois Errinhos 08.09.13 15:37

Bem, eu uso o Trypolin emulator e a cms do LoToS, compatibilizei tudo, só não consegui o código para solucionar esse erro:

Unknown column 'longstory' in 'field list'
Table 'db.stafflogs' doesn't exist < esse erro acontece quando vou dar emblema pela HK.

ele aparece quando eu tento postar a notícia.


O outro erro, não é bem um erro, eu queria saber os comandos do Trypolin, dá emblema, etc.

Troy Troy  • 08.09.13 15:46

Ajuda - Dois Errinhos Empty Re: Ajuda - Dois Errinhos 08.09.13 15:46

UP ! Tive  que fazer isso pra o tpc subir.

lai0n lai0n  • 08.09.13 16:01

Ajuda - Dois Errinhos Empty Re: Ajuda - Dois Errinhos 08.09.13 16:01

1.)A tabela stafflogs não existe ( função dela : criar logs do que acontece na housekepping ) ,
Pegue a stafflogs de outra database e coloque na sua database .
2.) Geralmente tem todos os comandos do emulator em comands.ini



#Edit Peguei o stafflogs na minha database
Código:
[i][/i]
-- --------------------------------------------------------
[i][/i][i][/i]

[i][/i]
--
[i][/i]
-- Estrutura da tabela `stafflogs`
[i][/i]
--
[i][/i]

[i][/i]
CREATE TABLE IF NOT EXISTS `stafflogs` (
[i][/i]
  `id` int(5) NOT NULL AUTO_INCREMENT,
[i][/i]
  `action` varchar(12) COLLATE latin1_general_ci NOT NULL,
[i][/i]
  `message` text COLLATE latin1_general_ci,
[i][/i]
  `note` text COLLATE latin1_general_ci,
[i][/i]
  `userid` int(11) NOT NULL,
[i][/i]
  `targetid` int(11) DEFAULT '0',
[i][/i]
  `timestamp` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
[i][/i]
  `details` varchar(50) COLLATE latin1_general_ci NOT NULL DEFAULT '-/-',
[i][/i]
  PRIMARY KEY (`id`)
[i][/i]
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=5 ;
[i][/i]

[i][/i]
--
[i][/i]
-- Extraindo dados da tabela `stafflogs`
[i][/i]
--
[i][/i]

[i][/i]
INSERT INTO `stafflogs` (`id`, `action`, `message`, `note`, `userid`, `targetid`, `timestamp`, `details`) VALUES
[i][/i]
(1, 'Housekeeping', 'Login (IP: 192.168.254.1)', 'login.php', 1, 0, '26.06.2013 18:22:01', '-/-'),
[i][/i]
(2, 'Housekeeping', 'Logout', 'notify_logout', 4, 0, '16/08/2013 15:41:48', '-/-'),
[i][/i]
(3, 'Housekeeping', 'Login (IP: ::1)', 'login.php', 4, 0, '16/08/2013 15:41:58', '-/-'),
[i][/i]
(4, 'Housekeeping', 'Logout', 'notify_logout', 4, 0, '16/08/2013 15:45:16', '-/-');

Até,


Última edição por laion' em 08.09.13 16:13, editado 1 vez(es)

Edu' Edu'  • 08.09.13 16:04

Ajuda - Dois Errinhos Empty Re: Ajuda - Dois Errinhos 08.09.13 16:04

ALERTA MODERAÇÃO

O usuário ✖Nec fez um dual post, será punido com +1 infração
____________________________________________________________________________________________________________________________________________


Execute essa sql:

Código:

-- phpMyAdmin SQL Dump
-- version 4.0.5
-- http://www.phpmyadmin.net
--
-- Máquina: localhost
-- Data de Criação: 08-Set-2013 às 16:03
-- Versão do servidor: 5.1.71-community
-- versão do PHP: 5.4.14

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Base de Dados: `dsdsd`
--

-- --------------------------------------------------------

--
-- Estrutura da tabela `stafflogs`
--

CREATE TABLE IF NOT EXISTS `stafflogs` (
  `id` int(5) NOT NULL AUTO_INCREMENT,
  `action` varchar(12) COLLATE latin1_general_ci NOT NULL,
  `message` text COLLATE latin1_general_ci,
  `note` text COLLATE latin1_general_ci,
  `userid` int(11) NOT NULL,
  `targetid` int(11) DEFAULT '0',
  `timestamp` varchar(50) COLLATE latin1_general_ci DEFAULT NULL,
  `details` varchar(50) COLLATE latin1_general_ci NOT NULL DEFAULT '-/-',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

Para ve os comandos digite :commands

Troy Troy  • 08.09.13 16:15

Ajuda - Dois Errinhos Empty Re: Ajuda - Dois Errinhos 08.09.13 16:15

Obrigado ! Agora estou com um bug, meus mobis estão sumindo. Já tentei todo tipo de SQL e nada resolve.

Edu' Edu'  • 08.09.13 16:18

Ajuda - Dois Errinhos Empty Re: Ajuda - Dois Errinhos 08.09.13 16:18

limpe a tabela items_rooms como te falei no skype :p

Troy Troy  • 08.09.13 16:31

Ajuda - Dois Errinhos Empty Re: Ajuda - Dois Errinhos 08.09.13 16:31

não tá dando, caramba que azar :(


#EDIT

ARRUMEI ! PODE FECHAR !

Example Example  • 08.09.13 20:02

Ajuda - Dois Errinhos Empty Re: Ajuda - Dois Errinhos 08.09.13 20:02

ALERTA - MODERAÇÃO

A pedido do autor



@Fechado.
@Movido.
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.