[ic] Cannot check out or access admin page

Mike Heins interchange-users@icdevgroup.org
Mon Jun 10 11:58:01 2002


Quoting Brandon Lackey (brandon_6661@hotmail.com):
> I'm pretty new to Interchange and I keep getting the following error in the 
> error log when I proceed to the checkout page:
> 
> /cgi-bin/test3/ord/checkout.html Runtime error: Undefined subroutine 
> &Vend::Interpolate::getUPS called at (eval 115) line 23.

That probably means you don't have the needed modules for Business::UPS,
which is part of the modules needed for IC.

> 
> and this when I try to access the admin page:
> 
> /cgi-bin/test3/admin/index.html Runtime error: ichelp import failed: sdbm 
> store returned -1, errno 22, key "kshipping.main" at 
> /usr/lib/interchange/lib/Vend/Table/Common.pm line 409, <IN> line 4.
> 

You are probably on Solaris. It doesn't have GDBM or DB_File, which
are nominally needed for this stuff. You can remove dbconf/*/ichelp.dbm
to get around this error.

You should build a Perl that has GDBM. A competent consultant
can help you do that if you don't think you can yourself.


> I have re-installed the Perl modules, but that didn't help any. I also have 
> Perl versions 5.0 and 5.6.1. Is there anywhere I can go to check that 
> Interchange is using the 5.6.1 version instead of the 5.0 without modifying 
> all the #! lines in the perl scripts, or is this problem from something 
> else.

If it was using 5.0, it wouldn't even begin to start. If you
mean 5.6.0, that should work fine.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting
phone +1.513.523.7621      <mike@perusion.com>

Nature, to be commanded, must be obeyed. -- Francis Bacon