can not update tiddlywiki via php, on a password protected folder in cpanel

93 views
Skip to first unread message

Mobil Home

unread,
Jan 12, 2018, 12:01:52 AM1/12/18
to tiddl...@googlegroups.com
I get the saving message, but the saved confirmation never arrives and the file will never be saved.
It's a folder password protected with cpanel. 
If I disable the password protection for the folder, saving works.
Can anyone figure a solution for this?

Mark S.

unread,
Jan 12, 2018, 10:36:33 AM1/12/18
to TiddlyWiki
I'm sure someone will be along who knows more, but I'd check to make sure that I don't have a plugin or setting that prevents saving of cookies on the site.

Good luck
-- Mark

xanato...@gmail.com

unread,
Jan 12, 2018, 1:28:14 PM1/12/18
to TiddlyWiki
Hello Mobil Home,

does the php script know that the folder is password protected?
or can it be that a .htaccess rule is then set that prevents this process?

Good Luck,
- Quaraman

Mobil Home

unread,
Jan 12, 2018, 1:39:58 PM1/12/18
to tiddl...@googlegroups.com
Hello Quaraman,

no the .php file doesn't know that it's in a password protected folder, it doesn't know anything about the .htaccess file.

How should I modify the .php file, to make saving work in a password protected folder? It's hosted on Linux, I password protected the folder with CPanel.

Jeremy Ruston

unread,
Jan 13, 2018, 8:33:51 AM1/13/18
to TiddlyWiki
Hi Mobil

I'm afraid I don't have any experience with PHP servers.

> If I disable the password protection for the folder, saving works.

With saving working, can you report on the message you see in the browser developer console when saving? It should be something like: "saver-handler: Saving wiki with method save through saver download"

Best wishes

Jeremy

xanato...@gmail.com

unread,
Jan 13, 2018, 3:48:07 PM1/13/18
to TiddlyWiki
Hello Mobil,

I do not know cpanel.

But when I understand it right you need to create an alternative Tiddly Saver.
Because you must send not only the Tiddlywiki Data but also the username and password for your cpanel account.

Best wishes
QuaraMan

Mobil Home

unread,
Jan 13, 2018, 6:21:56 PM1/13/18
to TiddlyWiki
the message is: saver-handler: Saving wiki with method autosave through saver upload

But even without password protecting the folder in cpanel, saving is not working now.

After the "starting to save wiki" message comes no confirmation message, and the save button stays red.

After I enter my tiddlywiki saver password, I never press the save button to "save" that password, but that Is I suppose, is not necessary.

What could be the problem?

If it's able to start the saving process, why is it not able to finish it?




Reply all
Reply to author
Forward
0 new messages