Re: File not found error message
This WebDNA talk-list message is from 1998
It keeps the original formatting.
numero = 20078
interpreted = N
texte = PCS wrote:>The file products.tpl is in the same folder as the file containing the>code above. The code above works fine when I use a full URL for the>database path. Any suggestions would be appreciated. Thanks in advance.>>The real question is where is storefront.db in relation to products.tpl?>>Can you play with various combinations of ../ until it shows up?I tried playing around with the path of the database file by changing thenumber of ../ directories and found some interesting results.When I use just one ../ directory sign, I got a database cannot be foundor opened message.When I use two ../../ directory signs, I got a file cannot be foundmessage. When I looked at the URL in the brower's URL Location field, Inoticed that the search template file name and the search file command weremissing, which caused the 'file cannot be found message.When I use three ../../../ directory signs, I got a file cannot be foundmessage. When I looked at the URL in the brower's URL Location field, Inoticed that the folder the search template was in, search template filename, and the search file command were missing, which caused the 'filecannot be found message.When I added a 4 ../../../../ diretory signs, another directory wasmissing from the URL of the search template file. It appears the more ../directories I add to the Database path in the search command, anotherhigher directory is erased from the path to the search template file.I had other people try doing a search, while using more than one ../directory in their database path and they got the same result.I think this is a bug. Can you confirm this.Aloha,Wayne MorishigeH3O.COM - Real Surfing on the Web.
Associated Messages, from the most recent to the oldest:
PCS wrote:>The file products.tpl is in the same folder as the file containing the>code above. The code above works fine when I use a full URL for the>database path. Any suggestions would be appreciated. Thanks in advance.>>The real question is where is storefront.db in relation to products.tpl?>>Can you play with various combinations of ../ until it shows up?I tried playing around with the path of the database file by changing thenumber of ../ directories and found some interesting results.When I use just one ../ directory sign, I got a database cannot be foundor opened message.When I use two ../../ directory signs, I got a file cannot be foundmessage. When I looked at the URL in the brower's URL Location field, Inoticed that the search template file name and the search file command weremissing, which caused the 'file cannot be found message.When I use three ../../../ directory signs, I got a file cannot be foundmessage. When I looked at the URL in the brower's URL Location field, Inoticed that the folder the search template was in, search template filename, and the search file command were missing, which caused the 'filecannot be found message.When I added a 4 ../../../../ diretory signs, another directory wasmissing from the URL of the search template file. It appears the more ../directories I add to the Database path in the search command, anotherhigher directory is erased from the path to the search template file.I had other people try doing a search, while using more than one ../directory in their database path and they got the same result.I think this is a bug. Can you confirm this.Aloha,Wayne MorishigeH3O.COM - Real Surfing on the Web.
Wayne Morishige
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] question (2000)
Bug or syntax error on my part? (1997)
Showif date > other date (2004)
Customizing WebDelivery.html (1998)
Smart caching problems with 2.1b3? (1997)
CGI and SSI (2002)
Part Html part WebDNA (1997)
Banner DNA (1997)
catagories (1997)
wild question (1998)
Db design question (relational vs. flat?) (1998)
Web Catalog 2 demo (1997)
2nd WebCatalog2 Feature Request (1996)
[math] show=F exists? (1997)
Emailer setup (1997)
WebCat2b13MacPlugIn - [shownext method=post] ??? (1997)
Database not found in Include (2002)
duplicate cart numbers (2002)
WebCatalog2 Feature Feedback (1996)
More Applescript (1997)