| 
 
| =============Discuz!x1.5============= 
 由于最近论坛上很多用户问及附件转移问题,所以现在总结下 有关远程附件转移的注意事项
 
 1.首先将 data下attachment的文件夹移动到远程服务器上
 
 2.后台配置远程附件,(确保ftp空间商提供的域名能够直接访问空间)如图:
 
   
 3.更改数据库,其中需要更改的表有五个。分别为:
 pre_forum_attachment
 pre_home_pic
 pre_portal_article_title
 pre_portal_attachment
 pre_portal_topic_pic
 执行更新语句:
 其中,pre_forum_attachment,pre_portal_article_title,pre_portal_attachment,pre_portal_topic_pic
 语句为:
 update pre_forum_attachment set remote=1;update pre_portal_article_title set remote=1; update pre_portal_attachment set remote=1; update pre_portal_topic_pic set remote=1; 由于相册表中的remote取值还有一种情况为remote=2(论坛附件图片保存到相册)
 pre_home_pic
 :
 update pre_home_pic set remote=remote+1;注意:执行语句前,请备份数据库
 
 
 | 
 上一篇:求discuz x2门户内链实现方法。顺便求nginx下的tag伪静态方法。 下一篇:T中楼了,来申请免费空间 |