[rt-users] new install of rt 4.0.0 -- problem with cookies routine?

Ruslan Zakirov ruz at bestpractical.com
Sun May 22 14:39:51 EDT 2011


Hi,

Also, please, report back with results. We can not reproduce problem.
Stack trace may help.

On Sun, May 22, 2011 at 10:11 PM, Ruslan Zakirov <ruz at bestpractical.com> wrote:
> Hi,
>
> Thanks for the report. Try change
> 350aa5538eb4fc0e43c99083b4255d0294edc4a2 [1]. Don't forget to
> stop/start server.
>
> [1] https://github.com/bestpractical/rt/commit/350aa5538eb4fc0e43c99083b4255d0294edc4a2
>
>
>
> On Sun, May 22, 2011 at 3:50 PM, Justin Richard <velusip at gmail.com> wrote:
>> Hello list,
>>
>> Problem:
>> -------------
>> * I receive the following error (within html and body tags) when
>> accessing my new rt installation:
>> "Can't call method "as_string" on an undefined value at
>> /opt/rt4/sbin/../lib/RT/Interface/Web.pm line 717."
>>
>> * Checking line 717:
>> $ awk 'NR == 717' /opt/rt4/lib/RT/Interface/Web.pm
>>    $HTML::Mason::Commands::r->err_headers_out->{'Set-Cookie'} =
>> $cookie->as_string;
>>
>> Seems odd to me, but not sure how to fix it.
>>
>>
>>
>> Software used:
>> ------------------
>> * RT 4.0.0
>> * CPAN 1.9600
>> * PERL 5.12.3
>> * mod_perl/2.0.5 and psgi/plack
>> * I may try something other than psgi/plack as it's completely new to
>> me and mod_perl2 seems to use too much memory anyway.
>> * Apache 2.2.17
>>
>>
>> RT_SiteConfig.pm:
>> -----------------------
>> Set($WebPath, '/rt');
>> Set($LogToSyslog, 'debug');
>>
>>
>> Apache virtual host config:
>> -------------------------------------
>> <VirtualHost *:80>
>>    # /rt ######################################################################
>>    Alias /rt /opt/rt4/share/html
>>    <Directory /opt/rt4/share/html>
>>        #Options FollowSymLinks
>>        Order allow,deny
>>        Allow from all
>>    </Directory>
>>
>>    <Location /rt>
>>        Order allow,deny
>>        Allow from all
>>
>>        AddDefaultCharset UTF-8
>>
>>        SetHandler perl-script
>>        PerlResponseHandler Plack::Handler::Apache2
>>        PerlSetVar psgi_app /opt/rt4/sbin/rt-server
>>    </Location>
>>
>>    <Perl>
>>        use Plack::Handler::Apache2;
>>        Plack::Handler::Apache2->preload("/opt/rt4/sbin/rt-server");
>>    </Perl>
>> </VirtualHost>
>>
>>
>> -j
>>
>
>
>
> --
> Best regards, Ruslan.
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list