[rt-users] Re: [Rt-devel] cannot get the login screen
Ruslan U. Zakirov
Ruslan.Zakirov at miet.ru
Thu May 12 01:59:25 EDT 2005
Please try to change line from
$RT::Handle->ForceRollback() if $RT::Handle->TransactionDepth;
to
$RT::Handle->ForceRollback() if $RT::Handle &&
$RT::Handle->TransactionDepth;
and see if it gives other error, more informative.
Looks like you can't connect to your DB.
Turn on debug RT log(http://wiki.bestpractical.com/?Debug)
and see if it has some records.
Brookes, Iris wrote:
> Please help!!!!!
>
> I'm installing RT3.4.1 on a Solaris machine ==> unname -a output: SunOS
> tocrsv02 5.8 Generic_117350-12 sun4u sparc SUNW,Sun-Fire-280R and I
> cannot get the login screen.
>
> I've installed Apache, mod_perl and RT as non-root (rtusr). RT will be
> the only app running using this installed apache so here's a snip from
> my httpd.conf file:
> ##########################################
> DocumentRoot "/home/rtusr/RT/share/html"
> <Directory "/home/rtusr/RT/share/html">
> AllowOverride All
> Options Indexes ExecCGI FollowSymLinks
>
> PerlModule Apache::DBI
> PerlRequire /home/rtusr/RT/bin/webmux.pl
>
> AddDefaultCharset UTF-8
> SetHandler perl-script
> PerlHandler RT::Mason
>
> <IfModule mod_access.c>
> Order allow,deny
> Allow from all
> </IfModule>
> </Directory>
> ###########################################
>
> The area where this fails is at PerlHandler RT::Mason. If I replace
> RT::Mason with HTML::Mason::ApacheHandler this is what shows up in my
> browser:
>
> *System error*
>
> *error:* Can't call method "TransactionDepth" on an undefined value at
> /home/rtusr/RT/share/html/autohandler line 49.
> *context:*
> *...*
> *45:* %# END BPS TAGGED BLOCK }}}
> *46:* <%INIT>
> *47:*
> *48:* # Roll back any dangling transactions from a previous failed
> connection
> *49:* $RT::Handle->ForceRollback() if $RT::Handle->TransactionDepth;
> *50:*
> *51:*
> *52:* local *session unless $m->is_subrequest; # avoid reentrancy, as
> suggested by masonbook
> *53:*
> *...*
>
> *code stack:* /home/rtusr/RT/share/html/autohandler:49
>
>
> Can't call method "TransactionDepth" on an undefined value at
> /home/rtusr/RT/share/html/autohandler line 49.Trace begun at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/Exceptions.pm line 131
> HTML::Mason::Exceptions::rethrow_exception('Can\'t call method
> "TransactionDepth" on an undefined value at
> /home/rtusr/RT/share/html/autohandler line 49.^J') called at
> /home/rtusr/RT/share/html/autohandler line
> 49HTML::Mason::Commands::__ANON__ at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/Component.pm line 136
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1046b3c)')
> called at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
> line 1069 eval {...} at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line
> 1068HTML::Mason::Request::comp(undef, undef, undef) called at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 338eval
> {...} at /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm
> line 338eval {...} at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/Request.pm line 297
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1015730)')
> called at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line
> 134eval {...} at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line
> 134
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1015730)')
> called at
> /home/rtusr/lib/perl5/site_perl/5.8.5/HTML/Mason/ApacheHandler.pm line
> 827
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x1014fb0)',
> 'Apache=SCALAR(0x23cf2c)') called at (eval 175) line 8
> HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler',
> 'Apache=SCALAR(0x23cf2c)') called at /dev/null line 0eval {...} at
> /dev/null line 0
> Can anyone help me please? Thanks.
> Iris
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Rt-devel mailing list
> Rt-devel at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
More information about the rt-users
mailing list