EPrints Technical Mailing List Archive
Message: #05918
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] apache fails to start eprints
- To: eprints-tech@ecs.soton.ac.uk
- Subject: Re: [EP-tech] apache fails to start eprints
- From: Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- Date: Wed, 7 Sep 2016 17:44:54 +0200
On Wed, 7 Sep 2016 16:45:05 +0200 Yuri <yurj@alfa.it> wrote: > can you check the syntax on line 252 of > /opt/eprints3/perl_lib/EPrints/MetaField.pm ? can you paste it here > in the email? Line 252: $p_default = $repository->config( "field_defaults" )->{ $p_id }; Context: sub field_defaults { my( $self ) = @_; my $repository = $self->{repository}; my $field_defaults = $repository->get_field_defaults( $self->{type} ); return $field_defaults if defined $field_defaults; $field_defaults = {$self->get_property_defaults}; while(my( $p_id, $p_default ) = each %$field_defaults) { next if !defined $p_default; next if $p_default ne EP_PROPERTY_FROM_CONFIG; $p_default = $repository->config( "field_defaults" )->{ $p_id }; $p_default = EP_PROPERTY_UNDEF if !defined $p_default; $field_defaults->{$p_id} = $p_default; } $repository->set_field_defaults( $self->{type}, $field_defaults ); return $field_defaults; } Best, h.h. > > Il 07/09/2016 15:56, Herbert Hrachovec ha scritto: > > > > at /opt/eprints3/perl_lib/EPrints/MetaField.pm line > > 252.\nCompilation failed in require at (eval 2) line 1.\n [Wed Sep > > 07 14:46:46 2016] > > *** 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/ ---- Hochschullehrer, Philosophie, Wien
- References:
- [EP-tech] apache fails to start eprints
- From: Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- Re: [EP-tech] apache fails to start eprints
- From: Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- Re: [EP-tech] apache fails to start eprints
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] apache fails to start eprints
- From: Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- Re: [EP-tech] apache fails to start eprints
- From: Yuri <yurj@alfa.it>
- [EP-tech] apache fails to start eprints
- Prev by Date: Re: [EP-tech] apache fails to start eprints
- Next by Date: Re: [EP-tech] apache fails to start eprints
- Previous by thread: Re: [EP-tech] apache fails to start eprints
- Next by thread: Re: [EP-tech] apache fails to start eprints
- Index(es):