Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to Synchronet Multinode BBS Softwar...  <--  <--- Return to Home Page
   Networked Database  Synchronet Multinode BBS Softwar...   [625 / 900] RSS
 From   To   Subject   Date/Time 
Message   Nightfox    Digital Man   smbdefs.js redeclaration of SMB_SUCCESS   May 3, 2019
 7:12 PM *  

Hi DM,

I just updated my Synchronet binaries to the latest, and updated my JS scripts
to the latest from CVS, and now when I try to read or list messages with my
message reader (written in JS), I see the following error:

!JavaScript  D:\BBS\sbbs\exec\load\smbdefs.js line 5: TypeError: redeclaration
of const SMB_SUCCESS

I've looked at smbdefs.js and it looks like it's only declared in there once,
so I'm a little confused on why it's reporting that error.

I tried editing my copy of smbdefs.js and replaced the 'const' with 'var' where
SMB_SUCCESS is declared, and that fixed the above error, but then it reported
the same redeclaration error with the next one, SMB_DUPE_MSG.  I've replaced
all 'const' with 'var' in smbdefs.js and am not getting any of those
redeclaration errors now.  I'm not sure if that's the right fix though..

Nightfox

---
 ■ Synchronet ■ Digital Distortion: digitaldistortionbbs.com
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to Synchronet Multinode BBS Softwar...  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0837 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.0.140505

Warning: Unknown: open(c:\Sessions\sess_c61f0rhc6oqhbnhft4ngdtgbf1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0 PHP Warning: session_start(): open(c:\Sessions\sess_c61f0rhc6oqhbnhft4ngdtgbf1, O_RDWR) failed: No such file or directory (2) in D:\wc5\http\public\VADV\include\common.inc.php on line 45 PHP Warning: Unknown: open(c:\Sessions\sess_c61f0rhc6oqhbnhft4ngdtgbf1, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (c:\Sessions) in Unknown on line 0