帝国增加字段提示Row size too large怎么解决
增加字段提示以下信息,如何解决?Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBsalter table ***_ecms_infocla……
增加字段提示以下信息,如何解决?
Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBsalter table ***_ecms_infoclass_info add zz_jdtype text not null,add z_jdtype varchar(255) not null,add qz_jdtype varchar(255) not null,add save_jdtype varchar(10) not null;
超过mysql允许的最大单表长度,解决办法是:减少字段,或字段少用text类型, 添加字段的时候,采集项去掉.
- 上一篇
帝国cms模板实现文章点击月、周、日排行效果方法
假设条件:模型:news 文章ID=35在模型管理增加相应3个字段,分别是:DayHits,WeekHits,MonthHits 这3个字段全部在主表,int类型字段再增加ConditionHits 字段,为文本型,同样在主表 注意大小写$time=mktime(0,0,0,8,5,2010);//设
- 下一篇
帝国模板后台上传60几M的文件怎么不行呢
上传60几M的文件怎么不行呢? 没有提示 只显示:无法显示该页10M的文件也上传不了后台上传附件大小我已改成100M了修改php配置文件php.ini:upload_max_filesize 单文件最大上传大小post_max_size 表单最大上传大小同时还