Discuz   发布时间:2022-05-06  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了DISCUZ开启远程附件升级SQL命令大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
@H_450_1@

概述

如果你的discuz原来附件是在本地,现在开启了远程附件,请遵循以下做法首先,把附件目录转移到远程服务器上其次,在phpR_201_11845@YADMIN里运行如下命令(把PRE换成你的表前缀)view plaincopy to clipboardprint?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';  

<span style="widows: 2; text-transform: none; text-indent: 0px; border-collapse: separate; font: medium 'Times New Roman'; white-space: normal; orphans: 2; letter-spacing: normal; color: rgb(0,0); word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px" class="Apple-style-span"><span style="line-height: 16px; font-family: 'Trebuchet MS',Arial,sans-serif; color: rgb(64,64,64); font-size: 13px" class="Apple-style-span">
<p style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; padding-top: 16px">如果你的<span class="wp_keywordlink_affiliate"><a style="outline-style: none; color: #669517; text-decoration: none" title="查看 discuz 的全部文章" href="http://www.sn03.com" target="_blank">discuz原来附件是在本地,现在开启了远程附件,请遵循以下做法首先,把附件目录转移到远程服务器上其次,在<a href="http://www.sn03.com" target="_blank">phpR_201_11845@YADMIN里运行如下命令(把PRE换成你的表前缀)


<div style="overflow-x: auto; overflow-y: auto; BACkground-color: rgb(231,229,220); margin: 18px 0px; width: 594px; font-family: Consolas,'Courier New',Courier,mono; font-size: 12px; padding-top: 1px" class="dp-Highlighter">
<div style="padding-left: 45px" class="bar">
<div style="border-left: rgb(108,226,108) 3px solid; padding-bottom: 10px; BACkground-color: rgb(248,248,248); padding-left: 10px; padding-right: 8px; font: 9px Verdana,Geneva,Helvetica,sans-serif; color: silver; padding-top: 3px" class="tools">
<a style="outline-style: none; color: rgb(160,160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('Viewsource',this);return false;" href="#">view plain<a style="outline-style: none; color: rgb(160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('CopyToClipboard',this);return false;" href="#">copy to clipboard<a style="outline-style: none; color: rgb(160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('Printsource',this);return false;" href="#">print<a style="outline-style: none; color: rgb(160,160); font-size: 9px; margin-right: 10px; text-decoration: none" onclick="dp.sh.Toolbar.Command('About',this);return false;" href="#">?

大佬总结

以上是大佬教程为你收集整理的DISCUZ开启远程附件升级SQL命令全部内容,希望文章能够帮你解决DISCUZ开启远程附件升级SQL命令所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: