[pmwiki-users] Uploads
Mark Trumpold
mark at ruthtrumpold.id.au
Tue Nov 21 04:18:04 CST 2006
Yippee ... thank you
On 20/11/06 11:39 PM, "H. Fox" <haganfox at users.sourceforge.net> wrote:
> On 11/20/06, Mark Trumpold <mark at ruthtrumpold.id.au> wrote:
>>
>> 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:
>>>> [[{*$Group}/{*$Name}?action=upload|Upload]]
>>>>
>>>> Of course when users make edit changs, then click the Upload link
>>>> without saving, it'll discard the unsaved changes. But hey.
>>>
>>> Try
>>>
>>> %newwin%[[{*$Group}/{*$Name}?action=upload|Upload]]
>>>
>> Hi Hagan
>>
>> That works a charm! But then I get this error
>>
>> "Warning: mkdir(/qwerty): Permission denied in ..." error.
>>
>> 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";
>
> Then shouldn't the above read
>
>> I have alreay have directory call qwerty/xxxx so...
>
> ? Also, is the qwerty/ directory really at the root level? That would
> be unusual. Maybe try "qwerty/xxxx" without the leading "/".
>
> Hagan
More information about the pmwiki-users
mailing list