
böyle bir sorun alıyorum bu ne demek daha önceden yüklenmiş dosya mı demek geçende böyle bir hata alıyordum veritabanını silip tekrar kurdum çalışmıştı .. neden yapar bunu nasıl çözeriz kolay gelsin .
4
●471

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
CREATE TABLE `attachmenttype` (
`extension` char(20) character set latin1 collate latin1_bin NOT NULL default '',
`mimetype` varchar(255) NOT NULL default '',
`size` int(10) unsigned NOT NULL default '0',
`width` smallint(5) unsigned NOT NULL default '0',
`height` smallint(5) unsigned NOT NULL default '0',
`enabled` smallint(5) unsigned NOT NULL default '1',
`display` smallint(5) unsigned NOT NULL default '0',
`thumbnail` smallint(5) unsigned NOT NULL default '0',
`newwindow` smallint(5) unsigned NOT NULL default '0',
PRIMARY KEY (`extension`),
KEY `enabled` (`enabled`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO `attachmenttype` VALUES('gif', 'a:1:{i:0;s:23:"Content-type: image/gif";}', 20000, 620, 280, 1, 0, 1, 0);
INSERT INTO `attachmenttype` VALUES('jpeg', 'a:1:{i:0;s:24:"Content-type: image/jpeg";}', 20000, 620, 280, 1, 0, 1, 0);
INSERT INTO `attachmenttype` VALUES('jpg', 'a:1:{i:0;s:24:"Content-type: image/jpeg";}', 100000, 0, 0, 1, 0, 1, 0);
INSERT INTO `attachmenttype` VALUES('jpe', 'a:1:{i:0;s:24:"Content-type: image/jpeg";}', 20000, 620, 280, 1, 0, 1, 0);
INSERT INTO `attachmenttype` VALUES('txt', 'a:1:{i:0;s:24:"Content-type: plain/text";}', 20000, 0, 0, 1, 2, 0, 0);
INSERT INTO `attachmenttype` VALUES('png', 'a:1:{i:0;s:23:"Content-type: image/png";}', 20000, 620, 280, 1, 0, 1, 0);
INSERT INTO `attachmenttype` VALUES('doc', 'a:1:{i:0;s:32:"Content-type: application/msword";}', 20000, 0, 0, 1, 0, 0, 0);
INSERT INTO `attachmenttype` VALUES('pdf', 'a:1:{i:0;s:29:"Content-type: application/pdf";}', 20000, 0, 0, 1, 0, 1, 0);
INSERT INTO `attachmenttype` VALUES('bmp', 'a:1:{i:0;s:26:"Content-type: image/bitmap";}', 20000, 620, 280, 1, 0, 0, 0);
INSERT INTO `attachmenttype` VALUES('psd', 'a:1:{i:0;s:29:"Content-type: unknown/unknown";}', 20000, 0, 0, 1, 0, 1, 0);
INSERT INTO `attachmenttype` VALUES('zip', 'a:1:{i:0;s:29:"Content-type: application/zip";}', 100000, 0, 0, 1, 0, 0, 0);Bu sorguyu çalıştırdıktan sonra tekrar yüklemeyi deneyebilirmisin ?