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

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.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel

Kevin,

Without knowing what you changed, it will be difficult to help. Do you
keep notes on your changes? DO you backup your old RT_SiteConfig.pm file
(like copying it under a diff name)? When making changes, try making
them one at a time and then testing for all possible results. That way,
it is easier to debug what might have gone wrong.
Anyway, if you can specify what changes you made, help is possible.

Kenn
LBNLOn 6/24/2009 2: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.

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel



The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

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