Re: old ic catalog (5.6.3) on new ic (5.6.10)

David Christensen <[email protected]> Wed, 11 Oct 2017 13:01:08 -0500
Newsgroups gmane.comp.web.interchange.users
Message-ID <[email protected]>
Hi Marco,

> On Oct 11, 2017, at 12:34 PM, marco <[email protected]> wrote:
> 
> Looked for suggestions for old mailing list archives on icdevgroup.org but not found.
> 
> My old catalog elcat on new interchange 5.6.10 on startup give these errors

I assume you mean new IC version 5.10 for this.

> === errors ============================================================
> Configuring catalog elcat...LocaleDatabase locale: GDBM could not tie to '/home/interch/elcat/products/locale.gdbm': Invalid argument at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 111, <CONFIG> line 127.
> 
> RouteDatabase route: GDBM could not tie to '/home/interch/elcat/products/route.gdbm': Invalid argument at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 111, <CONFIG> line 219.

What version of the GDBM_File module are you using?  What version of Perl?

What does it show if you change line 111 in Vend::Table::GDBM file to:

	die ::errmsg("%s could not tie to '%s': %s (flags: %s)", 'GDBM', $filename, $!, $flags)

FWIW, you might need to make sure your corresponding text files are up-to-date, then whack the *.gdbm versions and let IC reimport them, if this is a different version of GDBM_File than the catalog originally ran with (say if you’re moving to a different server).

> elcat config error: Unknown directive 'staticdir'
> In line 230 of the configuration file 'catalog.cfg':
> StaticDir     __SAMPLEHTML__/pages

Looks like StaticDir was removed in git commit 8397531e so commenting it out should be sufficient.

Best,

David
--
David Christensen
End Point Corporation
[email protected]
785-727-1171

_______________________________________________
interchange-users mailing list
[email protected]
http://www.icdevgroup.org/mailman/listinfo/interchange-users
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEECKA1l4YEfF4eK4/eN0ojyd+bZbgFAlneXGQACgkQN0ojyd+b
Zbjy3g/+NnuwoRbBYGYenPJqFmSt32fAUqR+KKGuxT15Gn/X//Nm5jsoDDOhRw4F
pP/8mZbBINGZKvoiffrSkby3Jofk22DVSIF0NdsT2SBt4LlGU4avlGH1DorBqnv3
6VPSPIRUExIsEFc3niq2P2aAlyhV2K8D4eHKhAamHZ0BouLg6PCcRitHYyORCQ2V
/GkZyV5/0gzipcGFWDZPLsihKquY76R36ZSWyrzLwYSRAv8JDvfPDwlIY1hKA/lA
bhHU16otDng4LXQmIl7BKFWy9S9dJzA/RsCTgLWzPoqX05Al7uoQVPQuL1CVmBs9
zeQ3kf7D2/LOE/SLe2Ed9QnF43+rNaHT37D+hc5YKjlTKU3w+7Txm6i8A4ZjWF4d
Rx0+6cXQXp68E5nZBnlCIUe1ZiOHer0nH8R+TecjvfodeHWx/rNEj2yW/YDaNtJ2
y0GUNcJu9T2/NGHlriHcTCsEgY2EAM8XwoplLdmEVcv8S6gYoyskZtax0UVVxcXy
OYideK2EIrSRO1HyD8sdVpsULuj9L7pYfM51u7WXjS/Ckm7wjqSO5hPd/QN61u+z
rWFVn8wPeG3R3YjZ6XC90vX5lvtzszvNG5vPiwvWe+gbDceeu7+iHPOEoIHyEaL5
LBtwTJmnah/xX0I9XyNfkTjg2A8CNxlVHqkcDb8zM2YIIRsYd1Q=
=4JCD
-----END PGP SIGNATURE-----