I have been been attempting to install a number of Plugins for DokuWiki using the Plugin manager (Hit the Admin button, then select Manage Plugins). Two problems have come up.
1) To install a new plugin (for example the blog plugin) one needs to enter a website address in the URL box and hit the download box. When I do this I get a message saying DokuWiki is unable to download the plugin file. For the blog plugin there are 2 versions of the plugin for download, blog.tgz and blog.zip. I get the same message for both:
"Unable to download the plugin file: http://www.qwik.ch/media/blog.zip"
"Unable to download the plugin file: http://www.qwik.ch/media/blog.tgz"
I know that both files are present, as I've also downloaded them to my hard-drive. Further I'm logged into DokuWiki as the administrator so I don't think the reason why I cannot install plugins is due to permissioning in DokuWiki.
The Plugin Manager says that to be able to download and install a plugin "your plugin folder must be writeable by the webserver". Unfortunately I don't know how to check that this is the case, and if it is not I don't know how to make the folder writeable by the webserver.
Also, I assume that the correct file type to download for plugins is the blog.tgz file since I'm running the JumpBox DokuWiki in VMware Player and so it is running in a Unix/Linux environment. Is this in fact the correct filetype to download?
2) Some of the addins for DokuWiki are not in the form of a file for download (for example the Bliki Plugin). Rather they are some text on a web page which one is supposed to copy into a file called syntax.php one creates in a subdirectory of lib/plugins. (In the example one would create a subdirectory lib/plugins/bliki and the put the syntax.php file into that directory).
How does one install the plugin in these cases?
Thanks for any help in solving these two problems,
Adam.
13h25 BST 2007-10-27
Plugins for DokuWiki
Hi Adam,
I confirm the problem you see with the TGZ file, and we will look into that. However, strangely enough, if you try installing with the zip file, it works fine. Could be a problem on the JumpBox side, or perhaps there is a problem with the .tgz file itself. The JumpBox should be able to handle both tgz and zip files. Oh, make sure you are using the latest Dokuwiki JumpBox, 1.0.2.
As for number two, once you have registered your JumpBox you would have to enable shell access then SSH in as the admin user and manually install the plugin following the instructions either with the plugin or on the dokuwiki site. The main thing you need to know is that the DokuWiki software is in /var/data/dokuwiki/ and /var/data/dokuwiki-support/ directories. From the looks of it, most plugins will be installed in /var/data/dokuwiki/lib/plugins/.