Recently, when discuzx2.5 was used, when the cloud platform was activated, "calling remote interfaces failed. Please check whether your server is in the intranet and the firewall of your server". The detection results are all normal,: However, when activating the service, "calling the remote interface failed. Please check whether your server is in the intranet or
Recently usedDiscuzDuring the x2.5 process, when you activate the cloud platform, the following error occurs: "failed to call the remote interface. Please check whether your server is in the intranet and the firewall of your server." The detection result is normal ,:
However, when you activate the service, the following error occurs ,:
Solution:
Find the discuz x2.5 directory api/manyou/Service/Server/cloud. php file and open and delete the following statement (back up the statement before modification ):
Try {
Require_once libfile ('function/cache ');
Updatecache (array ('plugin', 'setting', 'Styles '));
} Catch (Exception $ e ){
}
In this way, you can call the service normally and activate the service again after updating the cache:
Note: after performing this operation, you must manually update the cache on the cloud platform. Otherwise, the menu of the cloud platform may not be updated;