-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hexo博客的gitment评论开启一直失败 #178
Comments
作者自己的官方blog一样的问题:Error: Comments Not Initialized |
我的也是,我是在 hexo d 之后,刷新页面,页面显示 |
同样的问题 |
我的也是,昨天弄的,github登陆之后浏览器显示: [object XMLHttpRequestProgressEvent],然后一直在转圈。。。loading commetns |
你目前博客的gitment就会报 |
我也遇到同样问题了 = = |
解决了吗 我也是一样的问题哎 满脑子很糊涂 |
目前网上大部分解决方案都失效了,可以使用下面的方法解决:
修改为:
上面给出的是gitment汉化版 |
说一下本人的 解决办法 : comment:
gitment:
enable: true
owner: 'JJXiangJiaoJun' # 必填项, 你的GitHub ID
repo: 'JJXiangJiaoJun.github.io' # 必填项 你的存储评论的repo
oauth:
client_id: 'd7df3d5d159f81371d76' # 必填项
client_secret: '3794527fca067871d3795782ae7fd14f94ce3a74' # 必填项
redirect_uri: https//:hongbb.top #如果绑定了个人域名,这里一定要填上绑定的个人域名!!!!!!!!!!!!! 可以试试将 |
按照楼上所说的方法,gitment没搞定.换了一个评论系统,gittalk ,https://yunhao.space/2018/07/04/hexo-next-gitalk-comments-tutor/这是教程地址..配置起来很简单.. |
关于不能初始化的问题,我在手机上解决了。这是什么情况? |
亲测无效 |
我的gitment 点击login后出现了下面的代码: > <%- _partial('common/head') %> <%- _partial('common/navbar') %> <% function main_column_class() { switch (column_count()) { case 1: return 'is-12'; case 2: return 'is-8-tablet is-8-desktop is-8-widescreen'; case 3: return 'is-8-tablet is-8-desktop is-6-widescreen' } return ''; } %>
<%- body %>
<%- _partial('common/widget', { position: 'left' }) %> <%- _partial('common/widget', { position: 'right' }) %>
<%- _partial('common/footer') %> <%- _partial('common/scripts') %> <% if (has_config('search.type')) { %> <%- _partial('search/' + get_config('search.type')) %> <% } %> |
有人解决这个问题吗,我的gitment也是一直开启不了 |
"Thanks, great blog!" |
按照教程上配的,我的github pages绑定了个人域名
https//:hongbb.top
OAuth配置如下,应该是没有错误的
_config.yml的配置如下,保证client_id 和 client_secret没有填错
设置后博客上显示
Error: Comments Not Initialized
点击 登录 按钮后,无法跳转到github授权界面
浏览器上信息为
https://hongbb.top/?error=redirect_uri_mismatch&error_description=The+redirect_uri+MUST+match+the+registered+callback+URL+for+this+application.&error_uri=https%3A%2F%2Fdeveloper.github.com%2Fapps%2Fmanaging-oauth-apps%2Ftroubleshooting-authorization-request-errors%2F%23redirect-uri-mismatch
看起来好像是call-back url填错了,不过我试了 原来的URL也没用
The text was updated successfully, but these errors were encountered: