mark at ruthtrumpold.id.au
Mon Nov 20 13:22:40 CST 2006
On 17/11/06 12:39 AM, "H. Fox" <haganfox at users.sourceforge.net> wrote:
> On 11/14/06, Lucian Wischik <lu.nn at wischik.com> wrote:
>> Mark Trumpold <mark at ruthtrumpold.id.au> wrote:
>>> I know I sent this out but I still don't get it.
>>> I would like my students to be able to UL a file/image to a folder via the
>>> edit form/page.
>> What I did is edit Site.EditForm, and added this link:
>> Of course when users make edit changs, then click the Upload link
>> without saving, it'll discard the unsaved changes. But hey.
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
That works a charm! But then I get this error
"Warning: mkdir(/qwerty): Permission denied in ..." error.
I have alreay have directory call qwerty/img so how to I sidestep the
mkdir(/qwerty) and just UL to my qwerty/img
This is what I have in my config.php
> $EnableUpload = 1;
> $DefaultPasswords['upload'] = crypt('loikju');
> $UploadDir = "/qwerty/xxxx";
> # $UploadUrlFmt = "http://www.john.com/qwerty/xxxx"
> $EnableUploadOverwrite = 0;
Thanks any advice would be great.
More information about the pmwiki-users