Re: format_to_days on NT

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 13017
interpreted = N
texte = Olin:Thanks for the snippet: that narrowed down the problem. On NT (the Mac version is OK), the day of the week specifier (%A) can cause a crash if the date is outside a certain range (roughtly limited to this century). We are releasing a 2.0.1 update in the next few weeks and it should be fixed in that version. Until then, removing the %A, or doing some validity checking in the WebDNA, will prevent that problem from occuring. Thanks for pointing this out.John.>>Olin: >> >>Do you have a sample that does this? You can to me personally. I'd like >>to make sure it's fixed if there is a problem. I just did a quick test >>with the following: >> >>[format days_to_date]563625[/format]
>>[format days_to_date]10[/format]
>>[format days_to_date]-236[/format]
>>[format days_to_date]12/8/65[/format]
>>[format days_to_date]text[/format]
>> >>and they worked as expected. Thanks. >> >>John. > >Greetings John: > >Here is the call: > >
  • Date of Last Update:  [FORMAT DAYS_TO_DATE %A, %B %d, >%Y][MATH]{[homeUpdate]}[/MATH][/FORMAT] > >When [homeUpdate] is not a date, WebCat doesn't run. What is different >is that I can't stop and restart the service for it to work again (and >Dr. Watson doesn't give me my error message). I have to reboot the box. >I'm running NT4.0 and IIS3.0. > >Thanks, > >Olin > >..................................................................... >W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON > director, website creation >Honolulu San Francisco > 2800 woodlawn drive 222 sutter street olin@worldpoint.com > suite 170 sixth floor www.worldpoint.com > honolulu, hi 96822 san francisco, ca 94108 > > voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 >..................................................................... John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

        
    1. Re: format_to_days on NT (John Hill 1997)
    2. Re: format_to_days on NT (Olin 1997)
    3. Re: format_to_days on NT (John Hill 1997)
    4. watch out for format_to_days on NT (Olin 1997)
    Olin:Thanks for the snippet: that narrowed down the problem. On NT (the Mac version is OK), the day of the week specifier (%A) can cause a crash if the date is outside a certain range (roughtly limited to this century). We are releasing a 2.0.1 update in the next few weeks and it should be fixed in that version. Until then, removing the %A, or doing some validity checking in the WebDNA, will prevent that problem from occuring. Thanks for pointing this out.John.>>Olin: >> >>Do you have a sample that does this? You can to me personally. I'd like >>to make sure it's fixed if there is a problem. I just did a quick test >>with the following: >> >>[format days_to_date]563625[/format]
    >>[format days_to_date]10[/format]
    >>[format days_to_date]-236[/format]
    >>[format days_to_date]12/8/65[/format]
    >>[format days_to_date]text[/format]
    >> >>and they worked as expected. Thanks. >> >>John. > >Greetings John: > >Here is the call: > >
  • Date of Last Update:  [FORMAT DAYS_TO_DATE %A, %B %d, >%Y][math]{[homeUpdate]}[/MATH][/FORMAT] > >When [homeUpdate] is not a date, WebCat doesn't run. What is different >is that I can't stop and restart the service for it to work again (and >Dr. Watson doesn't give me my error message). I have to reboot the box. >I'm running NT4.0 and IIS3.0. > >Thanks, > >Olin > >..................................................................... >W O R L D P O I N T I N T E R A C T I V E OLIN KEALOHA LAGON > director, website creation >Honolulu San Francisco > 2800 woodlawn drive 222 sutter street olin@worldpoint.com > suite 170 sixth floor www.worldpoint.com > honolulu, hi 96822 san francisco, ca 94108 > > voice.808.539.3978 fax.808.539.3943 cell.808.291.1610 >..................................................................... John A. Hill Pacific Coast Software 11770 Bernardo Plaza Ct. #453 * Web tools for Macintosh and WinNT * San Diego, CA 92128 http://www.smithmicro.com John Hill

    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:

    WC2.0 Memory Requirements (1997) Spawn doesn't work as advertised ... (2000) Problem with pull down menu (1998) Dismissing dialogs (was 2.1b3 --> way slow) (1997) [WebDNA] ErrorLog.txt generated by WebDNA (2010) emailer (1997) THANKS!!! ShipCosts.db and debugging (1997) Post (1997) WebCatalog f2 Installation (1997) There's a bug in the math context ... (1997) Bit off subject -- Faxing orders (1997) Getting the domain of every request ... (2003) WebCatalog for guestbook ? (1997) [math] show=F exists? (1997) Conditional searching & displaying (1997) charge.com (2005) [WebDNA] Error 500 with SUMM=T (2017) Retrieve deleted files (2001) Decimal point in search.... (2004) [WriteFile] problems (1997)