[index] [options] [help]
See the Contact page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] Profile: Internal Server Error

From: Ulf Laube <ulf.laube AT ontochem.com>
Date: Thu, 15 Mar 2012 10:17:28 +0100


Threading:      • This Message
             [EP-tech] Re: Profile: Internal Server Error from ulf.laube AT ontochem.com
             [EP-tech] Re: Profile: Internal Server Error from tdb2 AT ecs.soton.ac.uk

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

-- 
OntoChem GmbH
Heinrich-Damerow-Str. 4
06120 Halle (Saale)
Germany
*** 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/


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

From: Ulf Laube <ulf.laube AT ontochem.com>
Date: Thu, 15 Mar 2012 10:50:09 +0100


Threading: [EP-tech] Profile: Internal Server Error from ulf.laube AT ontochem.com
      • This Message

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 Mrz 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



-- 
OntoChem GmbH
Heinrich-Damerow-Str. 4
06120 Halle (Saale)
Germany
Tel. +49-345-478047-4
Fax: +49-345-478047-1

HRB 215461 Amtsgericht Stendal; USt-IdNr.: DE246232735

*** 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/


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

From: Tim Brody <tdb2 AT ecs.soton.ac.uk>
Date: Thu, 15 Mar 2012 10:26:25 +0000


Threading: [EP-tech] Profile: Internal Server Error from ulf.laube AT ontochem.com
      • This Message

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
> 
> 
> 


*** 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/


[index] [options] [help]