1st Comparison inside [fileinfo] broken. = bug?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59950
interpreted = N
texte = [!]=== Someone PLEASE try this, I think it is a WebDNA bug! ==== "test.tpl" is reached by this form:
Before trying it - change the values of 'MyPhotoDir' & 'theFilename' on the top lines of code from "xxxxx" to values which points to a real file on your server which is not a .gif or .jpg, or is one of those but named with the other extension. ===[/!] ----------------- test.tpl ---------------- [text show=F]MyPhotoDir=xxxxx[/text] [text show=F]theFilename=xxxxx[/text] [formvariables] [showif [url][name][/url]^[url]"ShowStep"[/url]] [text]ShowStep=[value][/text] [/showif] [!]...plus more stuff to grab the value for 'thefile'[/!] [/formvariables] [showif [URL][ShowStep][/URL]=4] [!]...plus more stuff to write the uploaded file to disk - all working fine.[/!] [!]But now to error check what was uploaded - where the problem is.[/!] [FileInfo file=[MyPhotoDir]/[theFilename]] [text show=F]UpldFileStatus=unknown[/text] [text show=F]ErrorMessg=[/text]  [showif [URL][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],NeverFires[/text] [text show=F]ErrorMessg=[ErrorMessg] -blah?, why not?
[/text] [/showif] [showif [URL][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],Is it[/text] [text show=F]ErrorMessg=[ErrorMessg] -blahA[/text] [/showif] [showif [URL][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],a WebDNA 6.0/MacOSX.2.8[/text] [text show=F]ErrorMessg=[ErrorMessg] -blahB[/text] [/showif] [showif [URL][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],bug?[/text] [text show=F]ErrorMessg=[ErrorMessg] -blah-C[/text] [/showif] UpldFileStatus=[UpldFileStatus]
Error=[ErrorMessg] [/FileInfo] [/showif] ----------------- /test.tpl ---------------- -John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: 1st Comparison inside [fileinfo] broken. = bug? ( 2004)
  2. Re: 1st Comparison inside [fileinfo] broken. = bug? ( Brian Fries 2004)
  3. 1st Comparison inside [fileinfo] broken. = bug? ( 2004)
[!]=== Someone PLEASE try this, I think it is a WebDNA bug! ==== "test.tpl" is reached by this form: Before trying it - change the values of 'MyPhotoDir' & 'theFilename' on the top lines of code from "xxxxx" to values which points to a real file on your server which is not a .gif or .jpg, or is one of those but named with the other extension. ===[/!] ----------------- test.tpl ---------------- [text show=F]MyPhotoDir=xxxxx[/text] [text show=F]theFilename=xxxxx[/text] [formvariables] [showif [url][name][/url]^[url]"ShowStep"[/url]] [text]ShowStep=[value][/text] [/showif] [!]...plus more stuff to grab the value for 'thefile'[/!] [/formvariables] [showif [url][ShowStep][/URL]=4] [!]...plus more stuff to write the uploaded file to disk - all working fine.[/!] [!]But now to error check what was uploaded - where the problem is.[/!] [FileInfo file=[MyPhotoDir]/[theFilename]] [text show=F]UpldFileStatus=unknown[/text] [text show=F]ErrorMessg=[/text]  [showif [url][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],NeverFires[/text] [text show=F]ErrorMessg=[ErrorMessg] -blah?, why not?
[/text] [/showif] [showif [url][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],Is it[/text] [text show=F]ErrorMessg=[ErrorMessg] -blahA[/text] [/showif] [showif [url][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],a WebDNA 6.0/MacOSX.2.8[/text] [text show=F]ErrorMessg=[ErrorMessg] -blahB[/text] [/showif] [showif [url][ImageHeight][/URL]=] [text show=F]UpldFileStatus=[UpldFileStatus],bug?[/text] [text show=F]ErrorMessg=[ErrorMessg] -blah-C[/text] [/showif] UpldFileStatus=[UpldFileStatus]
Error=[ErrorMessg] [/FileInfo] [/showif] ----------------- /test.tpl ---------------- -John ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/

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:

Exclamation point (1997) authenticate and password (1998) Robots fill event log (1997) osx or redhat and / or other (2005) BBEdit and WebCatalog 2.0? (1997) Setting shipCost -- thanks! (1999) Nested tags count question (1997) Is the Finder required? (1998) WebDNA problems with Itools 7.3 Upgrade (2004) Hey .. so when are you guys (2004) Editor (2000) filemaker - orderfile (1997) details (2003) best way to test for the existence of a parameter in a url (2003) latest version? (1998) PCS Frames (1997) verify online (1997) sendmail logs (1999) Extended [Convertchars] needed (1997) WebCat2 beta 11 - new prefs ... (1997)