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 had any problems with them yet - but that doesn't mean WebCat is immune to mixing them up.I imagine Grant recognized that this could be a problem, so I assume he has programmed WebCat to always use the database file's path to identify each database ... instead of just the database name.On the other hand, I seem to remember some tag or context or command that did *not* require a full path name or a relative path name. If my memory is correct about this, it may be a cause for concern. For example, if WebCat assumes that every database has a unique name , it might mix up two or more open databases that have the same names even though they reside in completely different folders ...Sincerely, Ken Grome ..... ken@iav.com http://usarea.net/home.html Associated Messages, from the most recent to the oldest:

    
  1. Re: More than one db with the same namn (was: Re: WC2f3) (Grant Hulbert 1997)
  2. Re: WC2f3 (Grant Hulbert 1997)
  3. Re: More than one db with the same namn (was: Re: WC2f3) (Christer Olsson 1997)
  4. Re: More than one db with the same namn (was: Re: WC2f3) (John Hill 1997)
  5. More than one db with the same namn (was: Re: WC2f3) (Christer Olsson 1997)
  6. Re: WC2f3 (Kenneth Grome 1997)
  7. Re: WC2f3 (Christer Olsson 1997)
  8. Re: WC2f3 (Grant Hulbert 1997)
  9. WC2f3 (Jeremy Pocock 1997)
>>>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 had any problems with them yet - but that doesn't mean WebCat is immune to mixing them up.I imagine Grant recognized that this could be a problem, so I assume he has programmed WebCat to always use the database file's path to identify each database ... instead of just the database name.On the other hand, I seem to remember some tag or context or command that did *not* require a full path name or a relative path name. If my memory is correct about this, it may be a cause for concern. For example, if WebCat assumes that every database has a unique name , it might mix up two or more open databases that have the same names even though they reside in completely different folders ...Sincerely, Ken Grome ..... ken@iav.com http://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:

purchase.log file (1997) [WebDNA] Problem saving returned value as a variable (2012) WC Database Format (1997) spawn (1998) Searching/sorting dates (1997) Running _every_ page through WebCat ? (1997) A link and two command (1998) Web Catalog Book? (1998) Document Contains no data, or showcart error. (1997) Passing Variables.. yikes, I'm dumb (2000) FEW QUESTIONS (1997) WebCat2b15MacPlugin - [protect] (1997) Limiting user access to .tmpl files (1997) Can I do this with [grep]? (2002) [WebDNA] Date problem in 6.2.1 (2013) [newcart] (1998) RE: [WebDNA] Installing WebDNA on Windows 7 64 Bit, Home Premium (2010) Add to a field (1998) [GROUPS] followup (1997) Error with [applescript] (1999)