• error on upgrade

    From TinTino@WESTLINE to Digital Man on Thursday, September 05, 2019 14:16:30
    Hi,
    Just update my bbs to latest cvs, and I get an error now.

    !JavaScript S:\sbbs\exec\default.js line 207: SyntaxError: invalid quantifier


    if (user.number != 2) {
    load("logon2.js");
    }

    It has worked berore, it is any change now??

    /Fidde

    ---
    ■ Synchronet ■ Pepzi - Pepzi.se - 1000/1000 MBits
  • From Digital Man to TinTino on Thursday, September 05, 2019 13:32:59
    Re: error on upgrade
    By: TinTino to Digital Man on Thu Sep 05 2019 02:16 pm

    Hi,
    Just update my bbs to latest cvs, and I get an error now.

    !JavaScript S:\sbbs\exec\default.js line 207: SyntaxError: invalid quantifier


    if (user.number != 2) {
    load("logon2.js");
    }

    It has worked berore, it is any change now??

    Are you sure that's the right line number? Apparently "invalid quantifier" is a regular expression error and there's no regexp in that code snippet.

    Can you narrow down exactly what line is triggering the error?

    digital man

    Synchronet "Real Fact" #89:
    Rob played drums on the album "Weedpuller" available for digital purchase/stream
    Norco, CA WX: 94.5°F, 37.0% humidity, 10 mph NE wind, 0.00 inches rain/24hrs