View Single Post
muukis
Veteran Member
Join Date: Apr 2009
Old 08-14-2013 , 03:56   Re: ChatLog v1.3.7 (Extended)
Reply With Quote #157

Quote:
Originally Posted by Blacksilver View Post
could you make a .sql file which i could import to create the table automaticly?
Code:
CREATE TABLE IF NOT EXISTS `chatlogs` (
  `seqid` INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
  `srvid` varchar(255) NOT NULL,
  `date` timestamp NOT NULL default CURRENT_TIMESTAMP,
  `name` varchar(64) NOT NULL,
  `steamid` varchar(32) NOT NULL,
  `text` varchar(192) NOT NULL,
  `team` int(1) NOT NULL,
  `type` int(2) NOT NULL,
  INDEX (`srvid`),
  INDEX (`steamid`))
  DEFAULT CHARSET=utf8;
Quote:
Originally Posted by KeRRR View Post
Can somebody help me, tried installing the chatlogs, the instructions are vague. I made a sql database on my forums, filled in required information in databases.cfg, now I am trying to test the chatlog.php demo and it is returning this error: "MySQL Failure: Table 'endlessg_cl.chatlogs' doesn't exist"

Am I missing something?
The plugin should create the table on its own once it is running on your game server. You can also create the table manually using the script above.
__________________
Monster Hunter

Though certainly not superhuman, the man's prowess inspires an excess of whispered rumors. But those rumors remain in the realm of speculation.
muukis is offline