Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists 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.

RE: [EP-tech] error 500 on login

From: "Roberts A.L." <A.L.Roberts AT swansea.ac.uk>
Date: Mon, 12 May 2008 16:09:08 +0100


Threading: [EP-tech] error 500 on login from A.L.Roberts AT swansea.ac.uk
      • This Message

*** 
http://www.eprints.org/tech.php/id/%3C9F7FA2E0294A934CA0CD9E97BD580F840373B9E2%40CCS-EXCHANGE1.brynmill.swan.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

Dear Harry,

Thanks for replying - it gives me hope :)

Please find the output of the apache error log using Carp as directed
before the offending line in subject.pm:

> [Mon May 12 13:56:01 2008] [notice] Apache/2.2.8 (Unix) DAV/2
mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal operations
> in Subject.pm at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen/Subject.pm line 44
>
EPrints::Plugin::Screen::Subject::allow('EPrints::Plugin::Screen::Subjec
t::Edit=HASH(0xbd15a03c)', 'subject/edit') called at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen/Subject/Edit.pm line 31
>
EPrints::Plugin::Screen::Subject::Edit::can_be_viewed('EPrints::Plugin::
Screen::Subject::Edit=HASH(0xbd15a03c)') called at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 311
>
EPrints::Plugin::Screen::list_items('EPrints::Plugin::Screen::Admin=HASH
(0xbd0ce3cc)', 'admin_actions') called at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 356
>
EPrints::Plugin::Screen::action_list('EPrints::Plugin::Screen::Admin=HAS
H(0xbd0ce3cc)', 'admin_actions') called at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen/Admin.pm line 29
>
EPrints::Plugin::Screen::Admin::can_be_viewed('EPrints::Plugin::Screen::
Admin=HASH(0xbd0ce3cc)') called at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen.pm line 311
>
EPrints::Plugin::Screen::list_items('EPrints::Plugin::Screen::FirstTool=
HASH(0xbd0ce4bc)', 'key_tools') called at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen/FirstTool.pm line 15
>
EPrints::Plugin::Screen::FirstTool::from('EPrints::Plugin::Screen::First
Tool=HASH(0xbd0ce4bc)') called at
/opt/eprints3/perl_lib/EPrints/ScreenProcessor.pm line 51
>       EPrints::ScreenProcessor::process('EPrints::ScreenProcessor',
'session', 'EPrints::Session=HASH(0xbd1584dc)', 'url',
'/cgi/users/home') called at /opt/eprints3/cgi/users/home line 37
>
ModPerl::ROOT::ModPerl::Registry::opt_eprints3_cgi_users_home::handler('
Apache2::RequestRec=SCALAR(0xbce08ee0)') called at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/Registr
yCooker.pm line 204
>       eval {...} called at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/Registr
yCooker.pm line 204
>
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xbd0de1b8)')
called at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/Registr
yCooker.pm line 170
>
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xbd0de
1b8)') called at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/ModPerl/Registr
y.pm line 31
>       ModPerl::Registry::handler('ModPerl::Registry',
'Apache2::RequestRec=SCALAR(0xbce08ee0)') called at -e line 0
>       eval {...} called at -e line 0
> [Mon May 12 13:56:36 2008] [error] Can't call method "allow" on 
an
undefined value at
/opt/eprints3/perl_lib/EPrints/Plugin/Screen/Subject.pm line 46.\n

Regards
AL

-----Original Message-----
From: owner-eprints-tech AT ecs.soton.ac.uk
[mailto:owner-eprints-tech AT ecs.soton.ac.uk] On Behalf Of Harry J Mason
Sent: 12 May 2008 12:10
To: EPrints.org Technical List
Subject: Re: [EP-tech] error 500 on login

***
http://www.eprints.org/tech.php/id/%3CPine.LNX.4.64.0805121206060.5298%4
0login.ecs.soton.ac.uk%3E
*** EPrints community wiki - http://wiki.eprints.org/

On Mon, 12 May 2008, Roberts A.L. wrote:

> I have installed Eprints3 on Fedora 8. Everything seems to be working
> except that when I login in I get an '500 Internal Error message'
after
> authenticating. I'm not using LDAP or other external authentication
> sources just what comes out of the box on install. I have also
disabled
> SELinux.
>
> [error] Can't call method "allow" on an undefined value at
> /opt/eprints3/perl_lib/EPrints/Plugin/Screen/Subject.pm line 43.

j've been trying to track down the same problem on Windows; I thought it
was a problem with Windows or the user's setup.

Can you add these two lines above the line with the error:

 	use Carp;
 	Carp::cluck "in Subject.pm";

The Apache log will hopefully pick up a stack trace which might help.
Can
you post it?

-- 
|  Harry Mason  | .------------. |    .___,    |"Whatever you do will be
|
| University of | |  hjm200  AT   | | ___('v')___ | insignificant. However,
|
|  Southampton  | | zepler.net | | `"-\._./-"' | it is vitally 
important
|
|    England    | '------------' | hjm ^ ^     | that you do it." Gandhi
|



[index] [prev] [next] [options] [help]