[ic] Problems with interpolate.pm

Morrie Wyatt interchange-users@interchange.redhat.com
Thu Jan 10 03:56:01 2002


Thanks for the reply.

On Thu, Jan 10, 2002 at 09:23:11AM +0100, Joachim Leidinger wrote:
> morrie@morrie.sims.com.au wrote:
> ...
> > I have just done a vanilla install of Interchange 4.8.3
> > on a redhat 7.2 system with a vanilla apache config
> > from the Redhat RPM files. (The foundation and foundation demo
> > packages are also installed.)
> > 
> > Connecting via a browser (several tried) you get the main
> > interchange welcome page, but clicking on the "Admin" link
> > returns an error back to the browser.
> > ---------------------
> > Internal Server Error
> > The server encountered an internal error or misconfiguration
> > and was unable to complete your request. Please contact the server 
> > administrator, root@localhost and inform them of the time the error
> > occurred, and anything you might have done that may have caused the
> > error.
> > 
> > More information about this error may be available in the server error log.
> > ---------------------
> > 
> > Looking into the /var/log/interchange/error.log I find:
> > ---------------------
> > 192.168.1.201 9mjUodSC:192.168.1.201 - [10/January/2002:18:30:03 -1000]
> > foundation /cgi-bin/foundation/admin/index.html Runtime error:
> > Can't call method "wrap" on an undefined value
> > at /usr/lib/interchange/lib/Vend/Interpolate.pm line 2484.
> > ---------------------
> > 
> > The line in interplate.pm reads:
> > ---------------------
> > $Tag = $hole->wrap($Tag);
> > ---------------------
> > 
> > Can anybody suggest the cause of this error and/or it's
> > solution.
> > 
> > I have searched the interchange mailing list archives for this
> > particular error and have found no matches.
> > 
> > I have a second server running Redhat 7.1 successfully
> > with the same version of Interchange, and have made sure
> > that all of the perl modules are identical on both machines.
> 
> It seems to me, you are missing the perl module Hole.pm! Right?
> 

If only it were that easy!

/usr/lib/perl5/site_perl/5.6.0/i386-linux/Safe/Hole.pm

Yes I installed the module Safe::Hole

Maybe it's a problem with the Safe::Hole module itself
(initial installation had permission problems on the
install directories (700 owner root) so IC was claming
the module was not installed. Changed mode to 644.

Any other hints?

Thanks,
Morrie.