[Catalyst] I'm getting wrong uri_for

Oleg Pronin syber.rus at gmail.com
Mon Oct 12 17:32:09 GMT 2009


Holy shit! i'm an asshole. That template was rendered in offline
script :-) Strange... how did that work on Catalyst 5.7 ?    :-)))))

2009/10/12 Tomas Doran <bobtfish at bobtfish.net>:
> Oleg Pronin wrote:
>>
>> Hello. I upgraded to Catalyst 5.8 (5.80013) and i've got problem with
>> uri_for.
>>
>> It warns
>> Explicit blessing to '' (assuming package main) at
>> /usr/local/lib/perl5/site_perl/5.10.1/Catalyst.pm line 1281.
>>
>> Becase $c->req->base is empty.
>>
>> I'm not using custom Request object.
>>
>> Any idea what is the reason?
>
> I'm guessing that this could have something to do with the environment
> variables supplied by your web server etc..
>
> Could you shed some light on the platform / environment you're deploying in,
> and also try printing out Dumper(\%ENV) and/or $c->engine->env..
>
> Do you have this issue with the development server, or only when running in
> production? (As the former points to something in your application, whereas
> the latter points to something to do with your combination of web server /
> platform etc)
>
> Cheers
> t0m
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



More information about the Catalyst mailing list