Re: old ic catalog (5.6.3) on new ic (5.6.10)
marco <[email protected]> Wed, 11 Oct 2017 20:51:29 +0200
| Newsgroups | gmane.comp.web.interchange.users |
|---|---|
| Message-ID | <[email protected]> |
Hi David Il 11/10/2017 20:01, David Christensen ha scritto: > Hi Marco, > >> On Oct 11, 2017, at 12:34 PM, marco <[email protected] >> <mailto:[email protected]>> wrote: >> >> Looked for suggestions for old mailing list archives on icdevgroup.org >> <http://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. Yes Interchange V5.10.0 Me din don, sorry. >> === 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. Debian-9.1.0-amd64 > > What version of the GDBM_File module are you using? What version of Perl? Perl 5.24.1 GDBM_File 1.15 > 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) == errors ============================================================== Configuring catalog elcat...LocaleDatabase locale: GDBM could not tie to '/home/interch/elcat/products/locale.gdbm': Invalid argument (flags: 0) 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 (flags: 0) at /usr/local/interchange/lib/Vend/Table/GDBM.pm line 111, <CONFIG> line 219. elcat config error: products not a database, cannot use as products file elcat: config error. Skipping. failed. === > 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). Updated file from tgz archives created from the source host >> 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. Correct works :-) > > Best, > > David > -- > David Christensen > End Point Corporation > [email protected] <mailto:[email protected]> > 785-727-1171 Thanks ! -- "Fino alla bara sinpara" "Up to demise we rize"