Unable to install plugins manually after uploading to plugins folder
First of all, thanks a lot to Vot for the massive Discuz updates. I updated my site after almost after 3 months and it seems to load very fast.But, there is a problem, after updating I am not able to install most of the plugins manually which means, any plugin uploaded to the server manually will not install now. I receive "you are not installing a genuine application" message and this seems to be due to some mechanism implemented to prevent installing non cloud apps.
I checked a little and found the issue is caused due the changes applied specifically in the below version,
#1381
!819 Fix: Application center related code
If apps cannot be installed manually in Discuz ML, then I don't think users will prefer it over other very popular forum softwares (phpBB, SMF, vBulletin....etc)
Can you tell us how to fix this Vot?
Cheerios......
Evan
Edited by zhogong at 2021-05-11 09:41
Yes, this is recent security check for all addon.dismall resources. But no problem if identifier not available on addon.dismall site.
Open upload/source/admincp/admincp_plugins.php
Delete or comment below linesif(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;
}if(cloudaddons_open('&mod=app&ac=validator&ver=2&addonid='.$addonid.($array !== false ? '&rid='.$array['RevisionID'].'&sn='.$array['SN'].'&rd='.$array['RevisionDateline'] : '')) === '0') {
/*vot*/ cpmsg('cloudaddons_genuine_message', '', 'error', array('addonid' => $addonid));
}
Open upload/source/admincp/admincp_styles.php
Delete or comment below line if(cloudaddons_open('&mod=app&ac=validator&ver=2&addonid='.$addonid.($array !== false ? '&rid='.$array['RevisionID'].'&sn='.$array['SN'].'&rd='.$array['RevisionDateline'] : '')) === '0') {
cpmsg('clo'.'uda'.'ddon'.'s_gen'.'uine_'.'mes'.'sage', '', 'error', array('addonid' => $addonid));
}
Thank you!
I will try to deal with the problem... Thank you very much Zho. I am able to install after making your recommended changes and everything seems to works now. You are really awesome! Thanx alot to zhogong for this solution!
This patch is applied in revision #1479.
static/image/common/user_online.gif zhogong static/image/common/clock.gif 2021-05-11 13:29
Edited by zhogong at 2021-05-11 09:41
Yes, this is recent security check for all addon.dismall re ...
Great job!
It works!
Pages:
[1]