查询语句错误 [1062]
错误信息: Duplicate entry '1' for key 1
SQL: INSERT INTO {tablepre}category_channel (cid, title, identifier, displayorder, url, status, postgid, managegid, listmode, imageinfo) VALUES(1, '房产', 'house', 0, '', 1, 'a:4:{i:1;s:1:"1";i:2;s:1:"1";i:3;s:1:"1";i:20;s:1:"1";}', 'a:1:{i:1;s:1:"1";}', 'text', 'a:9:{s:8:"imagelib";s:1:"0";s:11:"imageimpath";s:0:"";s:15:"watermarkstatus";s:1:"0";s:17:"watermarkminwidth";s:1:"0";s:18:"watermarkminheight";s:1:"0";s:13:"watermarktype";s:3:"gif";s:14:"watermarktrans";s:2:"65";s:16:"watermarkquality";s:2:"80";s:13:"watermarktext";a:12:{s:4:"text";s:0:"";s:8:"fontpath";s:21:"FetteSteinschrift.ttf";s:4:"size";i:0;s:5:"angle";i:0;s:5:"color";s:0:"";s:7:"shadowx";i:0;s:7:"shadowy";i:0;s:11:"shadowcolor";s:0:"";s:10:"translatex";s:0:"";s:10:"translatey";s:0:"";s:5:"skewx";s:0:"";s:5:"skewy";s:0:"";}}')
Backtrace: houseinstall\index.php:201 -> houseinstall\index.php:315 -> source\class\class_core.php:884 -> source\class\class_core.php:910 -> source\class\class_core.php:689
点击这里寻求帮助
Backtrace
File Line Function
1: houseinstall\index.php 201 runquery()
2: houseinstall\index.php 315 DB::query()
3: source\class\class_core.php 884 DB::_execute()
4: source\class\class_core.php 910 db_mysql->query()
5: source\class\class_core.php 689 db_mysql->halt()
|