Restler3 RC4:oAuth 不起作用



刚刚更新了我的 restler 3 以发布候选 4 以尝试 oAuth2 实现。我有一个 restler 3 服务器和客户端,服务器应该提供 oAuth2.0 服务器,客户端应该实现 oAuth2.0。但 oAuth2.0 客户端示例索引.php页保持为空。我做错了什么?我递归地将所有权限设置为 777,并安装了作曲家的任何依赖项(我是作曲家的新手)。但是这些东西被下载到restler的供应商文件夹中,所以它就在那里。

感谢您的阅读和回答。一月

.htaccess文件将关闭display_errors。这就是您收到空白回复的原因。

更改它,如下所示

DirectoryIndex index.php
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^$ index.php [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>
<IfModule mod_php5.c>
    php_flag display_errors On
</IfModule>

然后你就会得到线索!

最新更新