XMLhttpRequest Errors

186 views
Skip to first unread message

Rika Sukenik

unread,
Oct 6, 2020, 7:21:52 PM10/6/20
to TiddlyWiki
hi! i'm getting 3 XMLhttpRequest errors when my page loads. You can see the errors here: www.rikasukenik.com

the errors appeared after I made the below updates to my tiddliwiki.info file. I made the edits because I had an issue yesterday with site non-responsiveness after using --build static. Javascript was not included in the static html file. I got some guidance to add a test command, but now I'm getting these XMLhttpRequest errors. 

I appreciate some eyes on this problem! thank you!

"test": [
             "--rendertiddler",
             "$:/core/save/all",
             "index.html",
             "text/plain",
             "--rendertiddler",
             "$:/core/templates/static.template.css",
             "static/static.css",
             "text/plain"

Jed Carty

unread,
Oct 7, 2020, 6:13:40 AM10/7/20
to TiddlyWiki
The problem here is that the build is including the server plugins, $:/plugins/tiddlywiki/filesystem and $:/plugins/tiddlywiki/tiddlyweb. I am not sure how to get around this, hopefully someone else on here has the answer.

bimlas

unread,
Oct 7, 2020, 6:39:16 AM10/7/20
to TiddlyWiki
Rika,

>  i'm getting 3 XMLhttpRequest errors when my page loads

I just got this error these days when I split the single HTML into separate files. For me, the solution was to delete $:/config/tiddlyweb/host tiddler.

Rika Sukenik

unread,
Oct 7, 2020, 11:48:29 AM10/7/20
to tiddl...@googlegroups.com
Thanks, Bimlas. I checked the Shadows menu for that tiddler, but I don't see it. Where I can find it?

Best,
Rika Sukenik 


--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/Kfk12gPwOsY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/06444064-3a64-4426-ad37-5b345d48c887n%40googlegroups.com.

bimlas

unread,
Oct 7, 2020, 1:28:52 PM10/7/20
to TiddlyWiki
If you can't find it, that's not the cause.

Rika Sukenik

unread,
Oct 7, 2020, 4:50:47 PM10/7/20
to tiddl...@googlegroups.com
Ha, okay. Makes sense. Hopefully someone else can help!

Rika Sukenik

unread,
Oct 8, 2020, 5:54:39 PM10/8/20
to TiddlyWiki
hi! just following up on this. Anyone know what could be the cause of the xmlhttp errors? I am now getting the errors on my domain server (www.rikasukenik.com) when I build the tiddlers in seperate files and when I build the tiddlers in 1 file. 

Looking at the build command, it's using $:/plugins/tiddlywiki/tiddlyweb/save/offline so perhaps there's something going on with that plugin? I thought maybe I'd disable it, but the warning on tiddlywiki for disabling that plugin is ominous (can't re-enable it using the browser). Any ideas on how I can troubleshoot? Thank you!

Rika Sukenik

unread,
Oct 9, 2020, 7:54:04 PM10/9/20
to TiddlyWiki
i'm still struggling with this. can someone please help troubleshoot? i've also attached the errors from my browser console. thank you!
xmlhttp errors.pdf

Saq Imtiaz

unread,
Oct 10, 2020, 2:11:44 AM10/10/20
to TiddlyWiki
Try adding the following command and using it to generate the HTML file:

"build": {
"index": [
"--rendertiddler",
"$:/plugins/tiddlywiki/tiddlyweb/save/offline",
"index.html",
"text/plain"
],
example:

Saq Imtiaz

unread,
Oct 10, 2020, 2:12:50 AM10/10/20
to TiddlyWiki
PS: this assumes you are generating a standalone TiddlyWiki HTML file and not static HTML.

Your site gives a 404 error and therefore I cannot confirm.

Donald Coates

unread,
Oct 10, 2020, 6:31:21 AM10/10/20
to TiddlyWiki


On Thursday, October 8, 2020 at 5:54:39 PM UTC-4, Rika Sukenik wrote:
hi! just following up on this. Anyone know what could be the cause of the xmlhttp errors? I am now getting the errors on my domain server (www.rikasukenik.com)

how are you serving the file?  off github like the 404 suggests?

I had this problem serving from a subdirectory using nginx, it lost track of the story tiddler after a reload.

Rika Sukenik

unread,
Oct 10, 2020, 10:24:54 AM10/10/20
to tiddl...@googlegroups.com
Thanks, I'll try it. What about the css file? Do I need to run another command to generate it?

--
You received this message because you are subscribed to a topic in the Google Groups "TiddlyWiki" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tiddlywiki/Kfk12gPwOsY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tiddlywiki+...@googlegroups.com.

Joshua Fontany

unread,
Oct 10, 2020, 11:03:03 PM10/10/20
to TiddlyWiki
Separate CSS files are only needed if you are building "Standalone HTML" files, basically using TW as a way to build non-TW-enabled "Static" HTML files.

If you are building a "single file TiddlyWiki", then all the CSS you need is already included ("transcluded" *win-wink*) into the page when it is loaded. Each "CSS tiddler" (tiddlers tagged with "$:/tags/Stylehseet") is included in the page-header when it is rendered in the browser.

Best,
Joshua Fontany

Rika Sukenik

unread,
Oct 12, 2020, 8:22:19 PM10/12/20
to TiddlyWiki
Joshua, that worked. Thanks so much!!
Reply all
Reply to author
Forward
0 new messages