Re: TiddlyWiki for single user on shared Linux hosting - please help ?!?

244 views
Skip to first unread message

PMario

unread,
Feb 15, 2013, 3:09:41 PM2/15/13
to TiddlyWiki
Does you hostging provider offer preconfigured packages like eg:
owncloud. Some providers offer single click install pacakges. may be
this can help, as a dropbox replacement.

There are some other howto's, but I can't find the links atm.

Can you name your hosting provider?

-m

smallhagrid

unread,
Feb 15, 2013, 4:37:51 PM2/15/13
to tiddl...@googlegroups.com
Thanks for replying PMario.
You wrote:
Does you hostging provider offer preconfigured packages like eg:
owncloud. Some providers offer single click install pacakges. may be
this can help, as a dropbox replacement.

Can you name your hosting provider?
I have 2 providers ATM because I am getting ready to ditch the one I am very disappointed in which is Semoweb.
The new one is Velocity Central.
They both offer Softaculous; BUT:
If I use Owncloud for TW it will mean that using my TW from a friend's house would require additional s/w on their PC, right ??
I want to use my own TW for adding/aditing it whenever I need to make a note from a browser...

Tobias Beer

unread,
Feb 15, 2013, 8:48:15 PM2/15/13
to tiddl...@googlegroups.com
Does your hosting provide php? If yes, I suggest you try and get store.php and UploadPlugin from BidiX working...

Cheers, Tobias.

smallhagrid

unread,
Feb 17, 2013, 6:40:24 PM2/17/13
to tiddl...@googlegroups.com
My query seems clear and specific to me - but then again I wrote it - is it unclear to others ???
I am not a coder, don't know enough about making changes in code to edit these files without help, and I'd be seriously surprised if someone who knows more than I do hasn't already broken through what looks like a barrier in using TW on ordinary, cheap hosting ?!?

On Friday, February 15, 2013 1:26:24 PM UTC-5, smallhagrid wrote:
I have some pretty ordinary (paid) shared hosting and I'd like to use/edit/save TW on that from wherever I may be.
(I do want it on my own web-space, preferably PW protected and not on any service via some other site...)

After looking around I've found mention of doing this, and searching here shows me that many seem to be doing this, but searching also returns a bazillion entries without the info I need...

My efforts in doing this for myself have all failed thus far.

Please, please, please=> would someone provide simple & explicit instructions for using TW this way for me ?!?

Whether it needs a database or not is fine with me, but I am not any sort of coder and cannot even seem to get the syntax of the entries right in the file 'tiddly_conf.php' which is used in one version I found and all I can get it to do looks like this:
"PhpTiddlyWiki Install

Beginning database install now...Attempting to connect to database server... Access denied for user '_tiddly'@'localhost' (using password: YES)"

It looks like I should be able to make this work by merely editing 4 fields, but I cannot seem to get it right no matter what !!!

Thanks.

PMario

unread,
Feb 18, 2013, 8:54:51 AM2/18/13
to TiddlyWiki
On 18 Feb., 00:40, smallhagrid <smallhagridi...@yahoo.com> wrote:
> My query seems clear and specific to me - but then again I wrote it - is it
> unclear to others ???
> I am not a coder, don't know enough about making changes in code to edit
> these files without help, and I'd be seriously surprised if someone who
> knows more than I do hasn't already broken through what looks like a
> barrier in using TW on ordinary, cheap hosting ?!?
Hi smallhagrid,

You ask for step by step instructions, for hosting providers, but
don't provide links to find them.

>The new one is Velocity Central.
I needed to search google to find http://velocitycentral.net/ which is
just a guess. Now I have to have a look at there shard hosting plans
http://www.velocitycentral.net/sharedhosting.php and probably you have
one of those. Let's guess you have the "bronze" plan.

It has "softaculous" and some more info. They seem to use cPanel as
the management software http://cpanel.net/ which is used by many
providers. I don't know it, so I'm out of the race. As "Velocity
Central" doesn't offer a free plan, testing is not possible for me.
step by step is out of the race. May be others jump in here.

>They both offer Softaculous; BUT:
http://www.softaculous.com/ is a guess too. TW is no softaculous
package, so this is not an option.

The problem here is, all of the above is just guess work. May be I'm
right, may be I'm wrong. Probably there is nobody hosting there TWs
with this provider. This may be a reason, why you don't get an
answere.

I can just point you to TW in the sky:

Jeremy Ruston has released TiddlyWiki in the Sky with Dropbox. This
may be an option, because dropbox has a free plan. You can test it, if
it fits you needs.
https://groups.google.com/group/tiddlywiki/browse_thread/thread/8e9559aae2b4ec49

some more info:
https://groups.google.com/group/tiddlywiki/browse_thread/thread/768a354c4f602b64
https://groups.google.com/group/tiddlywiki/browse_thread/thread/757b89b270fc22bc

-mario

Måns

