Comments (16)
from odindex.
改一下128行的$opts试试
原来是:
$opts = array(
'http' => array(
'method' => $method,
'header' => $head,
'timeout' => 15 * 60, // 超时时间(单位:s)
'content' => $rqcontent
)
);
改成
$opts = array(
'http' => array(
'method' => $method,
'header' => $head,
'timeout' => 15 * 60, // 超时时间(单位:s)
'content' => $rqcontent
),
'ssl' => array(
'verify_peer'=>false,
'verify_peer_name'=>false,
)
);
抱歉我现在在外面打字不太方便
from odindex.
手动修改token按理来说效果差不多
不过你的目录内容似乎有点乱
建议新建一个空白目录,只放odproxy.php , index.php , template.html
配置后再试试
from odindex.
记得打开php报错,这个时候需要些报错信息
from odindex.
from odindex.
你用的是heymind的小工具获取的token还是beetcb的
heymind的那个已经好久没有维护了
如果最后一步出错了说不定有些问题
在redirectURL验证上
from odindex.
你用的是heymind的小工具获取的token还是beetcb的
beetcb
已经在返回的json里面看到了accesstoken了
heymind 的小工具报如下错误:
于步骤4. Authorize for code报错:
AADSTS50011: The reply URL specified in the request does not match the reply URLs configured for the application: '2385e6be-54f6-4b1e-ade6-bcc705563fac'.
已经在Azure Portal里配置相应的URI
from odindex.
beetcb那个可以用的话就无所谓了,
现在填入配置后还是空白页吗
还有就是我印象中errorreporting E_前缀是忽略对应报错吧
from odindex.
beetcb那个可以用的话就无所谓了,
现在填入配置后还是空白页吗
还有就是我印象中errorreporting E_前缀是忽略对应报错吧
填入refresh_token是报Failed to get accesstoken. Maybe refresh_token expired.这个错误,自己创建token.php是空白
from odindex.
beetcb那个可以用的话就无所谓了,
现在填入配置后还是空白页吗
还有就是我印象中errorreporting E_前缀是忽略对应报错吧填入refresh_token是报Failed to get accesstoken. Maybe refresh_token expired.这个错误,自己创建token.php是空白
这个错误是程序本身输出的,不是php报错
errorreporting改成E_ALL试一下
from odindex.
实在不行只能在203行后面追加一行
echo $resp;
输出请求返回内容看看情况了
from odindex.
实在不行只能在203行后面追加一行
echo $resp;
输出请求返回内容看看情况了
还是一样,只显示上面的错误
from odindex.
实在不行只能在203行后面追加一行
echo $resp;
输出请求返回内容看看情况了还是一样,只显示上面的错误
你的php环境是怎么安装的,直接手动编译还是一键安装包
我有点怀疑是openssl问题
from odindex.
实在不行只能在203行后面追加一行
echo $resp;
输出请求返回内容看看情况了还是一样,只显示上面的错误
你的php环境是怎么安装的,直接手动编译还是一键安装包
我有点怀疑是openssl问题
用的bt panel的一键安装
from odindex.
改一下128行的$opts试试
原来是:$opts = array( 'http' => array( 'method' => $method, 'header' => $head, 'timeout' => 15 * 60, // 超时时间(单位:s) 'content' => $rqcontent ) );
改成
$opts = array( 'http' => array( 'method' => $method, 'header' => $head, 'timeout' => 15 * 60, // 超时时间(单位:s) 'content' => $rqcontent ), 'ssl' => array( 'verify_peer'=>false, 'verify_peer_name'=>false, ) );
抱歉我现在在外面打字不太方便
ok了,麻烦你啦
from odindex.
改一下128行的$opts试试
原来是:$opts = array( 'http' => array( 'method' => $method, 'header' => $head, 'timeout' => 15 * 60, // 超时时间(单位:s) 'content' => $rqcontent ) );
改成
$opts = array( 'http' => array( 'method' => $method, 'header' => $head, 'timeout' => 15 * 60, // 超时时间(单位:s) 'content' => $rqcontent ), 'ssl' => array( 'verify_peer'=>false, 'verify_peer_name'=>false, ) );
抱歉我现在在外面打字不太方便
ok了,麻烦你啦
没事,这个地方也是我疏忽了,稍后我会修复一下,解决了就好
from odindex.
Related Issues (18)
- 没有后台吗 HOT 3
- 等着列出子项api支持skip分页的那一天
- 能否支持虚拟主机空间安装 HOT 1
- 按照Beetcb的方式获取refresh_token HOT 5
- 能不能简化下获取值的方式? HOT 5
- 首页空白 HOT 17
- 怎么实现url不加“/”也能访问目录列表 HOT 5
- 请问下密码不起作用怎么办? HOT 32
- 想问一下关于伪静态开启的问题 HOT 2
- 会增加搜索功能么? HOT 2
- We are unable to fulfill your request HOT 1
- There is no password protect HOT 8
- 显示 Failed to get accesstoken. Maybe refresh_token expired HOT 5
- 很尴尬,浏览器直接响应500,有办法找到是什么问题吗? HOT 7
- 参数都是正确的但没有任何显示,访问白屏 HOT 2
- 一些建议 HOT 2
- 又一些建议 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from odindex.