[pmwiki-users] RE : Cannot make uploads to work

Patrick R. Michaud pmichaud at pobox.com
Wed Aug 2 13:51:27 CDT 2006

On Tue, Aug 01, 2006 at 06:55:18PM +0200, Olivier Citeau wrote:
>    May I have some help on these topic ?
>      I could not make the upload feature to work.
>      When I click "Upload" button, it works and the it comes back to the
>      following page :
>      http://ociteau.free.fr/pbwiki/index.php?n=Main.Files

When you say "it works" -- do you mean that the file is
correctly uploaded, or... ?

>      In UploadsAdmin doc they say "Executing PmWiki with uploads enabled will
>      prompt you with the set of steps required to create the uploads
>      directory on your server".
>      But pmWiki does not prompt me !

It will prompt only if the uploads/ directory doesn't exist.  If
the directory exists, then it doesn't need to create it.  :-)

>      Next I create the "uploads" directory : same behaviour
>      If I upload the file with FTP, pmWiki see the file.
>      Unix rights of the "uploads" directory is drwx------
>      I try to change it, but it is not supported by the ftp server, so I
>      cannot change Unix right.

What's the ownership of the uploads/ directory?  For that matter,
what's the ownership of the wiki.d/ directory (they should be the same).

>      Now, I see that "wiki.d" is set as drwxr-xr-x.
>      wiki.d was created by pmwiki, so I can I make pmwiki to prompt me in
>      order to create the uploads directory ?

Just remove the existing uploads directory, and then PmWiki will
prompt for its creation.  (The prompt may appear at the bottom
of the page, though, instead of the top.)


More information about the pmwiki-users mailing list