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:
Forwarding Orders Via Email (1998)
OLD PROBLEM (1997)
Generating unique SKU from [cart] - Still Stumped... (1997)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Text vs. Math (2000)
Frames (1997)
WebDNA to Apache RewriteMap (2005)
Reversed words (1997)
international time (1997)
Hiding HTML and breaking the page (1997)
Re:shipping code (1998)
Bug Report, maybe (1997)
Protect vs Authenicate (1997)
webcat 3.06f on Linux keeps dying (1999)
Showif, Hideif reverse logic ? (1997)
not interpreting Q (2001)
Trouble with formula.db + more explanation (1997)
[WebDNA] Pretty URLS (2011)
Location of Browser Info.txt file (1997)
Speed Optimization - Mac (1997)