[dokuwiki] Re: Embedded HTML Plugin

YC Chan wrote:
In File Explorer, I select the directory ~/conf/access, right-button properties, the read only attribute is grayed (not white nor ticked). I unticked it - it becomes white - and validated it for all subdirectories.
Open the properties dialog again, this attribute was like before.

And you get this message about permission denied on line 97 of io.php if you try dokuWiki.

This could be a Windows quirk: in all directories, the Read-only attribute is always gray, even if all files in it are Not Read-only. I also used the line attribut command to make /conf/access writable. The security onglet of properties show that it is total-control to the whole world.

If nothing else helps, Myron can you tell me which like to comment out the write access test ?

One thing I'm not entirely clear about is at what stage this error occurs. In your original post you say:
At the moment, I'm having first use problems on Windows XP. Freshly downloaded (less than 1 hour) and expanded into the lib\plugins\ directory, and not yet configured nor used on any page.
By "not yet configured nor used on any page" do you mean that you've installed it, set up some permissions using the Access Manager, but have not yet tried putting html on any of your pages? The Access Manager needs to be able to write to conf/access.

If it isn't happening when you try to use the Access Manager, then the problem occurs through the action module. The action module needs to be able to read from this directory, so whether or not you've set any permissions yet, it will still have to look in this directory to see whether any permissions have been set. It may be here that the problem is occurring.


In any event, I do think that this sounds like a Windows problem. While I use Windows XP as my everyday machine, all of my work with servers and PHP is with Linux, occasionally Unix. I have, however, seen this kind of problem on windows machines when using Photoshop. It may be that you don't have the right to change the permissions because the governing directory is controlled by the web server. So when you install the plugin manually, you don't get the required permissions. This is just a guess.

But maybe, in fact, the solution is to let Dokuwiki's plugin installer to install htmlOKay. If then you still have problems with permissions, you can write a php script which, if necessary, can be run through your browser for the purpose of changing the directory's permissions. I know this works on Linux machines.


--

_____________________
Myron Turner
http://www.room535.org
http://www.bstatzero.org
http://www.mturner.org/XML_PullParser/


--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: