EPrints Technical Mailing List Archive

Message: #07054


< 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


Hi Monica

Apache loads the config into memory when it restarts, and the command-line tools use the on-disk configuration.  It’s possible that if changes were made, and you haven’t restarted Apache, these can be out of sync.  Try restarting the Apache, then see if that solves it.

--
Adam Field

On 4 Jan 2018, at 01:15, Monica Wood <monica.wood@utas.edu.au> wrote:

Hi 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.

*** 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/