!ERROR 2 opening D:\BBS\SBBS\webv4\root\undefinedmodal.xjs
It seems settings.web_components is undefined - which seems odd,
because settings.web_components looks like it's being set in
lib\init.js.
Ah, this reminds me of some annoying problems I had a while ago.
I'll try to look into it soon.
Probably not worth starting from scratch, but if you want to back
up and then try it, let me know if it helps. Can you confirm that
you have the "components" directory in place already?
Yes, I have the "components" directory in sbbs\webv4.
!ERROR 2 opening D:\BBS\SBBS\webv4\root\undefinedmodal.xjs
It seems settings.web_components is undefined - which seems odd,
because settings.web_components looks like it's being set in
lib\init.js.
Ah, this reminds me of some annoying problems I had a while ago.
I'll try to look into it soon.
Probably not worth starting from scratch, but if you want to back
up and then try it, let me know if it helps. Can you confirm that
you have the "components" directory in place already?
Yes, I have the "components" directory in sbbs\webv4.
I just ran the webv4-installer.js script again to make sure I had the latest updates,
and I'm still getting this error. I'm not sure what might be wrong - Do you have any
suggestions?
I just ran the webv4-installer.js script again to make sure I had
the latest updates, and I'm still getting this error. I'm not sure
what might be wrong - Do you have any suggestions?
No, I haven't looked into this yet. I'll see if I can figure it out in the next couple of days.
I'm not in a hurry. I was just curious. In the meantime, I have a backup of my BBS that
I think still has a working version of my ecwebv4 setup.
Re: 'settings.web_components' being undefined in index.xjs, I took a quick peek today and can't see an obvious cause.
I also don't have this problem here and in theory I've got the same scripts as you, though probably a different build of sbbs.
You could check that [web] -> web_directory in modopts.ini points to the correct place. If an older version of webv4 is kicking around in another spot, the wrong version of web/lib/init.js may be in use. If that ends up being the problem, then it's something the install/update script should be adjusted to address.
My web_directory is set to ../web . Also, my web_root is set to ../web/root . Recently
Windows version of Synchronet), and I noticed the HTML root had been set to
sbbs\webv4\root . In the past, my web root had always been sbbs\web\root - so something
(the webv4 install/update script?) must have changed my HTML root to sbbs\webv4\root.
My web_directory is set to ../web . Also, my web_root is set to
../web/root . Recently
Windows version of Synchronet), and I noticed the HTML root had been
set to sbbs\webv4\root . In the past, my web root had always been
sbbs\web\root - so something
(the webv4 install/update script?) must have changed my HTML root to sbbs
That's right, but evidently the installer isn't updating web_directory if it already exists. I should fix that, but for now please change it so that it points to the webv4 directory.
Ah, I think I see now, perhaps the problem was my web_directory should have been ../web/webv4
and web_root should be ../web/webv4/root?
You shouldn't really need web_root in modopts.ini, but if you do have it, it should point to ../webv4/root.
I need to tidy up some stuff surrounding web_root. IIRC the goal was to allow people to put it outside of the webv4 directory structure if necessary, if they wanted to serve webv4 from a subdirectory of their document root alongside the old web UI or whatever. Things are slightly broken in that regard right now but should be easy to fix. That's mostly a note to myself.
have a mental block sometimes about wanting to work on front-end web stuff).
your webv4 interface). I seem to recall discussing something about that with you years
ago, though I don't remember offhand what issue I was having. Recently I decided to
have a mental block sometimes about wanting to work on front-end web
stuff).
I generally dislike working on front-end web stuff. I may eventually tackle learning a modern front-end framework and start a webv5 project, but I'll really have to be in the mood for it.
Sysop: | Chris Crash |
---|---|
Location: | Huntington Beach, CA. |
Users: | 557 |
Nodes: | 8 (0 / 8) |
Uptime: | 54:15:29 |
Calls: | 10,403 |
Files: | 5 |
Messages: | 364,642 |