我是小站长 發表於 2019-6-2 10:00:02

3.x 个人资料页面丢失,用户栏目分组空白的修复方法

<br /><br />系统升级和转换了编码,导致 【设置】-【个人资料】页面缺失,经查属于【后台】-【用户】-【用户栏目】-【栏目分组】内的分组项目丢失,后台无法直接添加。<br /><br />解决办法:登录phpmyadmin&nbsp;&nbsp;找到数据表:pre_common_setting&nbsp;&nbsp;--&nbsp; &nbsp;浏览&nbsp;&nbsp;--&nbsp; &nbsp;找到:profilegroup&nbsp; &nbsp;--&nbsp;&nbsp;点击“编辑”&nbsp;&nbsp;-&nbsp;&nbsp;把以下内容复制粘贴到里面并执行。<br /><br /><ol><li>a:5:{s:4:&quot;base&quot;;a:4:{s:9:&quot;available&quot;;i:1;s:12:&quot;displayorder&quot;;s:1:&quot;0&quot;;s:5:&quot;title&quot;;s:12:&quot;基本资料&quot;;s:5:&quot;field&quot;;a:17:{s:8:&quot;realname&quot;;s:8:&quot;realname&quot;;s:6:&quot;gender&quot;;s:6:&quot;gender&quot;;s:8:&quot;birthday&quot;;s:8:&quot;birthday&quot;;s:9:&quot;birthcity&quot;;s:9:&quot;birthcity&quot;;s:10:&quot;residecity&quot;;s:10:&quot;residecity&quot;;s:10:&quot;residedist&quot;;s:10:&quot;residedist&quot;;s:15:&quot;affectivestatus&quot;;s:15:&quot;affectivestatus&quot;;s:10:&quot;lookingfor&quot;;s:10:&quot;lookingfor&quot;;s:9:&quot;bloodtype&quot;;s:9:&quot;bloodtype&quot;;s:6:&quot;field1&quot;;s:6:&quot;field1&quot;;s:6:&quot;field2&quot;;s:6:&quot;field2&quot;;s:6:&quot;field3&quot;;s:6:&quot;field3&quot;;s:6:&quot;field4&quot;;s:6:&quot;field4&quot;;s:6:&quot;field5&quot;;s:6:&quot;field5&quot;;s:6:&quot;field6&quot;;s:6:&quot;field6&quot;;s:6:&quot;field7&quot;;s:6:&quot;field7&quot;;s:6:&quot;field8&quot;;s:6:&quot;field8&quot;;}}s:7:&quot;contact&quot;;a:4:{s:5:&quot;title&quot;;s:12:&quot;联系方式&quot;;s:9:&quot;available&quot;;i:1;s:12:&quot;displayorder&quot;;s:1:&quot;1&quot;;s:5:&quot;field&quot;;a:7:{s:9:&quot;telephone&quot;;s:9:&quot;telephone&quot;;s:6:&quot;mobile&quot;;s:6:&quot;mobile&quot;;s:2:&quot;qq&quot;;s:2:&quot;qq&quot;;s:3:&quot;msn&quot;;s:3:&quot;msn&quot;;s:6:&quot;taobao&quot;;s:6:&quot;taobao&quot;;s:3:&quot;icq&quot;;s:3:&quot;icq&quot;;s:5:&quot;yahoo&quot;;s:5:&quot;yahoo&quot;;}}s:3:&quot;edu&quot;;a:4:{s:9:&quot;available&quot;;i:1;s:12:&quot;displayorder&quot;;s:1:&quot;2&quot;;s:5:&quot;title&quot;;s:12:&quot;教育情况&quot;;s:5:&quot;field&quot;;a:2:{s:14:&quot;graduateschool&quot;;s:14:&quot;graduateschool&quot;;s:9:&quot;education&quot;;s:9:&quot;education&quot;;}}s:4:&quot;work&quot;;a:4:{s:9:&quot;available&quot;;i:1;s:12:&quot;displayorder&quot;;s:1:&quot;3&quot;;s:5:&quot;title&quot;;s:12:&quot;工作情况&quot;;s:5:&quot;field&quot;;a:4:{s:7:&quot;company&quot;;s:7:&quot;company&quot;;s:10:&quot;occupation&quot;;s:10:&quot;occupation&quot;;s:8:&quot;position&quot;;s:8:&quot;position&quot;;s:7:&quot;revenue&quot;;s:7:&quot;revenue&quot;;}}s:4:&quot;info&quot;;a:4:{s:5:&quot;title&quot;;s:12:&quot;个人信息&quot;;s:9:&quot;available&quot;;i:1;s:12:&quot;displayorder&quot;;s:1:&quot;4&quot;;s:5:&quot;field&quot;;a:10:{s:10:&quot;idcardtype&quot;;s:10:&quot;idcardtype&quot;;s:6:&quot;idcard&quot;;s:6:&quot;idcard&quot;;s:7:&quot;address&quot;;s:7:&quot;address&quot;;s:7:&quot;zipcode&quot;;s:7:&quot;zipcode&quot;;s:4:&quot;site&quot;;s:4:&quot;site&quot;;s:3:&quot;bio&quot;;s:3:&quot;bio&quot;;s:8:&quot;interest&quot;;s:8:&quot;interest&quot;;s:7:&quot;sightml&quot;;s:7:&quot;sightml&quot;;s:12:&quot;customstatus&quot;;s:12:&quot;customstatus&quot;;s:10:&quot;timeoffset&quot;;s:10:&quot;timeoffset&quot;;}}}</ol><br /><br /><br /><br /><br />用户<em>, </em>栏目<em>, </em>分组<em>, </em>编辑<em>, </em>个人资料

耗子 發表於 2019-6-7 21:11:26

不错 不错 但是U8和GBK还是有差异的!

onetheme 發表於 2019-6-13 20:08:27

感谢分享!

站长 發表於 2019-6-16 14:33:39

感谢 学习一下

BQQ 發表於 2022-9-27 17:37:14

这个错误不常会出现。哈哈
頁: [1]
查看完整版本: 3.x 个人资料页面丢失,用户栏目分组空白的修复方法