No "New Record" Link on Exhibit Editor

I am trying to add items to Neatline on my Omeka install. I have been following the official documentation (see below), but when I go to the exhibit editor there is no "New Record" link below the search bar (the search bar is there, along with the "Records," "Styles," and "Plugins" tabs).

Am I missing something, or did I botch the install?

*

The simplest way to add a new record is just to create one directly inside of the Neatline editor.

Open the editor for an exhibit by clicking on the exhibit's title in the main browse view.

Click the "New Record" link just below the search bar.

http://docs.neatline.org/creating-records.html

I had posted I had the same problem. But I did a fresh install with Omeka 2.0.4 and the news Neatline (2.0.4) and I haven't had the same problem since.

Having installed the most recent versions of all the Neatline Plugins, I encounter the following problems:

- Error message when I try to edit the Exhibit I created. I simply can't edit the exhibition, So I can't manage items or edit them. I guess that is the main reason behind my second problem,

- I don't see any Neatline on my home page, dispite having checked the 'Public' box.

What error message(s) do you get? Can you provide more details?

This might be trivial, but I had this problem when I began - in order to view the neatline interface you actually have to click on title of the "exhibit" you created (under the Nealine meanu).

Hi Tamiel,

Thanx for the reaction.

I do click on the exhibit to edit it.

Omeka opens the following the following URL:

myIP/admin/neatline/editor/1

And gives the following error message:

"Omeka has encountered an error

To learn how to see more detailed information about this error, see the Omeka Codex page on retrieving error messages"

So doesn't work it seams.

Any guess what this could mean?

Hi Tamiel,

I retrieved the complete error message now. Seems he doesn't find a javascript editor or so.

"Could not find file javascripts/payloads/neatline-editor.js!"

I paste the whole technical stuff in here:

#0 /var/www/application/libraries/globals.php(1206): web_path_to('javascripts/pay...')
#1 /var/www/application/libraries/globals.php(991): src('payloads/neatli...', 'javascripts', 'js')
#2 /var/www/plugins/Neatline/helpers/Assets.php(55): queue_js_file('payloads/neatli...')
#3 /var/www/plugins/Neatline/views/shared/exhibits/partials/editor_header.php(24): nl_queueNeatlineEditor(Object(NeatlineExhibit))
#4 /var/www/application/libraries/Omeka/View.php(117): include('/var/www/plugin...')
#5 /var/www/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/plugin...')
#6 /var/www/application/libraries/Zend/View/Helper/Partial.php(105): Zend_View_Abstract->render('exhibits/partia...')
#7 [internal function]: Zend_View_Helper_Partial->partial('exhibits/partia...')
#8 /var/www/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#9 /var/www/plugins/Neatline/views/shared/exhibits/editor.php(14): Zend_View_Abstract->__call('partial', Array)
#10 /var/www/plugins/Neatline/views/shared/exhibits/editor.php(14): Omeka_View->partial('exhibits/partia...')
#11 /var/www/application/libraries/Omeka/View.php(117): include('/var/www/plugin...')
#12 /var/www/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/plugin...')
#13 /var/www/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('exhibits/editor...')
#14 /var/www/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('exhibits/editor...', NULL)
#15 /var/www/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#16 /var/www/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#17 /var/www/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#18 /var/www/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('editorAction')
#19 /var/www/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#20 /var/www/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#21 /var/www/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#22 /var/www/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#23 /var/www/admin/index.php(28): Omeka_Application->run()
#24 {main}

Hope you can help?

Cor

Just to chime in here, the issue ryanweb13 originally encountered was due to an issue in another plugin that produced invalid HTML. Fixing that plugin resolved the issue in Neatline.

Cor, what version of Neatline are you running? Are you downloading from the addons page from Omeka, or from the github page?

Wayne

Hi Wsgrah,

I downloaded all the neatline plugins from the omeka website. Last versions etc. I extracted them and copied them via terminal -avr to the www/var/plugin directory.

The plugins I have treated like that are:

- docs viewer
- exhibit builder
- geolocation
- Neatline
- NeatlineFeatures
- NeatlineMaps
- Neatline Widget - Simile timeline
- Neatine Time
- Neatline Widget - Waypoint
- Simple pages

I discovered that Neatline Maps is not compatible with omeka 2.0, so I decided not to install it.

I thought there would be a 'rights' conflict in the plugin directory. So I checked all the rights in all the plugins via Terminal. Nothing wrong there at first glance. Basicaly, user has rw &/or x permissions were necessary.

The next thing I am thinking off, there could be a conflict within neatline with a certain version. Allthouh I already tried to delete everything and re-copy/install the whole set from scratsch using all the last versions.

Same problem remains, unfortunately.

Kind regards,
Cor

Hi Cor,

