admin 发表于 2021-8-18 10:32:30

Discuz!X3.5修复 后台部分设置项缺少对应安装数据的问题需要升级得数据库SQL语句

Discuz!X3.5修复 后台部分设置项缺少对应安装数据的问题需要升级得数据库SQL语句:

INSERT INTO pre_common_setting VALUES ('accountguard','a:3:{s:12:\"loginpwcheck\";s:1:\"0\";s:14:\"loginoutofdate\";s:1:\"0\";s:17:\"loginoutofdatenum\";s:0:\"\";}');

UPDATE `pre_common_setting` SET `svalue` = '1' WHERE `pre_common_setting`.`skey` = 'activitycredit';

UPDATE `pre_common_setting` SET `svalue` = '0' WHERE `pre_common_setting`.`skey` = 'activityforumid';

INSERT INTO pre_common_setting VALUES ('advexpiration','a:3:{s:5:\"allow\";b:0;s:3:\"day\";s:0:\"\";s:5:\"users\";s:0:\"\";}');

INSERT INTO pre_common_setting VALUES ('albumcategoryrequired','0');
INSERT INTO pre_common_setting VALUES ('albumcategorystat','0');

INSERT INTO pre_common_setting VALUES ('allowpostcomment','a:2:{i:0;s:1:\"1\";i:1;s:1:\"2\";}');

INSERT INTO pre_common_setting VALUES ('blogcategoryrequired','0');

INSERT INTO pre_common_setting VALUES ('blogcategorystat','0');

INSERT INTO pre_common_setting VALUES ('change_secmobile','0');

INSERT INTO pre_common_setting VALUES ('collectionrecommend','a:3:{s:5:\"ctids\";N;s:13:\"autorecommend\";i:0;s:14:\"adminrecommend\";i:0;}');

INSERT INTO pre_common_setting VALUES ('collectionrecommendnum','0');

INSERT INTO pre_common_setting VALUES ('groupmod','0');

INSERT INTO pre_common_setting VALUES ('group_description','');

INSERT INTO pre_common_setting VALUES ('group_keywords','');

INSERT INTO pre_common_setting VALUES ('group_recommend','a:0:{}');

INSERT INTO pre_common_setting VALUES ('moduser_public','0');

INSERT INTO pre_common_setting VALUES ('need_secmobile','0');

INSERT INTO pre_common_setting VALUES ('portalarticleimgthumbclosed','0');

INSERT INTO pre_common_setting VALUES ('profilegroupnew','');

INSERT INTO pre_common_setting VALUES ('relatedlinkstatus','0');

INSERT INTO pre_common_setting VALUES ('simplemode','0');

INSERT INTO pre_common_setting VALUES ('thumbsource','0');


6618276 发表于 2021-8-27 10:21:06


感谢楼主的无私分享!要想dz插件网好 就靠你我他
页: [1]
查看完整版本: Discuz!X3.5修复 后台部分设置项缺少对应安装数据的问题需要升级得数据库SQL语句

创宇盾启航版免费网站防御网站加速服务