I was uploading an image. The error console says: we are insidehttp://127.0.0.1:8080/IMAGE_PATHS/TW-Images/?error=upload logsimple.js:15:3 The character encoding of the HTML document was not declared. The document will render with garbled text in some browser configurations if the document contains characters from outside the US-ASCII range. The character encoding of the page must be declared in the document or in the transfer protocol.
It seems to think it was uploading an HTML file. Another question -- In the settings.json, is there a way to set lazy-loading and other command options? Thanks! -- Mark On Monday, April 2, 2018 at 10:23:40 PM UTC-7, Arlen Beiler wrote: > > Was there an error message in the console output? There should have been > something there. Most of the errors in TiddlyServer are printed to console > rather than returned to the client. > > On Tue, Apr 3, 2018 at 4:00 AM, 'Mark S.' via TiddlyWiki < > tiddl...@googlegroups.com <javascript:>> wrote: > >> Thanks, >> >> I'm using the latest (49.0.2) Firefox ( Linux). >> >> I had to do a draconian clean-out of all recent logins before it would >> work. Apparently this is one of those problems that have been allowed to >> simmer for more than a decade. >> >> I was not able to upload image files. I assume that you browse to the >> file and then "Submit Query" ?? It failed silently with no error message >> other than the end of the browser URL changing to "?error=upload" . >> >> Making a directory and making a directory as a data directory both worked. >> >> Thanks! >> Mark >> >> On Monday, April 2, 2018 at 1:18:58 AM UTC-7, Arlen Beiler wrote: >>> >>> That sounds like a browser problem. Search "clear basic auth credentials >>> in [your browser]". >>> >>> On Mon, Apr 2, 2018 at 12:23 PM, 'Mark S.' via TiddlyWiki < >>> tiddl...@googlegroups.com> wrote: >>> >>>> Thanks! >>>> >>>> Next problem. If you make a mistake entering your name password, you >>>> will get the "Wrong user or password" message. You will get this even if >>>> you stop and start the server. You get it even if you clear out the >>>> cookies. You get it even if you go into the settings file and set a new >>>> user name. There's apparently no forgiveness built in. What do I do to get >>>> it to reset? >>>> >>>> Thanks! >>>> -- Mark >>>> >>>> On Sunday, April 1, 2018 at 7:44:10 PM UTC-7, Arlen Beiler wrote: >>>>> >>>>> Make sure you are running Node version 6 minimum. >>>>> >>>>> On Sun, Apr 1, 2018 at 2:30 AM, 'Mark S.' via TiddlyWiki < >>>>> tiddl...@googlegroups.com> wrote: >>>>> >>>>>> I'm trying this on linux, but getting this error: >>>>>> >>>>>> SyntaxError: Unexpected token = >>>>>> at exports.runInThisContext (vm.js:53:16) >>>>>> at Module._compile (module.js:374:25) >>>>>> at Object.Module._extensions..js (module.js:417:10) >>>>>> at Module.load (module.js:344:32) >>>>>> at Function.Module._load (module.js:301:12) >>>>>> at Module.require (module.js:354:17) >>>>>> at require (internal/module.js:12:17) >>>>>> at Object.<anonymous> (/home/mint/Downloads/TiddlyServer-2.0.12/ >>>>>> src/server.js:6:24) >>>>>> at Module._compile (module.js:410:26) >>>>>> at Object.Module._extensions..js (module.js:417:10) >>>>>> >>>>>> With this settings file: >>>>>> >>>>>> { >>>>>> "tree": { >>>>>> "TW2014": "/media/mint/Acer/D/data/TW2014/", >>>>>> "test": "test/", >>>>>> "relative": "../relative_to_settings_file", >>>>>> "linux": "/home/ubuntu/", >>>>>> "branch": { >>>>>> "twig1": "C:/Some Folder", >>>>>> "twig2": "C:/Some Other Folder" >>>>>> } >>>>>> }, >>>>>> "types":{ >>>>>> "htmlfile": ["htm", "html"] >>>>>> }, >>>>>> "username": "MAS", >>>>>> "password": "", >>>>>> "host": "127.0.0.1", >>>>>> "port": 8080, >>>>>> "backupDirectory": "", >>>>>> "etagWindow": 0, >>>>>> "etag": "", >>>>>> "useTW5path" : false >>>>>> } >>>>>> >>>>>> What am I doing wrong? >>>>>> >>>>>> Thanks! >>>>>> Mark >>>>>> >>>>>> >>>>>> On Wednesday, March 7, 2018 at 6:09:51 AM UTC-8, Arlen Beiler wrote: >>>>>>> >>>>>>> Hello Everyone, >>>>>>> >>>>>>> I'm pleased to announce a new release of TiddlyServer that now >>>>>>> supports file uploads to the directory you are currently browsing. >>>>>>> Scroll >>>>>>> to the bottom of the directory index page and you will see an upload >>>>>>> area. >>>>>>> >>>>>>> Beware that uploading a tiddlywiki.info file to any directory will >>>>>>> immediately make it inaccessible and turn it into a TiddlyWiki data >>>>>>> folder. >>>>>>> The only way to fix this is to delete or rename the tiddlywiki.info >>>>>>> file. The folder should not be affected otherwise, except it will >>>>>>> probably >>>>>>> have a tiddlers folder created inside it. >>>>>>> >>>>>>> So if you want to make a data folder using a custom tiddlywiki.info >>>>>>> file, just create the directory, enter it, then upload a >>>>>>> tiddlywiki.info file. >>>>>>> >>>>>>> As always, you can download the latest release from >>>>>>> https://github.com/Arlen22/TiddlyServer/releases >>>>>>> >>>>>>> Enjoy! >>>>>>> Arlen >>>>>>> >>>>>>> All praise to Jesus. >>>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "TiddlyWiki" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to tiddlywiki+...@googlegroups.com. >>>>>> To post to this group, send email to tiddl...@googlegroups.com. >>>>>> Visit this group at https://groups.google.com/group/tiddlywiki. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/tiddlywiki/ce8c14c9-9099-4bbf-b753-8c68e4dc94c5%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/tiddlywiki/ce8c14c9-9099-4bbf-b753-8c68e4dc94c5%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "TiddlyWiki" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to tiddlywiki+...@googlegroups.com. >>>> To post to this group, send email to tiddl...@googlegroups.com. >>>> Visit this group at https://groups.google.com/group/tiddlywiki. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/tiddlywiki/6ba73793-b232-407c-9730-24660977ee2a%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/tiddlywiki/6ba73793-b232-407c-9730-24660977ee2a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to tiddlywiki+...@googlegroups.com <javascript:>. >> To post to this group, send email to tiddl...@googlegroups.com >> <javascript:>. >> Visit this group at https://groups.google.com/group/tiddlywiki. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/8f0a4158-53c5-4d03-8849-ac8eed73bd6a%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/8f0a4158-53c5-4d03-8849-ac8eed73bd6a%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to this group, send email to tiddlywiki@googlegroups.com. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/cc771682-89de-490d-a8d6-e072f2a292b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.