So NeatlineMaps isn't needed anymore for using maps (you can point to a Geoserver instance directly in Neatline now). There _shouldn't_ be any conflicts with any version of Omeka, as long as you're running a recent 2.0.x. That said, patch releases can be tricky. What specific version of Omeka are you running?

One thing to do would be to disable all the plugins, and enable only Neatline. If that doesn't work, we might try getting the source code from github.

Wayne

Hi Wsgrah,

I'am running Omeka version 2.0.4.

I disabled every other plugin an then tried Neatline solo.

No use. This time I got the following error message:

Could not find file javascripts/payloads/neatline-editor.js!

#0 /var/www/application/libraries/globals.php(1206): web_path_to('javascripts/pay...')
#1 /var/www/application/libraries/globals.php(991): src('payloads/neatli...', 'javascripts', 'js')
#2 /var/www/plugins/Neatline/helpers/Assets.php(55): queue_js_file('payloads/neatli...')
#3 /var/www/plugins/Neatline/views/shared/exhibits/partials/editor_header.php(24): nl_queueNeatlineEditor(Object(NeatlineExhibit))
#4 /var/www/application/libraries/Omeka/View.php(117): include('/var/www/plugin...')
#5 /var/www/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/plugin...')
#6 /var/www/application/libraries/Zend/View/Helper/Partial.php(105): Zend_View_Abstract->render('exhibits/partia...')
#7 [internal function]: Zend_View_Helper_Partial->partial('exhibits/partia...')
#8 /var/www/application/libraries/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#9 /var/www/plugins/Neatline/views/shared/exhibits/editor.php(14): Zend_View_Abstract->__call('partial', Array)
#10 /var/www/plugins/Neatline/views/shared/exhibits/editor.php(14): Omeka_View->partial('exhibits/partia...')
#11 /var/www/application/libraries/Omeka/View.php(117): include('/var/www/plugin...')
#12 /var/www/application/libraries/Zend/View/Abstract.php(888): Omeka_View->_run('/var/www/plugin...')
#13 /var/www/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('exhibits/editor...')
#14 /var/www/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('exhibits/editor...', NULL)
#15 /var/www/application/libraries/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#16 /var/www/application/libraries/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#17 /var/www/application/libraries/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#18 /var/www/application/libraries/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('editorAction')
#19 /var/www/application/libraries/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#20 /var/www/application/libraries/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#21 /var/www/application/libraries/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#22 /var/www/application/libraries/Omeka/Application.php(79): Zend_Application->run()
#23 /var/www/admin/index.php(28): Omeka_Application->run()
#24 {main}

Hi Core,

Well that's an unhappy message :) Somehow the editor isn't getting loaded in the payload. Are you familiar with git? Try removing the downloaded plugin you got from the add-ons page and cloning from our git repo:


$ cd path/to/omeka/plugins
$ rm -rf Neatline
$ git clone https://github.com/scholarslab/Neatline.git
$ git checkout develop

One other question, are you by any chance running an http compression module like mod_pagespeed or varnishd? We have seen these cause some issues...

Wayne

I have tried reinstalling both Omeka and Neatline (just upgraded to the newest releases). But I still can't get a link/button for "New Record." Tried deactivating, uninstalling, reinstalling all plugins. Tried importing and searching for items, but nothing seems to pull through.

Am I missing something?

Hi ryanweb13,

I suspect there's a plugin/theme issue causing an issue...do you have a URL that's public I could look at?

Basically I've seen that behavior when a plugin has improperly executed code and places a comment before the HTML declaration.

Wayne

Wayne

Thanks for the quick response, wsgrah!

I reinstalled Omeka, deleted plugins, and some combination of things that FIXED THE PROBLEM.

Hi Wayne,

Neatline works all right now, but doesn't show up at the frontpage. I can see the map when I click 'public view', but not when I visit the website on the public side.

Another issue I have, is that I draw some points on the map to associate the items with, but when I open the map it doesn't re-focus on them and always stays around the equator/timeline crosspoint somewhere in the atlantic in fron of Africa.the 0/0 point of any geolocator I guess. How can you change that? I vaguely remember that I could configure the plugin in the past as to tell it where to start. But for now I can't find that piece of configuration any more.

We may be highjacking this thread a bit here...

Are you talking about there not being a navigation element added saying "Neatline", or is the neatline route not displaying properly? (e.g. http://yoursite/neatline)?

The area _should_ auto-center from your browser's IP. If you accidentally turned that off, you can re-enable it. I think it works for all browsers to right-click on the page, select page info, and permissions. Should be under Locations.

If you're asking about setting the default view for a project, it's under the "Style" settings on the top when you get in to the exhibit. See <img src="http://imgur.com/n6edk5T"/>

Wayne