• Javasript error json-db.js

    From Sneaky@VERT/CHOICE to All on Monday, April 09, 2018 09:36:06
    Hi All

    I have this error in services in sbbs control panel and just started
    today and unsure how it happen or how to fix it

    it just loops or when finishes just does it again and again
    what do I have to do to fix this thank you

    Error :

    4/9 08:43:00a 0000 JSON server initialized (v1.34)
    4/9 08:43:00a 0000 JSON database initialized (v1.40): D:\bbs\sbbs\data\chat.json
    4/9 08:43:00a 0000 JSON chat initialized
    4/9 08:43:00a 0000 JSON admin initialized
    4/9 08:43:00a 0000 JSON database initialized (v1.40): ../xtrn/bublbogl/boggle.json
    4/9 08:43:00a 0000 JSON loaded module: boggle
    4/9 08:43:00a 0000 JSON database initialized (v1.40): ../xtrn/chickendelivery/chickendelivery2.json
    4/9 08:43:00a 0000 JSON loaded module: chickendelivery2
    4/9 08:43:00a 0000 JSON database initialized (v1.40): ../xtrn/dicewarz/dicewarz.json
    4/9 08:43:00a 0000 JSON loaded module: dicewarz
    4/9 08:43:00a 0000 JSON database initialized (v1.40): ../xtrn/druglord/druglord.json
    4/9 08:43:00a 0000 JSON loaded module: druglord
    4/9 08:43:00a 0000 JSON database initialized (v1.40): ../xtrn/fatfish/fatfish.json
    4/9 08:43:00a 0000 JSON loaded module: fatfish
    4/9 08:43:00a 0000 JSON database initialized (v1.40): ../xtrn/lemons/lemons.json
    4/9 08:43:01a 0000 JSON !JavaScript D:\bbs\sbbs\exec\load\json-db.js line 680: SyntaxError: JSON.parse

    Thank you
    Ian S 1st Choice Core Sbbs Nz

    ---
    þ Synchronet þ 1st Choice Core - 1stchoicecore.co.nz
  • From echicken@VERT/ECBBS to Sneaky on Sunday, April 08, 2018 19:11:00
    Re: Javasript error json-db.js
    By: Sneaky to All on Mon Apr 09 2018 09:36:06

    ../xtrn/lemons/lemons.json
    4/9 08:43:01a 0000 JSON !JavaScript D:\bbs\sbbs\exec\load\json-db.js line 680: SyntaxError: JSON.parse

    It's failing to load the database from disk / the database file has gotten corrupted.

    You can delete or move 'xtrn/lemons/lemons.json' to start fresh.

    You could also just connect to my database instead of hosting your own; instructions are in that game's readme file.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From Ian Segers@VERT to echicken on Tuesday, April 10, 2018 09:42:00
    Hi echicken


    ../xtrn/lemons/lemons.json
    4/9 08:43:01a 0000 JSON !JavaScript D:\bbs\sbbs\exec\load\json-db.js line 680: SyntaxError: JSON.parse

    It's failing to load the database from disk / the database file has
    gotten corrupted.

    You can delete or move 'xtrn/lemons/lemons.json' to start fresh.

    yes you were right same thing was corrupted, I had a copy
    of xtrn/games on an other computer and it was the latest copy. copied
    all xtrn/game to the bbs computer, and thing are back to normal.


    You could also just connect to my database instead of hosting your own; instructions are in that game's readme file.

    Okay, I will have a look at instructions are in that game's readme file
    and see if I can work it out to connect to your database same time.

    Thank you
    Ian S 1st Choice Core Sbbs Nz






    ___ MultiMail/Win32 v0.49

    --- Mystic BBS/QWK v1.12 A39 2018/04/08 (Windows/32)
    * Origin: 2nd Choice Core|New Zealand (3:770/340)
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net