• Message base echo

    From Jon Justvig@1:103/705 to Digital Man on Thu Mar 2 18:36:46 2017
    DM,

    Any particular reason why I am receiving this error on the web side of one of my SBBS message base echoes:

    !JavaScript c:\sbbs\mods\../web/lib/msgslib.ssjs line 147: TypeError: hdr is null

    It only appears on one echo. Is there a way to fix this without
    reconstructing the whole sub-board?

    ---

    Sincerely,
    Jon Justvig (1:298/25)
    Stepping Stone BBS
    Legion RPG HQ
    http://vintagebbsing.com:81
    telnet://vintagebbsing.com
    ssh://vintagebbsing.com
    trillian: cr1mson
    ---
    * Synchronet * Stepping Stone BBS -- telnet://vintagebbsing.com:23
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From echicken@1:103/705 to Jon Justvig on Thu Mar 2 21:35:16 2017
    Re: Message base echo
    By: Jon Justvig to Digital Man on Thu Mar 02 2017 18:36:47

    Any particular reason why I am receiving this error on the web side of one of my SBBS message base echoes:

    !JavaScript c:\sbbs\mods\../web/lib/msgslib.ssjs line 147: TypeError: hdr is null

    The clean_msg_headers function from that file is being called from somewhere else, and is trying to operate on a null message header. Could be a message that was deleted and purged from the sub.

    It only appears on one echo. Is there a way to fix this without reconstructing the whole sub-board?

    Try updating web/lib/msgslib.ssjs to the latest from CVS. I just put in a change which may work around this for you. Unfortunately there are probably loads of other problems like this in there.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    * Synchronet * electronic chicken bbs - bbs.electronicchicken.com
    * Origin: Vertrauen - vert.synchro.net (1:103/705)
  • From Jon Justvig@1:103/705 to echicken on Fri Mar 3 07:17:04 2017
    echicken,

    !JavaScript c:\sbbs\mods\../web/lib/msgslib.ssjs line 147:
    TypeError:
    hdr is null

    The clean_msg_headers function from that file is being called from
    somewhere
    else, and is trying to operate on a null message header. Could be a
    message
    that was deleted and purged from the sub.

    Not sure where that might be.

    It only appears on one echo. Is there a way to fix this without reconstructing the whole sub-board?

    Try updating web/lib/msgslib.ssjs to the latest from CVS. I just put in
    a
    change which may work around this for you. Unfortunately there are
    probably
    loads of other problems like this in there.

    Thanks for the file. I put it in there and the messages are appearing now.
    I haven't run into a problem (yet).

    ---

    Sincerely,
    Jon Justvig (1:298/25)
    Stepping Stone BBS
    Legion RPG HQ
    http://vintagebbsing.com:81
    telnet://vintagebbsing.com
    ssh://vintagebbsing.com
    trillian: cr1mson
    ---
    * Synchronet * Stepping Stone BBS -- telnet://vintagebbsing.com:23
    * Origin: Vertrauen - vert.synchro.net (1:103/705)