[rt-users] Getting "Can't locate object method "host" via package "URI::_generic" at /opt/rt3/bin/../lib/RT/Interface/Web.pm line 190"

Kevin Falcone falcone at bestpractical.com
Thu Jun 25 13:34:23 EDT 2009


On Jun 24, 2009, at 5:58 PM, Kevin Gagel wrote:

> Please help! I've broken something and I'm not sure what.
>
> I'm pretty sure it has something to do with my RT_SiteConfig.pm  
> file, I had made some changes so that links in the tickets were  
> showing up correctly. They were only showing up as http://localhost:80/ 
>  etc. Now they are showing up correctly.
>
> Anyway's the error only shows up when creating a new ticket. The  
> ticket is created and everything seems to work correctly but the  
> only thing updated in the browser is:
> Can't locate object method "host" via package "URI::_generic" at / 
> opt/rt3/bin/../lib/RT/Interface/Web.pm line 190
>
> I have to go back to a previous change and then click home to  
> continue.

Most likely, you have an invalid WebURL

You might want to examine all of the Web* variables you've set in your  
SiteConfig

The error comes from RT trying to redirect to your WebURL but being  
unable to parse it

-kevin



More information about the rt-users mailing list