Thanks Sendwheel,
I possibly have enough knowledge to be dangerous, but not to get this
working. Perhaps you could extend the instructions a little to help me
I do not yet have it working, I create a new tiddler then select the save
icon which say its started saving the returns Error while saving:
*Error:*
*Server Error: Authentication Failure*
I uploaded a Wiki to the host without the TW Receiver enabled otherwise I
could not save it locally.
I then go to the served wiki in the browser and enable it, then try and
save it with the above result.
The server URL is by default tw-receiver-server.php
I tried https://psat.com.au/tiddlywiki/tw-receiver-server.php with no
effect
So I discovered the instructions make no mention of placing the following
"components" anywhere
- tw-receiver-config.ini
- tw-receiver-handler-comp.js
- tw-receiver-ui-comp.tw
So I uploaded tw-receiver-config.ini to my home/root directory
- However I am not so sure how to provide the secret key, is it encoded?
I put it in as entered in the wiki
- Then set $extSecKeyPath = ../../tw-receiver-config.ini; (Public_html
then "root" folder, ie up 2 levels)
- Then set the password (I have not being prompted for this anywhere)
- The wiki is not saving but I have not received the *Error: **Server
Error: Authentication Failure* again
- The Debug was not working and I found the following error
[06-Sep-2018 12:24:06 Australia/Melbourne] PHP Parse error: syntax
error, unexpected '.' in
/home2/psatadmin/public_html/tiddlywiki/tw-receiver-server.php on line 19
I changed this to $extSecKeyPath = "/tw-receiver-config.ini;" unlike the
// Example: $extSecKeyPath = "../privatedir/tw-receiver-config.ini"
*The state of play*
- *I am getting *Error while saving: Error: Server Error: Authentication
Failure
with external key reachable NOI expect its my path to the
tw-receiver-config.ini
Or not placing the tw-receiver-handler-comp.js and
tw-receiver-ui-comp.tw files where they belong.
*Where if anywhere, should I place ?*
- tw-receiver-handler-comp.js
- tw-receiver-ui-comp.tw
*How do I specifiy the path to *tw-receiver-config.ini* ?*
I have some other trivial Questions, I may ask later.
Thanks
Tony
*Other notes*
I was getting an error in the folders error_log as follows
[06-Sep-2018 01:23:27 UTC] PHP Fatal error: Call to undefined function
random_int() in /home2/psatadmin/public_html/tiddlywiki/tw-receiver-server.php
on line 135
However I switched the php version to 7.2 and it no longer seems to be
occuring
I created a "backups" folder, which did not work until I read
the tw-receiver-server.php and saw it is twbackups The Debug now reports
backups directory exists OK
backups directory is writable OK
this directory is writable
OK
--
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 [email protected].
To post to this group, send email to [email protected].
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/6e665997-4b9c-4d03-a621-562785e43bcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.