EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #07057
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Thu, 4 Jan 2018 09:08:16 +0000
Hmm, interesting...
I believe both those boxes use _javascript_ to render data.
Is there something amiss with the _javascript_ (e.g. it's not being served over https)?
I think there used to be two version of the js that could be served - one secure, the other not. I don't think this variation is needed in modern versions of EPrints - maybe you are referencing the older version of the js in your template?
Cheers,
John
Sent: 04 January 2018 08:42:15
To: eprints-tech@ecs.soton.ac.uk
Subject: Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
Hi Monica,
It sounds like you might just need to restart Apache...
When running something from the command-line, the EPrints stack is interpreted from the files on disk.
When you 'expire' the abstracts, they are regenerated on-the-fly by the Apache process, using the EPrints stack Apache interpreted when it was started.
Hope that makes some sense.
If might also be worth restarting the indexer - as this too has an interpreted stack that could differ from the on-disk version you get from the command-line now!
Cheers,
John
From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of Monica Wood <monica.wood@utas.edu.au>
Sent: 04 January 2018 01:15:23
To: Eprints Tech
Subject: [EP-tech] Refresh Abstracts removing Boxes from Summary PageHi All,
I’ve got the most bizarre problem happening.
My staff started noticing that when they edited an item that the irstats2 downloads box would disappear from the summary page.
I had a look and noticed the altmetics box was also disappearing and when I did a refresh_abstracts using epadmin or the regenerate abstracts button from the admin -> systems tools, then every box disappeared from every summary.
They reappear if I run the script generate_abstracts from the cmdln, but apart from refresh_abstracts setting a abstracts.timestamp variable to state that a page needs to be regenerated on request, I cannot see what these commands are really doing differently.
Both should be calling the method $eprint->generate_static() when the page is generated
I could solve this by not putting that data into a Screen::EPrint::Box, but it doesn’t actually solve the issue of why refresh is removing them.
Thanks
Monica Wood
Library Systems
University of Tasmania
University of Tasmania Electronic Communications Policy (December, 2014).
This email is confidential, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone outside the intended recipient organisation is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. The views expressed in this email are not necessarily the views of the University of Tasmania, unless clearly intended otherwise.
- Follow-Ups:
- Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- References:
- [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- From: Monica Wood <monica.wood@utas.edu.au>
- Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- From: Monica Wood <monica.wood@utas.edu.au>
- Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- Prev by Date: Re: [EP-tech] Refresh Abstracts removing Boxes from Summary Page
- Next by Date: [EP-tech] Need help to fix security risk vulnerabilities of Eprints software
- Previous by thread: [EP-tech] EPrints/CRIS
- Next by thread: [EP-tech] DOI handling in orcid_support_advance
- Index(es):