[EP-tech] <solved> Problem with staff search 3.3.15

Alan.Stiles alan.stiles at open.ac.uk
Thu Mar 30 15:33:34 BST 2017

Just an update on this one from last week - it was just me, again!  There was a local override to the stock EPrintSearch.pm module listed below, in another local directory I can't remember looking in during the last 5 years...   Disabled that local module and it all seems to be fine now.


From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 23 March 2017 11:54
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Problem with staff search 3.3.15
In my attempts to build a new server on 3.3.15 (RHEL 7) and customise it to look / feel like our existing 3.3.10 (RHEL 5)  I've come across an issue with the admin search.

If I select 'search items' from <host>/cgi/users/home?screen=Admin it tries to go to <host>/cgi/users/home?screen=Staff%3A%3AEPrintSearch  but returns a 500 internal server error page.
The apache error log has the message :
Can't locate object method "search_filters" via package "EPrints::Plugin::Screen::Staff::EPrintSearch" at <eprints_root>/perl_lib/EPrints/Plugin/Screen/AbstractSearch.pm line 185.\n

And I see that the code for EPrintSearch.pm now looks like this (as of 4.5 years ago...)

If I manually change my url to <host>/cgi/search/eprint/staff as per lines 43/44 of this file  then I get the internal search query form which then functions correctly.

Any clues as to whether this is just for me and if so, where I should be looking in terms of making the 'search item' button work correctly?

-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20170330/a41f495b/attachment.html 

More information about the Eprints-tech mailing list