LOADING

浏览:818

discuz最新版本!X3.4R20210320插件无法启动解决方案。

技术分享8个月前发布 xwkj
0 0

discuz最新版本!X3.4R20210320插件无法启动解决方案

在最新版本的Discuz中,对插件进行了大量的验证。如果不是官方购买的插件,不仅会提示“对不起,你的安装不是正版的,安装过程也无法执行”,即使安装成功,也很难打开。

以下我们将告诉你解决方案:

找到/source/admincp/admincp_plugins.搜索$available变量的php文档,定位为278行,注释以下内容,存储即可。

// if(dfsockopen(cloudaddons_url(‘&from=s’).’&mod=app&ac=vali’.’dator&ver=2&addonid=’.$addonid.($array !== false ? ‘&rid=’.$array[‘RevisionID’].’&sn=’.$array[‘SN’].’&rd=’.$array[‘RevisionDateline’] : ”), 0, ”, ”, false, CLOUDADDONS_DOWNLOAD_IP, 15) === ‘0’) {
//         $available = 0;
// }

(The latest version of Discuz! X3.4 R20210320 plug-in fails to start the solution.

In the latest version of Discuz, a lot of verifications are done on plug-ins. If it is not an officially purchased plug-in, it will not only prompt “Sorry, you have not installed a genuine application, and the installer cannot continue”. Even if the installation is successful, it cannot be enabled.

Below we will tell you the solution:
Find the /source/admincp/admincp_plugins.php file, search for the $available variable, locate line 278, comment the following content, and save it.
// if(dfsockopen(cloudaddons_url(‘&from=s’).’&mod=app&ac=vali’.’dator&ver=2&addonid=’.$addonid.($array !== false?’&rid=’.$array[‘ RevisionID’].’&sn=’.$array[‘SN’].’&rd=’.$array[‘RevisionDateline’]:”), 0,”,”, false, CLOUDADDONS_DOWNLOAD_IP, 15) == = ‘0’) {
// $available = 0;
//}
)

 

 

© 版权声明

相关文章

暂无评论

暂无评论...