Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Saving TiddlyWiki 5 to server using store.php

On the server, all in the same directory, and with all permissions set temporarily to 777 (including the directory itself):

  • index.html (a copy of the empty TiddlyWiki)
  • store.php

I have edited the user list in store.php, and checked that the store.php page loads in the browser without errors.

$USERS = array(
    'myuser'=>'mypass', 
    'UserName2'=>'Password2', 
    'UserName3'=>'Password3');

And set the following in the Control Pannel "Saving" tab:

  • Wiki Name: myuser
  • Password: mypass
  • Server URL: http://myhostnoerrors/my_dir/store.php
  • Upload Directory: .
  • Backup Directory: .

When I click the save button (or try to create a new Tiddler), I see the badge "Starting to save wiki" in the upper right, but the save icon stays red, and the file is not updated on my server (even if I refresh).

The "Network" Web Developer Tool in Firefox shows that the POST request is going to the right location and with the right information, but returns a 403 Forbidden error.

What am I doing wrong? Has anyone been able to use store.php successfully with version 5.1.7?

like image 947
Benjamin Avatar asked Mar 02 '15 02:03

Benjamin


1 Answers

Had similar problem on my raspberry pi with an archlinux on it. Solution was to enable apache "Overwrite" setting and replace deprecated "split" by "preg_split" implementation in store.php script.

like image 66
skybiker Avatar answered Oct 14 '22 06:10

skybiker