Skip to Content.
Sympa Menu

devel - [sympa-dev] Undefined subroutine &main::get_random

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-dev] Undefined subroutine &main::get_random
  • Date: Tue, 1 Mar 2011 00:39:23 +0100

Subroutines fail that are external modules to wwsympa.fcgi.

First page from URL http://"foo.bar.com"/sympa loads fine, but clicking on
anything throws an apache error.

Any help would be appreciated. I am a first-time Sympa newbie trying to
migrate from an old-school majordomo installation. We are enthusiastic about
Sympa's connectivity to LDAP and Oracle, but we are not able to get it to run
yet.

Environment: vmware vm, RHEL6, Apache/2.2.15 (Unix), Sympa 6.1.4

*** Apache error ***
[Thu Feb 24 10:08:09 2011] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6
configured -- resuming normal operations [Thu Feb 24 10:08:50 2011] [warn]
[client 10.1.102.67] mod_fcgid: stderr:
Undefined subroutine &main::get_random called at /home/sympa/bin/wwsympa.fcgi
line 1129.
[Thu Feb 24 10:08:50 2011] [warn] [client 10.1.102.67] mod_fcgid: stderr:
Undefined subroutine &main::get_random called at /home/sympa/bin/wwsympa.fcgi
line 1129.
[Thu Feb 24 10:08:50 2011] [error] [client 10.1.102.67] Premature end of
script headers: wwsympa.fcgi

*** get_random is a sub in SympaSession.pm ***

[root@maillist bin]# grep get_random *
Auth.pm: my $ticket = &SympaSession::get_random();
SympaSession.pm: $session->{'id_session'} = &get_random();
SympaSession.pm: my $new_id = &get_random();
SympaSession.pm:sub get_random {
wwsympa.fcgi: $session->{'email'}= 'nobody'; $session->{'id_session'} =
&get_random();


  • [sympa-dev] Undefined subroutine &main::get_random, john.gibson, 02/28/2011

Archive powered by MHonArc 2.6.19+.

Top of Page