如果你的discuz原来附件是在本地,现在开启了远程附件,请遵循以下做法
首先,把附件目录转移到远程服务器上
其次,在PHPMYADMIN里运行如下命令(把PRE换成你的表前缀)
- update pre_forum_attachment set remote = '1' where remote = '0';
- update pre_portal_attachment set remote = '1' where remote = '0';
- update pre_home_pic set remote = '1' where remote = '0';
- update pre_home_album set picflag = '2' where picflag = '1';