[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: Issues following database change (possibly...)



If you're iterating over something, is it picking up the iteration 
number as the field name?

Lizz

On 03/09/2014 14:19, Andrew Beeken wrote:
> This seems to be the most prevalent error, but it?s not clear to me where
> the issue lies:
>
> [Wed Sep 03 14:06:12 2014] [error] :Apache2 IO write: (103) Software
> caused connection abort at /usr/share/eprints3/cgi/export line 199
> [Wed Sep 03 14:06:14 2014] [error] [client 10.82.3.45] Can't use string
> ("") as an ARRAY ref while "strict refs" in use at
> /usr/share/eprints3/perl_lib/EPrints/MetaField/Authorid.pm line 37.\n
> Use of uninitialized value in string ne at (eval 105) line 31.
> dataset eprint has no field: 1
> ------------------------------------------------------------------
> ---------------- EPrints System Error ----------------------------
> ------------------------------------------------------------------
> Attempt to get value from not existent field: eprint/1
> ------------------------------------------------------------------
>   at /usr/share/eprints3/perl_lib/EPrints/DataObj.pm line 702.
>      
> EPrints::DataObj::get_value(EPrints::DataObj::EPrint=HASH(0x7f4f7c62d5b0),
> 1) called at (eval 69) line 99
>      
> EPrints::Config::lirolem::__ANON__(EPrints::DataObj::EPrint=HASH(0x7f4f7c62
> d5b0), EPrints::Repository=HASH(0x7f4f78323da0), undef) called at
> /usr/share/eprints3/perl_lib/EPrints/Repository.pm line 1656
>      eval {...} called at
> /usr/share/eprints3/perl_lib/EPrints/Repository.pm line 1656
>      EPrints::Repository::call(EPrints::Repository=HASH(0x7f4f78323da0),
> "eprint_render", EPrints::DataObj::EPrint=HASH(0x7f4f7c62d5b0),
> EPrints::Repository=HASH(0x7f4f78323da0), undef) called at
> /usr/share/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line 1537
>      
> EPrints::DataObj::EPrint::render(EPrints::DataObj::EPrint=HASH(0x7f4f7c62d5
> b0)) called at /usr/share/eprints3/perl_lib/EPrints/DataObj/EPrint.pm line
> 1406
>      
> EPrints::DataObj::EPrint::generate_static(EPrints::DataObj::EPrint=HASH(0x7
> f4f7c62d5b0)) called at
> /usr/share/eprints3/perl_lib/EPrints/Update/Abstract.pm line 66
>      
> EPrints::Update::Abstract::update(EPrints::Repository=HASH(0x7f4f78323da0),
>   "en", 5494, "/archive/00/00/54/94") called at
> /usr/share/eprints3/perl_lib/EPrints/Apache/Rewrite.pm line 471
>      
> EPrints::Apache::Rewrite::handler(Apache2::RequestRec=SCALAR(0x7f4f7c5fd2c8
> )) called at -e line 0
>      eval {...} called at -e line 0
>
>
>
> On 03/09/2014 12:27, "John Salter" <J.Salter at leeds.ac.uk> wrote:
>
>> First stop: Apache Error log.
>> This should tell you what it's complaining about.
>>
>> If the error message contained within is incomprehensible, the gathered
>> wisdom of the list should be able to help...
>>
>> Cheers,
>> John
>>
>>
>> -----Original Message-----
>> From: eprints-tech-bounces at ecs.soton.ac.uk
>> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Andrew Beeken
>> Sent: 03 September 2014 12:14
>> To: eprints-tech at ecs.soton.ac.uk
>> Subject: [EP-tech] Issues following database change (possibly...)
>>
>> Okay, so I?ve just gone through the process of adding a new field to our
>> ePrints Details page. The process went fine, the field is up and all
>> logic associated with it is working. However, the Browse Authors view is
>> now returning an internal server error:
>> http://eprints.lincoln.ac.uk/view/creators/. I?m not sure if this is a
>> result of the new field or if the issue was there before we went through
>> this process and we?ve simply not noticed yet. The page is working fine
>> in our development environment.
>>
>> Any thoughts or assistance offered would be greatly appreciated!
>>
>> Andrew
>>
>> The University of Lincoln, located in the heart of the city of Lincoln,
>> has established an international reputation based on high student
>> satisfaction, excellent graduate employment and world-class research.
>>
>> The information in this e-mail and any attachments may be confidential.
>> If you have received this email in error please notify the sender
>> immediately and remove it from your system. Do not disclose the contents
>> to another person or take copies.
>>
>> Email is not secure and may contain viruses. The University of Lincoln
>> makes every effort to ensure email is sent without viruses, but cannot
>> guarantee this and recommends recipients take appropriate precautions.
>>
>> The University may monitor email traffic data and content in accordance
>> with its policies and English law. Further information can be found at:
>> http://www.lincoln.ac.uk/legal.
>>
>> *** 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/
>
> *** 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/

-- 
Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2014)
Technical Data Officer
The Library 4.10, University of Bath, Bath, BA2 7AY UK
Ext. 3570 (External 01225 383570)
E.Jennings at bath.ac.uk