• message_create_error.htm missing

    From ROLF KNOBEL@1:124/5013 to All on Thu Jan 31 19:17:14 2019
    Date: Fri, 16 Mar 2007 16:05:47 -0400
    From: ROLF KNOBEL
    To: HECTOR SANTOS
    Subject: message_create_error.htm missing
    Newsgroups: winserver.public.gamma.testing
    Message-ID: <1174079147.40.0@winserver.com>
    X-WcMsg-Attr: Rcvd
    X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
    Lines: 10

    Hi Hector

    I'm adjusting my customized templates to your new ones. It's very cool now
    to have a "custom" directory. Now I found the message_create_error.htm
    isn't used anymore, it displays a generic error page. I looked at the html- create message code and see a reference to this template. But why it isn't displayed?

    Thanks
    Rolf
    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)
  • From hector.santos@winserver.com@1:124/5013 to All on Thu Jan 31 19:17:14 2019
    Date: Fri, 16 Mar 2007 16:24:11 -0400
    From: "HECTOR SANTOS" <hector.santos@winserver.com>
    To: ROLF KNOBEL
    Subject: RE: message_create_error.htm missing
    Newsgroups: winserver.public.gamma.testing
    Message-ID: <1174080251.40.1174079147@winserver.com>
    References: <1174079147.40.0@winserver.com>
    X-WcMsg-Attr: Rcvd
    X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
    Lines: 44

    Not sure Rolf, the code does refer to "wc:\http\template\message_create_error.htm" rigth?

    const TplMessageError = "wc:\http\template\message_create_error.htm"

    Anything that goes via WC:\ to the template folder will be checked first in
    the CUSTOM folder. So I guess make sure your custom version is spelled right?

    Maybe you can compile HTML-CREATE MESSAGE to force an ERROR condition to
    see if it works. like here where it gets the Posting Conference TCONFDESC:

    if not GetConfDesc(postconfnum, Conference) then
    // 451.3
    ErrorNumber = GetLastError()
    ErrorMsg = "Accessing Conference #"+Str(postconfnum)
    if not DoErrorTemplate(ErrorNumber,ErrorMsg,params) then
    PrintWebError(ErrorNumber,ErrorMsg)
    end if
    end
    end if

    Remove the NOT so that it forces the ERROR, this is just for testing it. Delete the WCX when you are done.

    --
    HLS





    On 2007-03-16 4:05 PM, ROLF KNOBEL wrote to HECTOR SANTOS:

    Hi Hector

    I'm adjusting my customized templates to your new ones. It's very cool now to have a "custom" directory. Now I found the message_create_error.htm
    isn't used anymore, it displays a generic error page. I looked at the html- create message code and see a reference to this template. But why it isn't displayed?

    Thanks
    Rolf

    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)
  • From HECTOR SANTOS@1:124/5013 to All on Thu Jan 31 19:17:14 2019
    Date: Fri, 16 Mar 2007 16:41:00 -0400
    From: HECTOR SANTOS
    To: ROLF KNOBEL
    Subject: RE: message_create_error.htm missing
    Newsgroups: winserver.public.gamma.testing
    Message-ID: <1174081260.40.1174080251@winserver.com>
    References: <1174080251.40.1174079147@winserver.com>
    X-WcMsg-Attr: Rcvd
    X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
    Lines: 70

    Rolf, I just create a:

    custom\message_create_error.htm

    file with the following:

    <html>
    <body>
    <h3> It worked! </h3>
    </body>
    </html>

    I then changed HTML-CREATE MESSAGE.WCC to force the error like I explained below and I got the above information "It Worked" when I tried to post a
    new message via the web.

    So just make sure its spelled right. Hmmmmm, maybe there is another
    POSTING ERROR type that is not using this template?

    ---
    HLS

    On 2007-03-16 4:24 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Not sure Rolf, the code does refer to "wc:\http\template\message_create_error.htm" rigth?

    const TplMessageError = "wc:\http\template\message_create_error.htm"

    Anything that goes via WC:\ to the template folder will be checked first in the CUSTOM folder. So I guess make sure your custom version is spelled
    right?

    Maybe you can compile HTML-CREATE MESSAGE to force an ERROR condition to
    see if it works. like here where it gets the Posting Conference TCONFDESC:

    if not GetConfDesc(postconfnum, Conference) then
    // 451.3
    ErrorNumber = GetLastError()
    ErrorMsg = "Accessing Conference #"+Str(postconfnum)
    if not DoErrorTemplate(ErrorNumber,ErrorMsg,params) then
    PrintWebError(ErrorNumber,ErrorMsg)
    end if
    end
    end if

    Remove the NOT so that it forces the ERROR, this is just for testing it. Delete the WCX when you are done.

    --
    HLS
  • From HECTOR SANTOS@1:124/5013 to All on Thu Jan 31 19:17:14 2019
    Date: Fri, 16 Mar 2007 16:57:22 -0400
    From: HECTOR SANTOS
    To: ROLF KNOBEL
    Subject: RE: message_create_error.htm missing
    Newsgroups: winserver.public.gamma.testing
    Message-ID: <1174082242.40.1174081260@winserver.com>
    References: <1174081260.40.1174080251@winserver.com>
    X-WcMsg-Attr: Rcvd
    X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
    Lines: 90

    Rolf, the only thing I can see that could relate to your question is that
    the error template is NOT used for ALL error conditions. Was there a particular posting error or warning that was shown that wasn't using the template?

    From looking at HTML-CREATE MESSAGE.WCC, I can see there are a few critical errors where it just shows a generic display, no error template is used.

    Is that it?

    --
    HLS


    On 2007-03-16 4:41 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Rolf, I just create a:

    custom\message_create_error.htm

    file with the following:

    <html>
    <body>
    <h3> It worked! </h3>
    </body>
    </html>

    I then changed HTML-CREATE MESSAGE.WCC to force the error like I explained below and I got the above information "It Worked" when I tried to post a
    new message via the web.

    So just make sure its spelled right. Hmmmmm, maybe there is another
    POSTING ERROR type that is not using this template?

    ---
    HLS

    On 2007-03-16 4:24 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Not sure Rolf, the code does refer to "wc:\http\template\message_create_error.htm" rigth?

    const TplMessageError = "wc:\http\template\message_create_error.htm"

    Anything that goes via WC:\ to the template folder will be checked first
    in
    the CUSTOM folder. So I guess make sure your custom version is spelled
    right?

    Maybe you can compile HTML-CREATE MESSAGE to force an ERROR condition to see if it works. like here where it gets the Posting Conference TCONFDESC:

    if not GetConfDesc(postconfnum, Conference) then
    // 451.3
    ErrorNumber = GetLastError()
    ErrorMsg = "Accessing Conference #"+Str(postconfnum)
    if not DoErrorTemplate(ErrorNumber,ErrorMsg,params) then
    PrintWebError(ErrorNumber,ErrorMsg)
    end if
    end
    end if

    Remove the NOT so that it forces the ERROR, this is just for testing it. Delete the WCX when you are done.

    --
    HLS





    On 2007-03-16 4:05 PM, ROLF KNOBEL wrote to HECTOR SANTOS:

    Hi Hector

    I'm adjusting my customized templates to your new ones. It's very
    cool now
    to have a "custom" directory. Now I found the message_create_error.htm isn't used anymore, it displays a generic error page. I looked at the
    html-
    create message code and see a reference to this template. But why it
    isn't
    displayed?

    Thanks
    Rolf



    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)
  • From ROLF KNOBEL@1:124/5013 to All on Thu Jan 31 19:17:14 2019
    Date: Fri, 16 Mar 2007 16:58:28 -0400
    From: ROLF KNOBEL
    To: HECTOR SANTOS
    Subject: RE: message_create_error.htm missing
    Newsgroups: winserver.public.gamma.testing
    Message-ID: <1174082308.40.1174080251@winserver.com>
    References: <1174080251.40.1174079147@winserver.com>
    X-WcMsg-Attr: Rcvd
    X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
    Lines: 88

    Confusing is that you don't distribute this file with your templates.

    First: with removing NOT as you wrote it displays the error template as it should.

    What I did: Create a message (conference 0) and type a bad name on
    the "to" field. The template isn't used for the error display.

    What I found: there's a missing error template handling in html-create message:

    if CarbonInvalidCount() > 0 then
    print "<p><font color='red'><b>";
    print "Error: ";CarbonInvalidCount();" invalid receipients name(s): ";
    print "</b></font></p>"
    print
    dim bad as TInvalidUserInfo
    if CarbonInvalidFirst(bad) then
    do
    print "TO: <b>""";bad.info.name;"""</b><font color=red>
    reason: ";bad.describe;"</font><br>"
    if not CarbonInvalidNext(bad) then
    exit do
    end if
    loop
    end if
    print "<p>Backup to previous page and correct the indicated input
    field.</p>"
    end
    end if

    This is exactly the error message displayed after typing a bad receipient.

    Thanks
    Rolf

    On 2007-03-16 4:24 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Not sure Rolf, the code does refer to "wc:\http\template\message_create_error.htm" rigth?

    const TplMessageError = "wc:\http\template\message_create_error.htm"

    Anything that goes via WC:\ to the template folder will be checked first in the CUSTOM folder. So I guess make sure your custom version is spelled
    right?

    Maybe you can compile HTML-CREATE MESSAGE to force an ERROR
    condition to
    see if it works. like here where it gets the Posting Conference TCONFDESC:

    if not GetConfDesc(postconfnum, Conference) then
    // 451.3
    ErrorNumber = GetLastError()
    ErrorMsg = "Accessing Conference #"+Str(postconfnum)
    if not DoErrorTemplate(ErrorNumber,ErrorMsg,params) then
    PrintWebError(ErrorNumber,ErrorMsg)
    end if
    end
    end if

    Remove the NOT so that it forces the ERROR, this is just for testing it. Delete the WCX when you are done.

    --
    HLS





    On 2007-03-16 4:05 PM, ROLF KNOBEL wrote to HECTOR SANTOS:

    Hi Hector

    I'm adjusting my customized templates to your new ones. It's very cool
    now
    to have a "custom" directory. Now I found the
    message_create_error.htm
    isn't used anymore, it displays a generic error page. I looked at the
    html-
    create message code and see a reference to this template. But why it
    isn't
    displayed?

    Thanks
    Rolf


    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)
  • From ROLF KNOBEL@1:124/5013 to All on Thu Jan 31 19:17:14 2019
    Date: Fri, 16 Mar 2007 17:00:30 -0400
    From: ROLF KNOBEL
    To: HECTOR SANTOS
    Subject: RE: message_create_error.htm missing
    Newsgroups: winserver.public.gamma.testing
    Message-ID: <1174082430.40.1174082242@winserver.com>
    References: <1174082242.40.1174081260@winserver.com>
    X-WcMsg-Attr: Rcvd
    X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
    Lines: 104

    Yes, see my other reply ;)

    On 2007-03-16 4:57 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Rolf, the only thing I can see that could relate to your question is that the error template is NOT used for ALL error conditions. Was there a particular posting error or warning that was shown that wasn't using the template?

    From looking at HTML-CREATE MESSAGE.WCC, I can see there are a few
    critical
    errors where it just shows a generic display, no error template is used.

    Is that it?

    --
    HLS


    On 2007-03-16 4:41 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Rolf, I just create a:

    custom\message_create_error.htm

    file with the following:

    <html>
    <body>
    <h3> It worked! </h3>
    </body>
    </html>

    I then changed HTML-CREATE MESSAGE.WCC to force the error like I
    explained
    below and I got the above information "It Worked" when I tried to post a new message via the web.

    So just make sure its spelled right. Hmmmmm, maybe there is another POSTING ERROR type that is not using this template?

    ---
    HLS

    On 2007-03-16 4:24 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Not sure Rolf, the code does refer to "wc:\http\template\message_create_error.htm" rigth?

    const TplMessageError
    = "wc:\http\template\message_create_error.htm"

    Anything that goes via WC:\ to the template folder will be checked
    first in
    the CUSTOM folder. So I guess make sure your custom version is
    spelled
    right?

    Maybe you can compile HTML-CREATE MESSAGE to force an ERROR
    condition to
    see if it works. like here where it gets the Posting Conference
    TCONFDESC:

    if not GetConfDesc(postconfnum, Conference) then
    // 451.3
    ErrorNumber = GetLastError()
    ErrorMsg = "Accessing Conference #"+Str(postconfnum)
    if not DoErrorTemplate(ErrorNumber,ErrorMsg,params) then
    PrintWebError(ErrorNumber,ErrorMsg)
    end if
    end
    end if

    Remove the NOT so that it forces the ERROR, this is just for testing
    it.

    Delete the WCX when you are done.

    --
    HLS





    On 2007-03-16 4:05 PM, ROLF KNOBEL wrote to HECTOR SANTOS:

    Hi Hector

    I'm adjusting my customized templates to your new ones. It's very
    cool now
    to have a "custom" directory. Now I found the
    message_create_error.htm
    isn't used anymore, it displays a generic error page. I looked at the
    html-
    create message code and see a reference to this template. But why
    it
    isn't
    displayed?

    Thanks
    Rolf




    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)
  • From HECTOR SANTOS@1:124/5013 to All on Thu Jan 31 19:17:14 2019
    Date: Fri, 16 Mar 2007 17:01:58 -0400
    From: HECTOR SANTOS
    To: ROLF KNOBEL
    Subject: RE: message_create_error.htm missing
    Newsgroups: winserver.public.gamma.testing
    Message-ID: <1174082518.40.1174082308@winserver.com>
    References: <1174082308.40.1174080251@winserver.com>
    X-WcMsg-Attr: Rcvd
    X-Mailer: Wildcat! Interactive Net Server v7.0.454.5
    Lines: 105

    On 2007-03-16 4:58 PM, ROLF KNOBEL wrote to HECTOR SANTOS:

    Confusing is that you don't distribute this file with your templates.

    Yes I see that and I have to see why we never distributed one. There are
    alot like this, optional templates. :-)

    Ok, I'll take a look at the rest of your comment later. I see your point
    there. There are are some "high potential" warnings/errors that probably should be part of an template for customization.

    Thanks

    --
    HLS

    First: with removing NOT as you wrote it displays the error template as it should.

    What I did: Create a message (conference 0) and type a bad name on
    the "to" field. The template isn't used for the error display.

    What I found: there's a missing error template handling in html-create message:

    if CarbonInvalidCount() > 0 then
    print "<p><font color='red'><b>";
    print "Error: ";CarbonInvalidCount();" invalid receipients name(s): ";
    print "</b></font></p>"
    print
    dim bad as TInvalidUserInfo
    if CarbonInvalidFirst(bad) then
    do
    print "TO: <b>""";bad.info.name;"""</b><font color=red>
    reason: ";bad.describe;"</font><br>"
    if not CarbonInvalidNext(bad) then
    exit do
    end if
    loop
    end if
    print "<p>Backup to previous page and correct the indicated input field.</p>"
    end
    end if

    This is exactly the error message displayed after typing a bad receipient.

    Thanks
    Rolf

    On 2007-03-16 4:24 PM, HECTOR SANTOS wrote to ROLF KNOBEL:

    Not sure Rolf, the code does refer to "wc:\http\template\message_create_error.htm" rigth?

    const TplMessageError = "wc:\http\template\message_create_error.htm"

    Anything that goes via WC:\ to the template folder will be checked
    first in
    the CUSTOM folder. So I guess make sure your custom version is spelled
    right?

    Maybe you can compile HTML-CREATE MESSAGE to force an ERROR
    condition to
    see if it works. like here where it gets the Posting Conference
    TCONFDESC:

    if not GetConfDesc(postconfnum, Conference) then
    // 451.3
    ErrorNumber = GetLastError()
    ErrorMsg = "Accessing Conference #"+Str(postconfnum)
    if not DoErrorTemplate(ErrorNumber,ErrorMsg,params) then
    PrintWebError(ErrorNumber,ErrorMsg)
    end if
    end
    end if

    Remove the NOT so that it forces the ERROR, this is just for testing it. Delete the WCX when you are done.

    --
    HLS





    On 2007-03-16 4:05 PM, ROLF KNOBEL wrote to HECTOR SANTOS:

    Hi Hector

    I'm adjusting my customized templates to your new ones. It's very cool
    now
    to have a "custom" directory. Now I found the
    message_create_error.htm
    isn't used anymore, it displays a generic error page. I looked at
    the html-
    create message code and see a reference to this template. But why it
    isn't
    displayed?

    Thanks
    Rolf



    --- Platinum Xpress/Win/WINServer v3.1
    * Origin: Prison Board BBS Mesquite Tx //telnet.RDFIG.NET www. (1:124/5013)