unread,
Feb 18, 2013, 9:12:01 PM2/18/13
to tiddl...@googlegroups.com

Måns

unread,
Feb 18, 2013, 9:49:25 PM2/18/13
to tiddl...@googlegroups.com
I'm aware of the fact that you want password protection.
BidiX's TiddlyHome package allows you to create and protect your wikis with passwords.

If you want to upgrade the base tw-templates or use templates with other themes - I can help you set it up.

TiddlyHome is purely php-based and it doesn't need any database backend...



Cheers Måns Mårtensson

Den tirsdag den 19. februar 2013 03.12.01 UTC+1 skrev Måns:hat

Måns

unread,
Feb 18, 2013, 9:57:55 PM2/18/13
to tiddl...@googlegroups.com
I've created a test user: tester pasword: tester

Try logging in as tester here: http://xn--mns-ula.dk/TWsOS/test/ 

Tester can create new sites here: http://xn--mns-ula.dk/TWsOS/#TiddlyHome
- or you can create a new user - and more sites...

It's just a sandbox - so don't expect that any pages or changes you make will be there next time you visit the address..

Cheers Måns Mårtensson

mark

unread,
Feb 18, 2013, 11:16:29 PM2/18/13
to tiddl...@googlegroups.com
Thank You Very Much Måns Mårtensson for such wonderfully helpful answers !!!

I am at work now.
I will visit and try these things tomorrow after I have returned from work and rested.
It is a great thing to look forward to.

Måns

unread,
Feb 19, 2013, 8:15:07 AM2/19/13
to tiddl...@googlegroups.com
Hi smallhagrid

Here's a better link: http://xn--mns-ula.dk/TWsOS/tiddlyhome/ (if http://måns.dk/TWsOS loads to slowly) .
I've setup a couple of sites, to demonstrate that you can upload, and import tiddlers into TiddlyHome hosted TiddlyWikis:
1) test http://xn--mns-ula.dk/TWsOS/test/ which uses the mineraltheme by Bauwe Bijl and has fckEditor working.
1.1) I made mineraltheme available as a template for this tiddlyhome service.
2) test2 http://xn--mns-ula.dk/TWsOS/test2/ is an updated version of Eric Shulman's quickstart document Pasteup - also with fckEditor working.
2.2) I imported the pasteup document from the backstage of a TiddlyHome vanilla-template. 
3) test3 http://xn--mns-ula.dk/TWsOS/test3/ is a plain/vanilla TiddlyWiki.
4) What you get if you create a new empty site. (with TiddlyFileImportr by Jon and fckEditor working.

All sites can be edited/viewed as user: tester pswd: tester.

Enjoy Måns Mårtensson

smallhagrid

unread,
Feb 19, 2013, 4:49:27 PM2/19/13
to tiddl...@googlegroups.com
Thank you very much Måns for such helpful info !!!

What is at this link is perfect for me:

3) test3 http://xn--mns-ula.dk/TWsOS/test3/ is a plain/vanilla TiddlyWiki.

I also see in that other posting you referred me to, this text:
However if all you want is to place your TW on your own server and be
able to save changes online - here's a quick way to do it:
Go to http://xn--mns-ula.dk/TWWEB/
Download the zip package
Extract files
Adjust usernames and passwords in store.php
Upload files to a directory on your server
Open your TW via http
Save changes via the backstage menu: "upload"
Now I ask, please:
To use the plain TiddlyWiki here=> http://xn--mns-ula.dk/TWsOS/test3/

What steps do I use to download it, make whatever changes are needed, and use it from my own hosting ??

Perhaps my query is redundant - if so I apologize - I want to be sure to understand what I need to do before I try to do it this time.

Again - Thank You Very, Very Much !!!

Måns

unread,
Feb 19, 2013, 5:27:35 PM2/19/13
to tiddl...@googlegroups.com
Hi smallhagrid

Now I ask, please:
To use the plain TiddlyWiki here=> http://xn--mns-ula.dk/TWsOS/test3/

What steps do I use to download it, make whatever changes are needed, and use it from my own hosting ??

If you want to have the functionalities a TiddlyHome service has to offer:

1) Ability to create new sites and users
2) Password protect wikis (setting: private) 
3) Group editing (allow a group of users to edit the same wiki)

- then you will have to download BidiX's TiddlyHome package (zip) from here: http://tiddlyhome.bidix.info/#%5B%5BDownload%20and%20install%20package%5D%5D

"To install TiddlyHome to your own site :
1 download the full package
2 unzip and move the TiddlyHome folder in its final location
3 go to this file at your own new TiddlyHome at Initialize your own TiddlyHome"

If you want the exact same "empty-template" for new sites/wikis, I use on on my sandbox -
download it here (right click > save as):  http://xn--mns-ula.dk/TWsOS/_th/templates/empty.html
It is tw ver. 2.7.0 and has three additional plugins installed:

1) fckEditorPlugin
2) HTMLFormattingPlugin
2) TiddlyFileImportr

