
Troubleshooting process:
Add the following method to phpsso_server/api/uc.php class uc_note:
//更新客户端缓存
function updateclient($get, $post) {
if(!API_UPDATECLIENT) {
return API_RETURN_FORBIDDEN;
}
$cachefile = dirname(__FILE__).’/uc_client/data/cache/settings.php’;
$fp = fopen($cachefile, ‘w’);
$s = “<?php\r\n”;
$s .= ‘$_CACHE[\’settings\’] = ‘.var_export($post, TRUE).”;\r\n”;
fwrite($fp, $s);
fclose($fp);
return API_RETURN_SUCCEED;
}

Checking the phpsso_server\api\uc_client\data\cache\settings.php file, I found that it has been updated successfully:

