Sorry for my question, but I can't see the SQL file to create the table cashshop_log... not need it?
Done by myself and work perfectly:
CREATE TABLE `cashshop_log` (
`id` int(11) NOT NULL,
`nameid` varchar(30) NOT NULL DEFAULT '',
`qnt` int(11) NOT NULL DEFAULT '0',
`account_id` int(11) UNSIGNED NOT NULL DEFAULT '0',
`char_id` int(11) UNSIGNED NOT NULL,
`map` varchar(20) NOT NULL DEFAULT '',
`date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE `cashshop_log`
ADD PRIMARY KEY (`id`);
ALTER TABLE `cashshop_log`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;