Comments (10)
I'll look into it
from enki.
Comment with a nil author does not require openid authentication. Closed by 3a29c02.
from enki.
I have made it not raise, but it may still not work with your open id. Please try again and let me know.
from enki.
I use hjp.myopenid.com to comment it. (localhost:3000)
Also get the same errors.
I only change rails 3.0.4 to 3.0.5 in Gemfile, and use sqlite as database.
from enki.
My ruby is ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0]
==> bundle
Using rake (0.8.7)
Using RedCloth (4.2.7)
Using aaronh-chronic (0.3.9)
Using abstract (1.0.0)
Using activesupport (3.0.5)
Using builder (2.1.2)
Using i18n (0.5.0)
Using activemodel (3.0.5)
Using erubis (2.6.6)
Using rack (1.2.2)
Using rack-mount (0.6.13)
Using rack-test (0.5.7)
Using tzinfo (0.3.25)
Using actionpack (3.0.5)
Using mime-types (1.16)
Using polyglot (0.3.1)
Using treetop (1.4.9)
Using mail (2.2.15)
Using actionmailer (3.0.5)
Using arel (2.0.9)
Using activerecord (3.0.5)
Using activeresource (3.0.5)
Using archive-tar-minitar (0.5.2)
Using bundler (1.0.10)
Using coderay (0.9.7)
Using columnize (0.3.2)
Using diff-lcs (1.1.2)
Using json (1.5.1)
Using gherkin (2.3.5)
Using term-ansicolor (1.0.5)
Using cucumber (0.10.2)
Using nokogiri (1.4.4)
Using cucumber-rails (0.4.0)
Using factory_girl (1.3.3)
Using formtastic (1.2.3)
Using hpricot (0.8.4)
Using lesstile (1.0.1)
Using ruby_core_source (0.1.4)
Using linecache19 (0.5.11)
Using ruby-openid (2.1.8)
Using rack-openid (1.3.1)
Using thor (0.14.6)
Using railties (3.0.5)
Using rails (3.0.5)
Using rspec-core (2.5.1)
Using rspec-expectations (2.5.0)
Using rspec-mocks (2.5.0)
Using rspec (2.5.0)
Using rspec-rails (2.5.0)
Using ruby-debug-base19 (0.11.24)
Using ruby-debug19 (0.11.6)
Using sqlite3 (1.3.3)
Using sqlite3-ruby (1.3.3)
Using webrat (0.7.3)
Using will_paginate (3.0.pre2)
from enki.
Sorry, I just saw your change.
- !!self.author.index(".")
- !!self.author.try(:index, '.')
I will try it later.
from enki.
Also can't work.
I detete OpenID delegate
# Configuration options for your blog - customise to taste
# This file contains no secret information, so can be stored in source control (unlike database.yml)
title: My Enki Blog
url: http://enkiblog.com
author:
name: Don Alias # For copyright notice and ATOM feeds
email: [email protected] # Exception emails will go here, and it is used in ATOM feeds
open_id: # These are used to login to the admin area
- http://enkiblog.com
- http://secondaryopenid.com
# Delete the following section if your site will not be acting as an OpenID delegate (http://wiki.openid.net/Delegation)
# If you're deploying with mongrel, make sure you read http://rhnh.net/2008/04/13/nginx-openid-delegation-and-yadis
# open_id_delegation:
# server: http://www.myopenid.com/server
# delegate: http://username.myopenid.com
Started POST "/2011/03/16/sadfasdfx23/comments" for 127.0.0.1 at 2011-03-25 15:49:17 +0800
Processing by CommentsController#index as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"qvyIXCGfasXrX4h3h1G1anSuV0rGjjnX80PSDDtsbHo=", "comment"=>{"author"=>"https://profiles.google.com/hujinpu/", "body"=>"asaasf"}, "commit"=>"Add Comment", "year"=>"2011", "month"=>"03", "day"=>"16", "slug"=>"sadfasdfx23"}
Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."slug" = 'sadfasdfx23'
Completed 401 Unauthorized in 97ms
WARNING: making https request to https://profiles.google.com/hujinpu/ without verifying server certificate; no CA path was specified.
WARNING: making https request to https://www.google.com/accounts/o8/id?source=profiles&id=https%3A%2F%2Fprofiles.google.com%2Fhujinpu without verifying server certificate; no CA path was specified.
WARNING: making https request to https://www.google.com/accounts/o8/ud?source=profiles without verifying server certificate; no CA path was specified.
Generated checkid_setup request to https://www.google.com/accounts/o8/ud?source=profiles with assocication AOQobUe9YSYSWfWUkPnZaYMlPXePVUt4qs4dgWGzIprDoynKjRhbUysi
from enki.
Hey Xavier, hope this is related; however if you believe otherwise, I'll be happy to start a new issue, but the following is happening on my 'blog running on Heroku when using an OpenID (different from the author of the 'blog post):
"Comment not added!
Please provide your name or OpenID identity URL
Please comment"
I was hoping to use this as a learning experience, but cannot find the source, it seems as though both an author and body error are occurring as though the comment is becoming lost somewhere between the form, preview and writing to the database. This problem only occurs when using OpenID's.
Thanks for any help (even if I'm made a fool of!).
The blog is hosted on Heroku at the following address: http://panth0r.heroku.com/
from enki.
yeah make a new issue, you're not the only one to have that problem (see the mailing list), it's not related to this one. I've just been slack and haven't investigated yet :/
from enki.
Thanks, will do.
from enki.
Related Issues (20)
- Ruby 1.9.2 compatibility and rbx-require-relative HOT 1
- Any plans to port Enki to a mountable engine? HOT 2
- Deleting comment raises ActiveRecord::RecordNotFound HOT 4
- Enki openid doesn't seem to like Google OpenID HOT 4
- undefined method `buttons` for Formtastic in admin/posts/new HOT 7
- Merge master in internationalized? HOT 5
- I can not push to Heroku HOT 2
- Support Markdown HOT 2
- Formatting code with lesstile and coderay HOT 2
- Admin Login Issue HOT 1
- Change pagination to use will_paginate/kaminari instead of the Archive system? HOT 3
- Spree Integration HOT 1
- Bump to Rails 4 HOT 2
- Replace acts_as_taggable_on_steroid with alternative gem
- Turn the app into rails engine HOT 2
- session[:logged_in] isn't persisting HOT 1
- Problem with OpenID login to the admin area HOT 1
- Dot character in tag name HOT 1
- Question about Open ID being shut down HOT 11
- App breaks when comment is nil HOT 3
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 enki.