Warning: fopen(access_token.json) [function.fopen]: failed to open stream: Permission denied in jssdk.php on line 79
Warning: fwrite() expects parameter 1 to be resource, boolean given in jssdk.phpon line 80
Warning: fclose() expects parameter 1 to be resource, boolean given in jssdk.phpon line 81
Warning: fopen(jsapi_ticket.json) [function.fopen]: failed to open stream: Permission denied in jssdk.php on line 56
Warning: fwrite() expects parameter 1 to be resource, boolean given in jssdk.phpon line 57
Warning: fclose() expects parameter 1 to be resource, boolean given in jssdk.phpon line 58
SAE环境下接入微信js时出现的问题,用的SAE,查了一下说是SAE没有本地读写权限,哪位大哥遇到过,给解决下,非常感谢!!
把access token存储到SAE的memcache里面
具体代码参照SAE的示例代码