I don't know if this helps or matters, but I ended up with this in the 
PHP.ini file:

upload_max_filesize = 8M
post_max_size=10M
max_execution_time=240

and this in the htaccess file (called .htaccess on some systems)

php_value upload_max_filesize 4M
php_value post_max_size 6M

I would definitely start my tests with a smaller file, in case size matters.

Good luck,
Mark

On Tuesday, September 19, 2017 at 11:57:48 AM UTC-7, Antonio Mikulić wrote:
>
> Hi,
>
> I also have some issues with autosaving on selfhosted TW.
> I uploaded 2 files ( store.php and index.html) on the server. 
> In saving my setup looks like:
> Wikiname: Usernameisetinphpstore
> Password: PasswordIsetinphpstore
> ServerURL: wiki.hostname.xyz/store.php 
>
> As I press Save, it says: Starting to save wiki
> but nothing happens afterwards.
>
> I set permissions 777 to folder and these 2 files ( I am aware of security 
> concerns, this is just testing VPS), and put max_upload_size to 20MB in 
> php.ini.
> Do you have any other suggestion?
>
>
> On Monday, 18 September 2017 19:03:29 UTC+2, Lost Admin wrote:
>>
>>
>>
>> On Thursday, January 8, 2015 at 4:40:44 PM UTC-5, RichShumaker wrote:
>>>
>>> ...
>>> I changed the permissions on my server folder to 777(probably overkill 
>>> and not wise should only need a change to the store.php file).
>>> Once I changed permissions it worked and boom goes the dynamite I am up 
>>> and running.
>>> ...
>>>
>>
>> And in a little while, boom goes the hacker as they take over your server.
>>
>> The store.php file should be readable by the system user account that you 
>> web server runs under (typically www). In most cases it should not need to 
>> be executable (but might be needed if PHP is being picky). It should most 
>> definitely NOT be writable by the www user.
>>
>> The directory that you put the tiddlywiki file in needs to be both 
>> readable and writable by the system user account that your web server run 
>> under. This allows store.php to actually write the file. It will also allow 
>> store.php (or any other process run under that user account) to write any 
>> file at all to that directory.
>>
>> In theory, you could make only the specific tiddlywiki file (and the 
>> backup directory that store.php keeps old versions) writable but not the 
>> directory that the main file is actually stored in. I haven't tried this.
>>
>>

-- 
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/ece8ce4c-ef43-4baf-9027-ed58f2792b5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to