I've installed the latest Annotator and Annotation modules, uploaded the library, and everything works great on the front-end. I see the annotations available as a content type. However, no annotations are stored. Does this module have any software prerequisites or configuration requirements? Do I need to install the annotation-store and Elasticsearch to use this?

"Sorry we could not connect to the annotations store" is the message I get every time I try to post a comment by using the annotator.

Comments

BrockBoland’s picture

Status: Active » Postponed (maintainer needs more info)

You don't need to install annotation-store, but you need to enable the Store plugin for the Annotator module.

Go to /admin/config/content/annotator on your Drupal site and check the box for the Store plugin. The Plugin Settings below that will have the correct values by default.

Let us know if that solves it for you.

yordan43’s picture

A clean install of the latest dev version fixed it. Annotations are stored now. Thanks!

BrockBoland’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Good to hear!

avisconti’s picture

Status: Closed (works as designed) » Active

I'm having the same issue ("Sorry we could not connect to the annotations store"), but a clean installation did not fix it. The Store plugin is enabled with defaults left as is on the config page; I'm using jquery_update to set jquery to 1.8; and I'm using 1.2.9 (from here) in sites/all/libraries/annotator. I can see the annotation table in my Drupal database, but nothing is getting written to it (annotations disappear on refresh).
Any advice, or could you identify which versions of the involved parts (Drupal Annotation and Annotator modules, Drupal core, jquery_update settings, and code to place in sites/all/libraries/annotator/) you're using that are letting your site store annotations correctly? Thank you for your help!

BrockBoland’s picture

Let's start the other way: what versions of those things are you using?

Also, is your Drupal instance at the root of the domain (like http://www.example.com) or in a subdirectory (like http://www.example.com/blog)? I've seen problems with the latter, because the Annotator module tries to reach /annotation/api when it should be using (in this example) /blog/annotation/api.

avisconti’s picture

Thank you for your quick reply, and good idea! (Also, your other helpful posts on related issues.) I'm using:

I've also tried Annotator v1.2.8, and various configurations of the jquery_update configs (the different compression levels, CDNs, and "Alternate jQuery version for administrative pages") with no success.
The Drupal instance is indeed at the root, but I don't have clean URLs set up yet (I thought I did when I was having the same problems on a local version, but not certain). mydomain.com/?q=annotation/api produces a page with the text "{"name":"Annotator Store API","version":"ANNOTATOR_VERSION"}", so I'm wondering if that "?q=" is the issue. I'll get clean URLs working and report back.

avisconti’s picture

Status: Active » Closed (works as designed)

Yes, clean URLs were the issue; storage now works. Thank you for helping me sort that out!