Re: WC2f3
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11449
interpreted = N
texte = >>>Despite using relative paths, I seem to be getting multiple open databases.>>>This did not happen with previous versions of WC2!>>>>Yes, we did change the 'relative-path collapser' code on that release.>>I've notified the engineer, and we'll see if we can fix that situation.>>For now, I suggest you change your db=xxx paths, because it looks like>>your situation is better-handled by absolute paths (for 2 of the>>databases).>>>>> :WebCatalog::standave::shops:shops.db>>>>Should become /shops/shops.db in your db=xxx specs, and perhaps>>/shops/popuplists/categories.db>>But it is possible to have multiple databases with the same name stored in>different folders?Yes.I have two 'sum.db' files located in different folders, and I haven't hadany problems with them yet - but that doesn't mean WebCat is immune tomixing them up.I imagine Grant recognized that this could be a problem, so I assume he hasprogrammed WebCat to always use the database file's path to identify eachdatabase ... instead of just the database name.On the other hand, I seem to remember some tag or context or command thatdid *not* require a full path name or a relative path name. If my memory iscorrect about this, it may be a cause for concern. For example, if WebCatassumes that every database has a unique name , it might mix up two or moreopen databases that have the same names even though they reside incompletely different folders ...Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
Associated Messages, from the most recent to the oldest:
>>>Despite using relative paths, I seem to be getting multiple open databases.>>>This did not happen with previous versions of WC2!>>>>Yes, we did change the 'relative-path collapser' code on that release.>>I've notified the engineer, and we'll see if we can fix that situation.>>For now, I suggest you change your db=xxx paths, because it looks like>>your situation is better-handled by absolute paths (for 2 of the>>databases).>>>>> :WebCatalog::standave::shops:shops.db>>>>Should become /shops/shops.db in your db=xxx specs, and perhaps>>/shops/popuplists/categories.db>>But it is possible to have multiple databases with the same name stored in>different folders?Yes.I have two 'sum.db' files located in different folders, and I haven't hadany problems with them yet - but that doesn't mean WebCat is immune tomixing them up.I imagine Grant recognized that this could be a problem, so I assume he hasprogrammed WebCat to always use the database file's path to identify eachdatabase ... instead of just the database name.On the other hand, I seem to remember some tag or context or command thatdid *not* require a full path name or a relative path name. If my memory iscorrect about this, it may be a cause for concern. For example, if WebCatassumes that every database has a unique name , it might mix up two or moreopen databases that have the same names even though they reside incompletely different folders ...Sincerely, Ken Grome ..... ken@iav.comhttp://usarea.net/home.html
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Just-in-RAM? (2000)
[WebDNA] Intranet site request (2010)
validatin on NT (sorry for the dups and etc) (1998)
delete a file? (1998)
Trouble with formula.db + more explanation (1997)
Ranking search results (2002)
carriage returns in data (1997)
Slow NT mail. (2000)
Tab Charactor (1997)
General WebCatalog Questions (1997)
Bug? (1997)
carriage returns in data (1997)
RePost: NAT and the CART (1999)
OT - Mail Solution (2002)
Interfacing WebMerchant to www.fedex.com (1997)
Type 11 errors setting up WebCAt 2 (1997)
adding shipping cost (1998)
Is there a max number of fields? (1998)
Need relative path explanation (1997)
TPL Asks For Authentication (2004)