EPrints Technical Mailing List Archive

Message: #03670


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Antwort: Antwort: Re: Bazzar Plugin: Shelves


I'm very sorry this conversation is moving forwards rather slowly. I got tied down with work...

If you still have this problem, can you confirm that when you search your repository, you don't get the 'add' button after each search results? And no indication that you have selected a shelf or anything asking you to select a shelf?

If this is the case, but you can manage the shelves as admin, I suspect there is a _javascript_ issue somewhere. Could you check that

http://<myserver>/cgi/shelves/init?t=<anyeprintdid>

returns something other than 403?

Your EPRINTS/archives/<archivename>/html/en/_javascript_/auto.js file holds the UI code for interacting with the shelves. auto.js is generated from a bunch of files, including EPRINTS/lib/static/_javascript_/auto/shelves.js if I am not mistaken.

Anyway, I would start by debugging the functions showAvailableShelves() and refreshActionLinksI() within the class EPJS_Shelves_Search. I think refreshActionLinks() is responsible for setting up the buttons that you use to add and remove items from the selected shelf. Chrome has nice functionality for debugging like this. You can also use Firefox with the Firebug plugin.

tommy



From: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of jens.vieler@id.uzh.ch [jens.vieler@id.uzh.ch]
Sent: Monday, December 08, 2014 2:43 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Antwort: Antwort: Re: Bazzar Plugin: Shelves

Add:

http://<myserver>/cgi/shelves/show_all_with_eprint?eprintid=<anyeprintdid> is returning

{"shelves":[{"title":"JV","id":"1","is_eprint":"0"}]}

which is my first test-shelf. So all in all i think it's no cgi-config problem, cause this works!? :-\


Jens

Inactive hide details for jens.vieler---08.12.2014 11:36:00---Dear Tommy, thank you.jens.vieler---08.12.2014 11:36:00---Dear Tommy, thank you.

Von: jens.vieler@id.uzh.ch
An: eprints-tech@ecs.soton.ac.uk
Datum: 08.12.2014 11:36
Betreff: [EP-tech]  Antwort:  Re: Bazzar Plugin: Shelves
Gesendet von: eprints-tech-bounces@ecs.soton.ac.uk





Dear Tommy,

thank you.


We already have a "
Options +ExecCGI " in the <Location ""> directive, thinking  eprints/cfg/apache.conf, which is used by httpd is doing the same (don`t have is no EPrints/archives/<archivename>/var/auto-apache.conf).
I really cant`t figure it out because there is no error-message at all... :-(


Jens



--
Jens Vieler
Informatikdienste
Universität Zürich
Winterthurerstr. 190
CH-8057 Zürich

mail:  jens.vieler@id.uzh.ch
phone: +41 44 63 56777

http://www.id.uzh.ch

Inactive hide details for Tommy Ingulfsen ---05.12.2014 03:27:52---Hi Jens I too had some issues installing the Shelves plugin,Tommy Ingulfsen ---05.12.2014 03:27:52---Hi Jens I too had some issues installing the Shelves plugin, but eventually got it to work. I'm not

Von:
Tommy Ingulfsen <tommy@library.caltech.edu>
An:
"eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
Datum:
05.12.2014 03:27
Betreff:
[EP-tech] Re: Bazzar Plugin: Shelves
Gesendet von:
eprints-tech-bounces@ecs.soton.ac.uk




Hi Jens

I too had some issues installing the Shelves plugin, but eventually got it to work. I'm not sure, but I think I had a similar problem to you. After some painful debugging, it turned out that a CGI script was not being executed because the Apache config did not allow it to do so. When I added "Options ExecCGI" under the <Location ""> directive within EPrints/archives/<archivename>/var/auto-apache.conf the offending CGI script started working and the problem was resolved.

Why don't you try that and let us know how that works for you.

tommy




From:
 eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Ajunk Pracetio [prazetyo@gmail.com]
Sent:
 Thursday, December 04, 2014 4:43 PM
To:
 eprints-tech@ecs.soton.ac.uk
Subject:
 [EP-tech] Re: Bazzar Plugin: Shelves

I will waiting your IRStats documentation Adam.


On Wed, Dec 3, 2014 at 10:14 PM, Field A.N. <
af05v@ecs.soton.ac.uk> wrote: 



--
Life isn't valuable if you don't have someone to care
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive:
http://www.eprints.org/tech.php/
*** EPrints community wiki:
http://wiki.eprints.org/
*** EPrints developers Forum:
http://forum.eprints.org/
*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive:
http://www.eprints.org/tech.php/
*** EPrints community wiki:
http://wiki.eprints.org/
*** EPrints developers Forum:
http://forum.eprints.org/