[dokuwiki] Re: Embedded HTML Plugin

2007/6/18, Myron Turner <turnermm02@xxxxxxx>:

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.


The current status is that the files are expanded in place
(plugins\htmlOKay) and
on opening dokuWiki, I get these messages. I haven't yet configured anything
on the
Access Manager nor used the plugin functions on any page.

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.


The same messages when I open the Access Manager (as expected).

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.


So braving this message, I went on to set some settings for a page and save
them.
Brps...
No more messages for this and other pages. Guess it's gone... somewhere.
Sorry about all the fuss.

Thank you very much for your prompt replies !
Greetings from France.

Other related posts: