EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06182
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Random error help...
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Random error help...
- From: Lizz Jennings <E.Jennings@bath.ac.uk>
- Date: Thu, 19 Jan 2017 15:46:31 +0000
I think you can do something to check whether something can be called before trying to call it: if ( $repo->can_call( "configured_function" ) ) Lizz -- Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2015) Research Data Librarian (Systems) The Library 4.10, University of Bath, Bath, BA2 7AY UK Ext. 3570 (External 01225 383570) Research Data Management:
http://www.bath.ac.uk/research/data From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles Thanks John – completely down to code in cfg.d with my big mitts all over it! From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of John Salter Nothing in with the main error log, or a vhost specific one? I'd start with this: >grep -r -n 'call' archives/ARCHIVEID/cfg lib perl_lib | grep 7 Which will show you any occurences of 'call' on line 7 of a file - it may be crude, but it might help! From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Alan.Stiles So, editing a user profile (on new dev server 3.3.15) and when I try to go to next or previous stage or save the page I get a message Can't call method "call" on an undefined value at (eval 213) line 7 There’s nothing in the apache error log – any clues where I should look? Cheers, Alan -- 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. |
- References:
- [EP-tech] Random error help...
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] Random error help...
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Random error help...
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Random error help...
- Prev by Date: Re: [EP-tech] Issue Installing package
- Next by Date: Re: [EP-tech] Issue Installing package
- Previous by thread: Re: [EP-tech] Random error help...
- Next by thread: [EP-tech] Migrating output data - most efficient way
- Index(es):