找回密码
 立即注册
arrayThecloudaddonsDiscuz | 其他 2021-12-18 867 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
最新版discuz! X3.4 R20210320 插件无法启动解决方法。

在最新版的Discuz中对插件做很多验证,如果不是官方购买的插件,不单止会提示“对不起,您安装的不是正版应用,安装程序无法继续执行”,即使安装成功,也无法启用。

下面我们将解决办法告诉大家:
找到/source/admincp/admincp_plugins.php文件,搜索$available变量,定位到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;
//}
)



上一篇:解决最新版discuz安装模板插件提示“对不起,您安装的不是正版应用”
下一篇:压缩备份数据库与网站数据(mysql不停止的方法)简易实用BAT