Re: WebCatalog can't find database

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10266
interpreted = N
texte = >I'm trying to implement a site on the WebCatalog 2.0 beta, but I cannot >get the CGI to find the database file.First, I need some particulars: which beta, and 68K or PPC? But here's my best-guess answer anyway:In Beta 8 (sent yesterday) the database paths are all URL-style, and relative to the template in question. db=xx.db finds it in the same folder as the template, db=../xx.db looks up one folder, and db=/folder1/folder2/xx.db starts from WebStar's folder and looks down from there.In Beta 7 (and all previous) the database paths are all relative to WebCatalog.acgi itself, so db=xx.db looks in the same folder as WebCatalog.acgi, db=::xx.db looks up one folder from WebCatalog.acgiGrant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCatalog can't find database (Grant Hulbert 1997)
  2. Re: WebCatalog can't find database (Kenneth Grome 1997)
  3. Re: WebCatalog can't find database (Grant Hulbert 1997)
  4. Re: WebCatalog can't find database (Grant Hulbert 1997)
  5. Re: WebCatalog can't find database (Grant Hulbert 1997)
  6. Re: WebCatalog can't find database (Kenneth Grome 1997)
  7. WebCatalog can't find database (John Winningham 1997)
>I'm trying to implement a site on the WebCatalog 2.0 beta, but I cannot >get the CGI to find the database file.First, I need some particulars: which beta, and 68K or PPC? But here's my best-guess answer anyway:In Beta 8 (sent yesterday) the database paths are all URL-style, and relative to the template in question. db=xx.db finds it in the same folder as the template, db=../xx.db looks up one folder, and db=/folder1/folder2/xx.db starts from WebStar's folder and looks down from there.In Beta 7 (and all previous) the database paths are all relative to WebCatalog.acgi itself, so db=xx.db looks in the same folder as WebCatalog.acgi, db=::xx.db looks up one folder from WebCatalog.acgiGrant Hulbert, V.P. Engineering | Tools for WebWarriors Pacific Coast Software | WebCatalog, WebCommerce Solution 11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMaster San Diego, CA 92128 | 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

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:

Emailer setup (1997) includes and cart numbers (1997) Encrypt/Decrypt (2007) Error Lob.db records error message not name (1997) Urgent Help needed (1998) Emailer port change (1997) OT- AS/400 and Macs (2003) Include a big block of text (1997) WebCat & WebTen (1997) Webcatalog error, Plug-in for Webstar (1996) Removing username from browser (2000) RE: type 2 errors with ssl server (1997) Updating Prices in Online Database (1999) [LOOKUP] (1997) Banners (1997) More on the email templates (1997) Help! WebCat2 bug (1997) Math Context (2001) Moment of Thanks (1997) WCS Newbie question (1997)