tsuibin

Results 30 comments of tsuibin

``` function initSearch(){ (function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){ (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t); e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e); })(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st'); _st('install','Qhvqw_z2NhPrz9xG5Shf','2.0.0'); searchLoaded = true; } ```

检查哪一个表?

config.h里面 只有 #define REDIS_MASTER_IP "127.0.0.1" 这个配置项

服务器的redis 运行状态 redis 9704 0.0 0.0 40296 3216 ? Ssl Dec10 0:39 /usr/bin/redis-server 127.0.0.1:6379

redis里面是空的 tsuibin@compiler01:~$ redis-cli 127.0.0.1:6379> keys * (empty list or set) 127.0.0.1:6379>

... ./src/redis3m/include/redis3m/connection_pool.h: \* @param sentinel_port Sentinel port, default 26379 ./src/redis3m/include/redis3m/connection_pool.h: unsigned int sentinel_port=26379) 需要修改redis默认端口为26379

好的,今天搞不了了,这空再调一下。

params.code 打印结果 -1

Authorization callback URL 填写是对的吗? http://o2ee.picp.net/login/callback/github

浏览器调试,发现这里带的参数不一样 code 应该是正确获取了 curl 'https://leanclub.org/login/callback/github?code=f3548d77764fe43db7fa&do=1&__t=1450161149170' -H 'accept-encoding: gzip, deflate, sdch' -H 'x-requested-with: XMLHttpRequest' -H 'accept-language: zh-CN,zh;q=0.8' -H 'user-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.8 Safari/537.36' -H 'accept:...