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 WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan Diego, CA 92128 |619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com
Associated Messages, from the most recent to the oldest:
>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 WebWarriorsPacific Coast Software | WebCatalog, WebCommerce Solution11770 Bernardo Plaza Court, #462 | SiteEdit, SiteCheck, PhotoMasterSan 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:
Pithy questions on webcommerce & siteedit (1997)
Nested tags count question (1997)
return missing item (was:WebCat Sales) (1997)
Best way to handle 404 errors with WebDNA and Web* V (2003)
[WebDNA] TCPConnect w/ user:pass (2009)
STRANGE (2001)
Harvesting invalid email addresses from bounced emails??? (2000)
TCP Connect/send and CGI (2003)
So what ya working on? (or have you completed?) (2004)
Open source store builder (Merchant Maker?) (2003)
WebCatalog for Postcards ? (1997)
Word search (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
Suffix Mapping (1997)
photo upload snippet (2006)
WebCat2 - many [carts] on one template page? (1997)
Some ThankYou page problems (1997)
off-topic - printinglib 68K (1997)
[date] insanity! (2001)
[AppendFile] problem (WebCat2b13 Mac .acgi) (1997)