[ic] Re: Runtime error: Could not tie to 'products': Is a directory

vasile_abo@wexim.com vasile_abo@wexim.com
Fri, 30 Mar 2001 14:19:28 +0200


Hello Mike and Interchange users

Thanks (again) for taking the time to read and study this.

>> I've got a strange problem with a Interchange 4.6.3
>> on a Linux box with perl 5.6. In error.log I got :
>> ######################################
>> [27/March/2001:14:55:56 -0500] shop /cgi-bin/shop/IRDA-01.html
>> Runtime error: Could not tie to 'products': Is a directory
>> at [interchange lib]/lib/Vend/Table/GDBM.pm line 105.
>> ######################################
>> 
>> In catalog.cfg I has :
>> Database products products.asc TAB
>> Database products READ_ONLY 1
>> Database products IMPORT_ONCE 1
>> ProductFiles products
>> 
>> This problem does not happen when using a InMemory table.
>> Does anybody has an idea ?
> 
> You don't mention the situation that caused the error.

OK, I'll give some more details. It happened only
in flypage.html, nowhere else. In the same time I
was able to add the product to the cart, see its
description, etc... IRDA-01 is the valid sku for
a product. And this error came for all the products,
not just this one.
As workaround, I passed to a InMemory table and it
works fine (except some small problems I solved)

A restart of IC server didn't solve the problem.

> If it is in the UI, then the fact that you made the table READ_ONLY
> is going to cause a problem....

I'm not using UI at all.

Have a nice day,
bye
--
Vasile Calmatui
vasile_abo@wexim.com
http://www.chez.com/vasile/