联系我们
软件销售
投诉邮箱

q@xunruicms.com

表单导入的时候报错这个是哪里出问题了
方案栏目:迅睿CMS 更新时间:2020-11-21 12:27:47

表单导入的时候报错,这个是哪里出问题了

2020-08-29_145155

迅睿: 把导入数据发给我试试

because: 回复@迅睿框架创始人  

{"id":"1","name":"轮播图","table":"banner","setting":[],"field":[{"id":"77","name":"标题","fieldname":"title","fieldtype":"Text","relatedid":"1","relatedname":"form-1","isedit":"1","ismain":"1","issystem":"1","ismember":"1","issearch":"0","disabled":"0","setting":"{\"option\":{\"fieldtype\":\"VARCHAR\",\"fieldlength\":\"255\",\"value\":\"\",\"width\":\"300\",\"css\":\"\"},\"validate\":{\"required\":\"1\",\"pattern\":\"\",\"errortips\":\"\",\"xss\":\"1\",\"check\":\"\",\"filter\":\"\",\"tips\":\"\",\"formattr\":\"\"},\"is_right\":\"0\"}","displayorder":"0"},{"id":"78","name":"图片文件","fieldname":"thumb","fieldtype":"File","relatedid":"1","relatedname":"form-1","isedit":"1","ismain":"1","issystem":"0","ismember":"0","issearch":"0","disabled":"0","setting":"{\"option\":{\"input\":\"1\",\"ext\":\"jpg,gif,png\",\"size\":\"10\",\"attachment\":\"0\",\"image_reduce\":\"\",\"css\":\"\"},\"validate\":{\"required\":\"0\",\"pattern\":\"\",\"errortips\":\"\",\"check\":\"\",\"filter\":\"\",\"tips\":\"建议1920*600\",\"formattr\":\"\"},\"is_right\":\"0\"}","displayorder":"0"},{"id":"79","name":"链接","fieldname":"url","fieldtype":"Text","relatedid":"1","relatedname":"form-1","isedit":"1","ismain":"1","issystem":"0","ismember":"0","issearch":"0","disabled":"0","setting":"{\"option\":{\"fieldtype\":\"VARCHAR\",\"fieldlength\":\"255\",\"value\":\"\",\"width\":\"\",\"css\":\"\"},\"validate\":{\"required\":\"0\",\"pattern\":\"\",\"errortips\":\"\",\"check\":\"\",\"filter\":\"\",\"tips\":\"\",\"formattr\":\"\"},\"is_right\":\"0\"}","displayorder":"0"}],"sql":"DROP TABLE IF EXISTS `{table}`;\r\nCREATE TABLE IF NOT EXISTS `{table}` (\n  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,\n  `uid` int(10) unsigned DEFAULT '0' COMMENT '录入者uid',\n  `author` varchar(100) DEFAULT NULL COMMENT '录入者账号',\n  `title` varchar(255) DEFAULT NULL COMMENT '主题',\n  `inputip` varchar(50) DEFAULT NULL COMMENT '录入者ip',\n  `inputtime` int(10) unsigned NOT NULL COMMENT '录入时间',\n  `status` tinyint(1) DEFAULT NULL COMMENT '状态值',\n  `displayorder` int(10) NOT NULL DEFAULT '0' COMMENT '排序值',\n  `tableid` smallint(5) unsigned NOT NULL COMMENT '附表id',\n  `thumb` varchar(255) DEFAULT NULL COMMENT '图片文件',\n  `url` varchar(255) DEFAULT NULL COMMENT '链接',\n  PRIMARY KEY (`id`),\n  KEY `uid` (`uid`),\n  KEY `status` (`status`),\n  KEY `inputtime` (`inputtime`),\n  KEY `displayorder` (`displayorder`)\n) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='轮播图表单表';\r\nDROP TABLE IF EXISTS `{table}_data_0`;\r\nCREATE TABLE IF NOT EXISTS `{table}_data_0` (\n  `id` int(10) unsigned NOT NULL,\n  `uid` int(10) unsigned DEFAULT '0' COMMENT '录入者uid',\n  UNIQUE KEY `id` (`id`),\n  KEY `uid` (`uid`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='轮播图表单附表';\r\n"}

迅睿:
image
我导入成功了,没有提示错误

because: 回复@迅睿框架创始人  错误日志哪里报了这个
2020-08-29_145155

because: 好像是我本地服务器问题,不知道哪里出错了

相关内容