To make FckEditor work in your own installation of TiddlyHome, you'll need to upload a folder with FckEditor to the root folder of your TiddlyHome installation.
The template I made is setup to use FckEditorPlugin from one level above the actual document (relative link: "../fckeditor/").
If you already have fckEditor installed at your host, and want to use it in your wiki documents, you'll need to make changes to reflect the location of the FckEditor's folder in two tiddlers:
1) MarkupPreHead
2) FCKeditorPlugin

Enjoy Måns Mårtensson

smallhagrid

unread,
Feb 19, 2013, 5:57:27 PM2/19/13
to tiddl...@googlegroups.com
Thank You Måns, that is Fantastic (It's clear enough even for a dummy like me !!!).

My current webhost has enabled a security restriction called suphp in their server, and it only allows permissions for folders of 755 and for files, 644 - is that a problem for using this as you've shown me on that hosting please ??
(I tried using 777 on my last test and it resulted in '500 internal server errors' which they had to correct.)

Måns

unread,
Feb 19, 2013, 9:54:57 PM2/19/13
to tiddl...@googlegroups.com
Hi smallhagrid
 

My current webhost has enabled a security restriction called suphp in their server, and it only allows permissions for folders of 755 and for files, 644 - is that a problem for using this as you've shown me on that hosting please ??
(I tried using 777 on my last test and it resulted in '500 internal server errors' which they had to correct.)

I don't know.
When you initialize TiddlyHome it will (must be able to) write 4 files:
.htaccess
.htgroup
.htpasswd

are written to the "/_th/admin/" folder and

config.php

is written to the "/_th/lib/" folder.

On the http://www.suphp.org/FAQ.html site it says:

"Can I use the php_value directives in .htaccess files with suPHP?
suPHP does not support the php_value/php_admin_value directive known by mod_php to parse configuration options to scripts for certain virtual hosts or directories. However there is a PECL extension named htscanner that can be used with PHP CGI (called by suPHP) to parse such options being present in .htaccess files. Be sure to take a look at the README file provided with the htscanner distribution on how to make Apache ignore the php_value directives in .htaccess files instead of throwing an error. "

Maybe it will work - even if it throws some error-messages at the top of the iframed php forms ....?

Please tell how and if you make it work.

Good luck.

Cheers Måns Mårtensson

tiddlygrp

unread,
Feb 20, 2013, 10:39:51 AM2/20/13
to tiddl...@googlegroups.com


Hi,

the problem with the simple php server code is security.  The code transmits passwords in clear form.  A much easier solution would be if TW supported webdav for saving.  Then you could host you TW on any provider supporting webdav (a lot do out of the box, also diy solutions like owncloud, and cloud solutions like dropbox).

It also requires you to manage your php.  If you are a newbie it can become complex to do well.

tiddlygrp

mark

unread,
Feb 20, 2013, 5:13:10 PM2/20/13
to tiddl...@googlegroups.com
Hi, and thanks for replying.

As of this minute:
With the kind assistance of Måns in this group, I have one mostly working 100% online.
I have yet to master the sidebar choices and may simply shut off the left sidebar, using the search instead.
WYSIWYG editing is also not working, and I hope to fix that somehow...

Thanks.

mark

unread,
Feb 20, 2013, 11:16:11 PM2/20/13
to tiddl...@googlegroups.com
Hello Måns and other TW Folks.
As I posted elsewhere, I will do my best to explain here how I stumbled through getting TW working more-or-less correctly online with saving, etc - all on my own hosted space.

I collected and carefully examined all the generous help I'd gotten from Måns here.

Then I downloaded BidiX's TiddlyHome package from: http://tiddlyhome.bidix.info/

Uploaded/extracted it into my hosted space.

Initialized TiddlyHome successfully after changing permissions there.

Since it configured .htaccess, .htgroup and .htpasswd for me, access was already protected.

BUT=> there I got stuck because I found no simple 1..2..3...etc... guide on what the steps are for just making a single-user TiddlyHome setup.

So I already had a copy of a very nice TW from here: http://xn--mns-ula.dk/TWsOS/test3/
Courtesy also of Måns - so I uploaded that into the same space.

It needed a copy of FCKEditor inserted - so I tried that eleventy-seven ways, and all failed.

It was also trying to save to Måns' URL - so I searched for it within the TW and replaced it with mine.
Diddled around with that and other stuff for a while, and kazam - it started saving just fine - but instead of where I pointed it, it adds _th/admin and re-names it's saves to 'index.html'.
This is no biggie for me, but I will at some point fix that too.

I also wanted to eliminate the space-using big blue header, and that is now done.

Found and added the breadcrumbs plugin by Jack.

All that remains now, really - is hopefully make FCKEditor work somehow and get a control for hiding the left sidebar.

And that, good and helpful Folks is how I got it to work online for my private uses.

Thanks for the great help Måns and other Folks !!!
Reply all
Reply to author
Forward
0 new messages