EPrints Technical Mailing List Archive

Message: #00179


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Profile: Internal Server Error


Hi,

Here is a ticket and attached fix:
http://trac.eprints.org/eprints/ticket/4036

(Somebody had this problem before but it's taken a while to track down)

It's recommended to install XML::LibXML, as XML::DOM is very likely to
cause memory leaks.

All the best,
Tim.

On Thu, 2012-03-15 at 10:50 +0100, Ulf Laube wrote:
> the error occurs after "Creating a new user" with bin/epadmin create:
> Create an initial user? [yes] ?
> Creating a new user in documents
> 
> Enter a username [admin] ?
> Select a user type (user|editor|admin) [admin] ?
> ...
> Successfully created new user:
>        ID: 1
> 
> No other user where configured. 
> 
> 
> Solution:
> - create new user with user type admin
> - edit profile of user with id 1
> - add Given / Family Name
> - save records
> 
> after login with user admin profile menu entry works well.
> 
> regards
> ulf
> 
> Am Donnerstag 15 März 2012 10:17:28 schrieb Ulf Laube:
> > Hi all,
> >
> > if i try /cgi/users/home?screen=User%3A%3AView, I got an Internal Server
> > Error.
> >
> > system settings:
> > eprints-3.3.8
> > opensuse 12.1 x86
> > kernel 3.2.9
> > apache2-prefork-2.2.21
> > apache2-mod_perl-2.0.5
> > mysql-community-server-5.5.16
> > perl-5.14.2
> >
> > log files:
> > /var/log/apache2/eprints-access.log
> > "GET /cgi/users/home?screen=User%3A%3AView HTTP/1.1" 302
> >
> > /var/log/apache2/eprints-error.log
> > [notice] EPrints archives loaded: documents
> > [notice] Apache/2.2.21 (Linux/SUSE) mod_ssl/2.2.21 OpenSSL/1.0.0e
> > mod_perl/2.0.5 Perl/v5.14.2 configured -- resuming normal operations
> > [error] Can't use an undefined value as an ARRAY reference
> > at /opt/eprints3/perl_lib/XML/DOM/NamedNodeMap.pm line 136.\n
> >
> > perl -I /opt/eprints3/perl_lib -c
> > /opt/eprints3/perl_lib/XML/DOM/NamedNodeMap.pm Bareword
> > "XML::DOM::Node::_Doc" not allowed while "strict subs" in use at
> > /opt/eprints3/perl_lib/XML/DOM/NamedNodeMap.pm line 4
> > 5.
> > Bareword "XML::DOM::Node::_UsedIn" not allowed while "strict subs" in use
> > at /opt/eprints3/perl_lib/XML/DOM/NamedNodeMap.pm lin
> > e 48.
> > Bareword "XML::DOM::Node::_UsedIn" not allowed while "strict subs" in use
> > at /opt/eprints3/perl_lib/XML/DOM/NamedNodeMap.pm lin
> > e 75.
> > /opt/eprints3/perl_lib/XML/DOM/NamedNodeMap.pm had compilation errors
> >
> >
> > Any ideas?
> >
> > regards
> > ulf
> 
> 
>